Skip to content

Commit

Permalink
prometheus-cpp: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
tobim committed Dec 8, 2024
1 parent d274b40 commit 36e312c
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions pkgs/by-name/pr/prometheus-cpp/package.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, gbenchmark
, gtest
, civetweb
, zlib
, curl
{
lib,
stdenv,
fetchFromGitHub,
cmake,
civetweb,
curl,
gbenchmark,
gtest,
zlib,
}:

stdenv.mkDerivation rec {
Expand All @@ -21,16 +22,24 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ cmake ];
buildInputs = [ gbenchmark gtest zlib curl ];
buildInputs = [
curl
gbenchmark
gtest
zlib
];
propagatedBuildInputs = [ civetweb ];
strictDeps = true;

cmakeFlags = [
"-DUSE_THIRDPARTY_LIBRARIES=OFF"
"-DBUILD_SHARED_LIBS=ON"
"-DUSE_THIRDPARTY_LIBRARIES=OFF"
];

outputs = [ "out" "dev" ];
outputs = [
"out"
"dev"
];

postInstall = ''
mkdir -p $dev/lib/pkgconfig
Expand Down

0 comments on commit 36e312c

Please sign in to comment.