Unverified Commit 483e30ac authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #238806 from erdnaxe/plog

plog: init at 1.1.9
parents d77c6e5e aab854c9
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8524,6 +8524,8 @@ with pkgs;
  pixz = callPackage ../tools/compression/pixz { };
  plog = callPackage ../development/libraries/plog {};
  plplot = callPackage ../development/libraries/plplot {
    inherit (darwin.apple_sdk.frameworks) Cocoa;
  };