tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
polymake: 3.2.rc4 -> 4.4
Mauricio Collares
4 years ago
045d6f35
2bcb30e5
+19
-16
2 changed files
expand all
collapse all
unified
split
pkgs
applications
science
math
polymake
default.nix
top-level
all-packages.nix
+18
-13
pkgs/applications/science/math/polymake/default.nix
···
1
1
{ lib, stdenv, fetchurl
2
2
-
, ninja, libxml2, libxslt, readline, perl, gmp, mpfr, boost
2
2
+
, perl, gmp, mpfr, flint, boost
3
3
, bliss, ppl, singular, cddlib, lrs, nauty
4
4
-
, ant, openjdk
4
4
+
, ninja, ant, openjdk
5
5
, perlPackages
6
6
, makeWrapper
7
7
}:
8
8
+
9
9
+
# polymake compiles its own version of sympol and atint because we
10
10
+
# don't have those packages. other missing optional dependencies:
11
11
+
# javaview, libnormaliz, scip, soplex, jreality.
8
12
9
13
stdenv.mkDerivation rec {
10
14
pname = "polymake";
11
11
-
version = "3.2.rc4";
15
15
+
version = "4.4";
12
16
13
17
src = fetchurl {
14
14
-
url = "https://polymake.org/lib/exe/fetch.php/download/polymake-3.2r4.tar.bz2";
15
15
-
sha256 = "02jpkvy1cc6kc23vkn7nkndzr40fq1gkb3v257bwyi1h5d37fyqy";
18
18
+
# "The minimal version is a packager friendly version which omits
19
19
+
# the bundled sources of cdd, lrs, libnormaliz, nauty and jReality."
20
20
+
url = "https://polymake.org/lib/exe/fetch.php/download/polymake-${version}-minimal.tar.bz2";
21
21
+
sha256 = "sha256-2nF5F2xznI77pl2TslrxA8HLpw4fmzVnPOM8N3kOwJE=";
16
22
};
17
23
18
24
buildInputs = [
19
19
-
libxml2 libxslt readline perl gmp mpfr boost
25
25
+
perl gmp mpfr flint boost
20
26
bliss ppl singular cddlib lrs nauty
21
27
openjdk
22
22
-
] ++
23
23
-
(with perlPackages; [
24
24
-
XMLLibXML XMLLibXSLT XMLWriter TermReadLineGnu TermReadKey
28
28
+
] ++ (with perlPackages; [
29
29
+
JSON TermReadLineGnu TermReadKey XMLSAX
25
30
]);
26
31
27
32
nativeBuildInputs = [
···
36
41
done
37
42
'';
38
43
39
39
-
meta = {
44
44
+
meta = with lib; {
40
45
description = "Software for research in polyhedral geometry";
41
41
-
license = lib.licenses.gpl2 ;
42
42
-
maintainers = [lib.maintainers.raskin];
43
43
-
platforms = lib.platforms.linux;
46
46
+
license = licenses.gpl2Plus;
47
47
+
maintainers = teams.sage.members;
48
48
+
platforms = platforms.linux;
44
49
homepage = "https://www.polymake.org/doku.php";
45
50
};
46
51
}
+1
-3
pkgs/top-level/all-packages.nix
···
26547
26547
26548
26548
polylith = callPackage ../development/tools/misc/polylith { };
26549
26549
26550
26550
-
polymake = callPackage ../applications/science/math/polymake {
26551
26551
-
openjdk = openjdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
26552
26552
-
};
26550
26550
+
polymake = callPackage ../applications/science/math/polymake { };
26553
26551
26554
26552
pond = callPackage ../applications/networking/instant-messengers/pond { };
26555
26553