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

41 lines
762 B
Nix
Raw Normal View History

2023-10-15 03:53:57 +02:00
{ lib
, stdenv
2023-10-15 03:56:35 +02:00
, fetchFromGitHub
2023-10-15 03:53:57 +02:00
, cmake
, pkg-config
, boost
, immer
, zug
2023-10-15 03:56:35 +02:00
}:
stdenv.mkDerivation (finalAttrs: {
2023-10-15 03:56:35 +02:00
pname = "lager";
version = "0.1.0";
2023-10-15 03:56:35 +02:00
src = fetchFromGitHub {
owner = "arximboldi";
2023-10-15 03:53:57 +02:00
repo = "lager";
rev = "v${finalAttrs.version}";
2023-10-15 03:56:35 +02:00
hash = "sha256-KTHrVV/186l4klwlcfDwFsKVoOVqWCUPzHnIbWuatbg=";
};
2023-10-15 03:56:35 +02:00
buildInputs = [
boost
immer
zug
];
nativeBuildInputs = [
cmake
];
cmakeFlags = [
"-Dlager_BUILD_EXAMPLES=OFF"
];
meta = {
homepage = "https://github.com/arximboldi/lager";
2023-10-15 03:53:57 +02:00
description = "C++ library for value-oriented design using the unidirectional data-flow architecture Redux for C++";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nek0 ];
2023-10-15 03:56:35 +02:00
};
})