about summary refs log tree commit diff
path: root/pkgs/by-name/zu/zug/package.nix
blob: 0c03178b3504dadf4ef8935cbf40079649f76c7c (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
{ lib
, stdenv
, fetchFromGitHub
, cmake
, boost
}:


stdenv.mkDerivation rec {
  pname = "zug";
  version = "0.1.0";
  src = fetchFromGitHub {
    owner = "arximboldi";
    repo = "zug";
    rev = "v${version}";
    hash = "sha256-7xTMDhPIx1I1PiYNanGUsK8pdrWuemMWM7BW+NQs2BQ=";
  };
  nativeBuildInputs = [
    cmake
  ];
  buildInputs = [
    boost
  ];
  cmakeFlags = [
    "-Dzug_BUILD_EXAMPLES=OFF"
  ];
  meta = with lib; {
    homepage    = "https://github.com/arximboldi/zug";
    description = "library for functional interactive c++ programs";
    maintainers = with maintainers; [ nek0 ];
    license     = licenses.boost;
  };
}