nixpkgs/pkgs/applications/science/math/pagsuite/default.nix

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

38 lines
726 B
Nix
Raw Normal View History

2022-09-28 17:51:05 +00:00
{ lib
, stdenv
2023-01-17 01:24:12 +00:00
, fetchurl
2022-09-28 17:51:05 +00:00
, cmake
2023-01-17 01:24:12 +00:00
, unzip
2022-09-28 17:51:05 +00:00
, gmp
, scalp
}:
stdenv.mkDerivation rec {
pname = "pagsuite";
version = "1.80";
2023-01-17 01:24:12 +00:00
src = fetchurl {
2022-09-28 17:51:05 +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
};
2023-01-17 01:24:12 +00:00
sourceRoot = "pagsuite_${lib.replaceStrings ["."] ["_"] version}";
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;
};
}