plog: init at 1.1.9

This commit is contained in:
Alexandre Iooss 2023-06-20 21:26:59 +02:00
parent 2f91f7d1c9
commit aab854c95e
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "plog";
version = "1.1.9";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "SergiusTheBest";
repo = pname;
rev = version;
hash = "sha256-CARTr1EEqXNJtp6XwHhr7aiRBiYR0cClzexpNCMaQJc=";
};
strictDeps = true;
nativeBuildInputs = [
cmake
];
cmakeFlags = [
"-DPLOG_BUILD_SAMPLES=NO"
];
meta = with lib; {
description = "Portable, simple and extensible C++ logging library";
homepage = "https://github.com/SergiusTheBest/plog";
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ raphaelr erdnaxe ];
};
}

View file

@ -8486,6 +8486,8 @@ with pkgs;
pixz = callPackage ../tools/compression/pixz { };
plog = callPackage ../development/libraries/plog {};
plplot = callPackage ../development/libraries/plplot {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};