Files
nixpkgs/pkgs/by-name/pa/pagsuite/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

50 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchurl,
fetchpatch,
cmake,
unzip,
gmp,
scalp,
}:
stdenv.mkDerivation rec {
pname = "pagsuite";
version = "1.80";
src = fetchurl {
url = "https://gitlab.com/kumm/pagsuite/-/raw/master/releases/pagsuite_${
lib.replaceStrings [ "." ] [ "_" ] version
}.zip";
hash = "sha256-TYd+dleVPWEWU9Cb3XExd7ixJZyiUAp9QLtorYJSIbQ=";
};
patches = [
# Fix issue with latest ScaLP update
(fetchpatch {
url = "https://gitlab.com/kumm/pagsuite/-/commit/cae9f78bec93a7f197461358f2f796f6b5778781.patch";
hash = "sha256-12IisS6oGYLRicORTemHB7bw9EB9cuQjxG8f6X0WMrU=";
})
];
sourceRoot = "pagsuite_${lib.replaceStrings [ "." ] [ "_" ] version}";
nativeBuildInputs = [
cmake
unzip
];
buildInputs = [
gmp
scalp
];
meta = with lib; {
description = "Optimization tools for the (P)MCM problem";
homepage = "https://gitlab.com/kumm/pagsuite";
maintainers = with maintainers; [ wegank ];
license = licenses.unfree;
};
}