nixpkgs/pkgs/by-name/pa/pagsuite/package.nix

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

41 lines
755 B
Nix
Raw Normal View History

2024-11-15 23:29:29 +00:00
{
lib,
stdenv,
fetchurl,
cmake,
unzip,
gmp,
scalp,
2022-09-28 17:51:05 +00:00
}:
stdenv.mkDerivation rec {
pname = "pagsuite";
version = "1.80";
2023-01-17 01:24:12 +00:00
src = fetchurl {
2024-11-15 23:29:29 +00:00
url = "https://gitlab.com/kumm/pagsuite/-/raw/master/releases/pagsuite_${
lib.replaceStrings [ "." ] [ "_" ] version
}.zip";
2023-01-17 01:24:12 +00:00
hash = "sha256-TYd+dleVPWEWU9Cb3XExd7ixJZyiUAp9QLtorYJSIbQ=";
2022-09-28 17:51:05 +00:00
};
2024-11-15 23:29:29 +00:00
sourceRoot = "pagsuite_${lib.replaceStrings [ "." ] [ "_" ] version}";
2023-01-17 01:24:12 +00:00
2022-09-28 17:51:05 +00:00
nativeBuildInputs = [
cmake
2023-01-17 01:24:12 +00:00
unzip
2022-09-28 17:51:05 +00:00
];
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;
};
}