nixpkgs/pkgs/by-name/zu/zug/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
648 B
Nix
Raw Normal View History

2023-10-15 01:53:57 +00:00
{ lib
, stdenv
, pkgs
, fetchFromGitHub
, cmake
, boost
2023-10-15 01:58:01 +00:00
}:
stdenv.mkDerivation rec {
pname = "zug";
version = "0.1.0";
src = fetchFromGitHub {
owner = "arximboldi";
2023-10-15 01:53:57 +00:00
repo = "zug";
2023-10-15 01:58:01 +00:00
rev = "v${version}";
hash = "sha256-7xTMDhPIx1I1PiYNanGUsK8pdrWuemMWM7BW+NQs2BQ=";
};
2023-10-15 01:53:57 +00:00
nativeBuildInputs = [
2023-10-15 01:58:01 +00:00
cmake
2023-10-15 01:53:57 +00:00
];
buildInputs = [
2023-10-15 01:58:01 +00:00
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;
};
}