summaryrefslogtreecommitdiff
path: root/pkgs/applications/science/math/pari/unstable.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/math/pari/unstable.nix')
-rw-r--r--pkgs/applications/science/math/pari/unstable.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/pari/unstable.nix b/pkgs/applications/science/math/pari/unstable.nix
new file mode 100644
index 000000000000..2c1cc7d75d8e
--- /dev/null
+++ b/pkgs/applications/science/math/pari/unstable.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchurl, gmp, readline, perl }:
+
+stdenv.mkDerivation rec {
+ version = "2.8.1.beta";
+ name = "pari-unstable-${version}";
+
+ src = fetchurl {
+ url = "http://pari.math.u-bordeaux.fr/pub/pari/unstable/pari-${version}.tar.gz";
+ sha256 = "167dcqrqsblqrd7z5pb8jrs9xqm8138mik0s4ihlqcq6c3wndhv1";
+ };
+
+ buildInputs = [gmp readline];
+ nativeBuildInputs = [perl];
+
+ configureScript = "./Configure";
+ configureFlags =
+ "--with-gmp=${gmp.dev} " +
+ "--with-readline=${readline.dev}";
+
+ meta = with stdenv.lib; {
+ description = "Computer algebra system for high-performance number theory computations";
+ homepage = "http://pari.math.u-bordeaux.fr/";
+ license = licenses.gpl2Plus;
+ maintainers = with maintainers; [ ertes raskin ];
+ platforms = platforms.linux;
+
+ inherit version;
+ downloadPage = "http://pari.math.u-bordeaux.fr/download.html";
+ updateWalker = true;
+ };
+}