Files
nixpkgs/pkgs/by-name/zu/zug/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
943 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
boost,
catch2,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "zug";
version = "0.1.1";
src = fetchFromGitHub {
owner = "arximboldi";
repo = "zug";
tag = "v${finalAttrs.version}";
hash = "sha256-Ti0EurhGQgWSXzSOlH9/Zsp6kQ/+qGjWbfHGTPpfehs=";
};
patches = [
(fetchpatch {
url = "https://github.com/arximboldi/zug/commit/c8c74ada30d931e40636c13763b892f20d3ce1ae.patch";
hash = "sha256-0x+ScRnziBeyHWYJowcVb2zahkcK2qKrMVVk2twhtHA=";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [
boost
catch2
];
cmakeFlags = [ "-Dzug_BUILD_EXAMPLES=OFF" ];
preConfigure = ''
rm BUILD
'';
meta = {
homepage = "https://github.com/arximboldi/zug";
description = "Library for functional interactive c++ programs";
maintainers = with lib.maintainers; [ nek0 ];
license = lib.licenses.boost;
};
})