diff options
Diffstat (limited to 'pkgs/applications/science/math/polymake/default.nix')
-rw-r--r-- | pkgs/applications/science/math/polymake/default.nix | 57 |
1 files changed, 43 insertions, 14 deletions
diff --git a/pkgs/applications/science/math/polymake/default.nix b/pkgs/applications/science/math/polymake/default.nix index 073275e410b71..0eecff0a17989 100644 --- a/pkgs/applications/science/math/polymake/default.nix +++ b/pkgs/applications/science/math/polymake/default.nix @@ -1,7 +1,20 @@ -{ lib, stdenv, fetchurl -, perl, gmp, mpfr, flint, boost -, bliss, ppl, singular, cddlib, lrs, nauty -, ninja, ant, openjdk +{ lib +, stdenv +, fetchurl +, perl +, gmp +, mpfr +, flint +, boost +, bliss +, ppl +, singular +, cddlib +, lrs +, nauty +, ninja +, ant +, openjdk , perlPackages , makeWrapper }: @@ -12,27 +25,42 @@ stdenv.mkDerivation rec { pname = "polymake"; - version = "4.7"; + version = "4.8"; src = fetchurl { # "The minimal version is a packager friendly version which omits # the bundled sources of cdd, lrs, libnormaliz, nauty and jReality." url = "https://polymake.org/lib/exe/fetch.php/download/polymake-${version}-minimal.tar.bz2"; - sha256 = "sha256-1qv+3gIsbM1xHh02S3ybkcvVkKS3OZDNNWfJt2nybmE="; + sha256 = "sha256-GfsAypJBpHwpvoEl/IzJ1gQfeMcYwB7oNe01xWJ+86w="; }; + nativeBuildInputs = [ + makeWrapper + ninja + ant + perl + ]; + buildInputs = [ - perl gmp mpfr flint boost - bliss ppl singular cddlib lrs nauty + perl + gmp + mpfr + flint + boost + bliss + ppl + singular + cddlib + lrs + nauty openjdk ] ++ (with perlPackages; [ - JSON TermReadLineGnu TermReadKey XMLSAX + JSON + TermReadLineGnu + TermReadKey + XMLSAX ]); - nativeBuildInputs = [ - makeWrapper ninja ant perl - ]; - ninjaFlags = [ "-C" "build/Opt" ]; postInstall = '' @@ -43,9 +71,10 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Software for research in polyhedral geometry"; + homepage = "https://www.polymake.org/doku.php"; + changelog = "https://github.com/polymake/polymake/blob/V${version}/ChangeLog"; license = licenses.gpl2Plus; maintainers = teams.sage.members; platforms = platforms.linux; - homepage = "https://www.polymake.org/doku.php"; }; } |