2022-09-30 11:47:45 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2023-02-02 18:25:31 +00:00
|
|
|
, fetchurl
|
2022-09-30 11:47:45 +00:00
|
|
|
, cmake
|
2023-02-02 18:25:31 +00:00
|
|
|
, unzip
|
2022-09-30 11:47:45 +00:00
|
|
|
, gmp
|
|
|
|
, scalp
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pagsuite";
|
|
|
|
version = "1.80";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchurl {
|
2022-09-30 11:47:45 +00:00
|
|
|
url = "https://gitlab.com/kumm/pagsuite/-/raw/master/releases/pagsuite_${lib.replaceStrings ["."] ["_"] version}.zip";
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha256-TYd+dleVPWEWU9Cb3XExd7ixJZyiUAp9QLtorYJSIbQ=";
|
2022-09-30 11:47:45 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
sourceRoot = "pagsuite_${lib.replaceStrings ["."] ["_"] version}";
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2023-02-02 18:25:31 +00:00
|
|
|
unzip
|
2022-09-30 11:47:45 +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;
|
|
|
|
};
|
|
|
|
}
|