about summary refs log tree commit diff
path: root/pkgs/applications/science/math/pari
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2016-10-10 19:11:58 +0200
committerMichael Raskin <7c6f434c@mail.ru>2016-10-26 11:06:34 +0200
commit71f659d86d2dc3f42b797520d345ca2be3ef8d77 (patch)
tree51659210fe6d9e635a4c3e24294c9300cea9d7af /pkgs/applications/science/math/pari
parent411d5742cae63893265b731d6d4f8d3b206e8bb0 (diff)
downloadnixlib-71f659d86d2dc3f42b797520d345ca2be3ef8d77.tar
nixlib-71f659d86d2dc3f42b797520d345ca2be3ef8d77.tar.gz
nixlib-71f659d86d2dc3f42b797520d345ca2be3ef8d77.tar.bz2
nixlib-71f659d86d2dc3f42b797520d345ca2be3ef8d77.tar.lz
nixlib-71f659d86d2dc3f42b797520d345ca2be3ef8d77.tar.xz
nixlib-71f659d86d2dc3f42b797520d345ca2be3ef8d77.tar.zst
nixlib-71f659d86d2dc3f42b797520d345ca2be3ef8d77.zip
pari_alpha: init at 2.8.0.alpha: planning to use for Sage
Diffstat (limited to 'pkgs/applications/science/math/pari')
-rw-r--r--pkgs/applications/science/math/pari/alpha.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/pari/alpha.nix b/pkgs/applications/science/math/pari/alpha.nix
new file mode 100644
index 000000000000..a80d360d93e8
--- /dev/null
+++ b/pkgs/applications/science/math/pari/alpha.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, gmp, readline }:
+
+stdenv.mkDerivation rec {
+  version = "2.8.0.alpha";
+  name = "pari-${version}";
+
+  src = fetchurl {
+    url = "http://pari.math.u-bordeaux.fr/pub/pari/unix/${name}.tar.gz";
+    sha256 = "1nrjybrqv55p669rmlkghb940hzf63vnpn34sbwhy9zlbw3hg305";
+  };
+
+  buildInputs = [gmp readline];
+
+  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;
+  };
+}