depot/third_party/nixpkgs/pkgs/development/libraries/plog/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

36 lines
718 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "plog";
version = "1.1.10";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "SergiusTheBest";
repo = pname;
rev = version;
hash = "sha256-NZphrg9OB1FTY2ifu76AXeCyGwW2a2BkxMGjZPf4uM8=";
};
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 ];
};
}