depot/third_party/nixpkgs/pkgs/by-name/zu/zug/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

34 lines
648 B
Nix

{ lib
, stdenv
, pkgs
, 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;
};
}