pagsuite: init at 1.80

This commit is contained in:
Weijia Wang 2022-09-28 19:51:05 +02:00
parent 979a581e10
commit 428cdfb609
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ 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;
};
}

View file

@ -35323,6 +35323,8 @@ with pkgs;
bcal = callPackage ../applications/science/math/bcal { };
pagsuite = callPackage ../applications/science/math/pagsuite { };
pspp = callPackage ../applications/science/math/pspp { };
ssw = callPackage ../applications/misc/ssw { };