Skip to content

Commit

Permalink
pagsuite: init at 1.80
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Sep 28, 2022
1 parent 979a581 commit 428cdfb
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/applications/science/math/pagsuite/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 428cdfb

Please sign in to comment.