5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
37 lines
721 B
Nix
37 lines
721 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchzip
|
|
, cmake
|
|
, gmp
|
|
, scalp
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pagsuite";
|
|
version = "1.80";
|
|
|
|
src = fetchzip {
|
|
url = "https://gitlab.com/kumm/pagsuite/-/raw/master/releases/pagsuite_${lib.replaceStrings ["."] ["_"] version}.zip";
|
|
sha256 = "sha256-JuRuDPhKKBGz8jUBkZcZW5s2berOewjsPNR/n7kuofY=";
|
|
stripRoot = false;
|
|
postFetch = ''
|
|
mv $out/pagsuite*/* $out
|
|
'';
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|