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.

41 lines
762 B
Nix
Raw Normal View History

2023-10-15 01:53:57 +00:00
{ lib
, stdenv
2023-10-15 01:56:35 +00:00
, fetchFromGitHub
2023-10-15 01:53:57 +00:00
, cmake
, pkg-config
, boost
, immer
, zug
2023-10-15 01:56:35 +00:00
}:
stdenv.mkDerivation (finalAttrs: {
2023-10-15 01:56:35 +00:00
pname = "lager";
version = "0.1.0";
2023-10-15 01:56:35 +00:00
src = fetchFromGitHub {
owner = "arximboldi";
2023-10-15 01:53:57 +00:00
repo = "lager";
rev = "v${finalAttrs.version}";
2023-10-15 01:56:35 +00:00
hash = "sha256-KTHrVV/186l4klwlcfDwFsKVoOVqWCUPzHnIbWuatbg=";
};
2023-10-15 01:56:35 +00:00
buildInputs = [
boost
immer
zug
];
nativeBuildInputs = [
cmake
];
cmakeFlags = [
"-Dlager_BUILD_EXAMPLES=OFF"
];
meta = {
homepage = "https://github.com/arximboldi/lager";
2023-10-15 01:53:57 +00: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 01:56:35 +00:00
};
})