about summary refs log tree commit diff
path: root/pkgs/by-name/la/lager/package.nix
blob: 11b7595fcccb3aa1dbda3f051fcc0a4f948d717b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, boost
, immer
, zug
}:

stdenv.mkDerivation rec {
  pname = "lager";
  version = "0.1.0";
  src = fetchFromGitHub {
    owner = "arximboldi";
    repo = "lager";
    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";
    description = "C++ library for value-oriented design using the unidirectional data-flow architecture — Redux for C++";
    license     = licenses.mit;
    maintainers = with maintainers; [ nek0 ];
  };
}