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 rec {
|
|
|
|
pname = "lager";
|
|
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "arximboldi";
|
2023-10-15 03:53:57 +02:00
|
|
|
repo = "lager";
|
2023-10-15 03:56:35 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-KTHrVV/186l4klwlcfDwFsKVoOVqWCUPzHnIbWuatbg=";
|
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
immer
|
|
|
|
zug
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
cmakeFlags = [
|
|
|
|
"-Dlager_BUILD_EXAMPLES=OFF"
|
|
|
|
];
|
|
|
|
meta = with lib; {
|
|
|
|
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++";
|
2023-10-15 03:58:01 +02:00
|
|
|
license = licenses.mit;
|
2023-10-15 03:56:35 +02:00
|
|
|
maintainers = with maintainers; [ nek0 ];
|
|
|
|
};
|
|
|
|
}
|