nixpkgs/pkgs/by-name/la/lager/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
728 B
Nix
Raw Normal View History

2023-10-15 01:56:35 +00:00
{ callPackage, stdenv, lib
, fetchFromGitHub
, boost, immer, zug
, pkg-config, cmake
}:
stdenv.mkDerivation rec {
pname = "lager";
version = "0.1.0";
src = fetchFromGitHub {
owner = "arximboldi";
repo = pname;
rev = "v${version}";
hash = "sha256-KTHrVV/186l4klwlcfDwFsKVoOVqWCUPzHnIbWuatbg=";
};
buildInputs = [
boost
immer
zug
];
nativeBuildInputs = [
cmake
];
cmakeFlags = [
"-Dlager_BUILD_TESTS=OFF"
"-Dlager_BUILD_EXAMPLES=OFF"
];
meta = with lib; {
homepage = "https://github.com/arximboldi/lager";
description = "library for functional interactive c++ programs";
2023-10-15 01:58:01 +00:00
license = licenses.mit;
2023-10-15 01:56:35 +00:00
maintainers = with maintainers; [ nek0 ];
};
}