summary refs log tree commit diff
path: root/pkgs/applications/science/math/pari
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2020-10-09 23:13:23 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2020-10-12 04:07:03 -0300
commit781753db45c0f6f1ef2cf57000bbd792ba002811 (patch)
treec6d386440ff75e5c8f1e1719d3487d7646156c51 /pkgs/applications/science/math/pari
parentcddb921a90bd8888eaf88fb3920d3fab6c1895f5 (diff)
downloadnixpkgs-781753db45c0f6f1ef2cf57000bbd792ba002811.tar
nixpkgs-781753db45c0f6f1ef2cf57000bbd792ba002811.tar.gz
nixpkgs-781753db45c0f6f1ef2cf57000bbd792ba002811.tar.bz2
nixpkgs-781753db45c0f6f1ef2cf57000bbd792ba002811.tar.lz
nixpkgs-781753db45c0f6f1ef2cf57000bbd792ba002811.tar.xz
nixpkgs-781753db45c0f6f1ef2cf57000bbd792ba002811.tar.zst
nixpkgs-781753db45c0f6f1ef2cf57000bbd792ba002811.zip
pari: 2.11.3 -> 2.11.4
Diffstat (limited to 'pkgs/applications/science/math/pari')
-rw-r--r--pkgs/applications/science/math/pari/default.nix34
1 files changed, 12 insertions, 22 deletions
diff --git a/pkgs/applications/science/math/pari/default.nix b/pkgs/applications/science/math/pari/default.nix
index 8b5176c94f6..bd730a1eaaa 100644
--- a/pkgs/applications/science/math/pari/default.nix
+++ b/pkgs/applications/science/math/pari/default.nix
@@ -1,6 +1,5 @@
 { stdenv
 , fetchurl
-, fetchpatch
 , gmp
 , readline
 , libX11
@@ -13,22 +12,13 @@ assert withThread -> libpthreadstubs != null;
 
 stdenv.mkDerivation rec {
   pname = "pari";
-  version = "2.11.3";
+  version = "2.11.4";
 
   src = fetchurl {
     url = "https://pari.math.u-bordeaux.fr/pub/pari/unix/${pname}-${version}.tar.gz";
-    sha256 = "1jd65h2psrmba2dx7rkf5qidf9ka0cwbsg20pd18k45ggr30l467";
+    sha256 = "sha256-v8iPxPc1L0hA5uNSxy8DacvqikVAOxg0piafNwmXCxw=";
   };
 
-  patches = [
-    # https://trac.sagemath.org/ticket/29313#comment:1
-    (fetchpatch {
-      name = "backport-bug-fix.patch";
-      url = "https://git.archlinux.org/svntogit/community.git/plain/repos/community-x86_64/c7a1d35f.patch?h=packages/pari&id=27893d227290dc3821d68aa25877d9765c204dad";
-      sha256 = "0vm0fwyzj66cr32imip6srksd47s2s2sjl1rb26ph8gpfi3nalii";
-    })
-  ];
-
   buildInputs = [
     gmp
     readline
@@ -72,20 +62,20 @@ stdenv.mkDerivation rec {
        Belabas with the help of many volunteer contributors.
 
        - PARI is a C library, allowing fast computations.
-       - gp is an easy-to-use interactive shell giving access to the
-          PARI functions.
+       - gp is an easy-to-use interactive shell giving access to the PARI
+         functions.
        - GP is the name of gp's scripting language.
-       - gp2c, the GP-to-C compiler, combines the best of both worlds
-          by compiling GP scripts to the C language and transparently loading
-          the resulting functions into gp. (gp2c-compiled scripts will typically
-          run 3 or 4 times faster.) gp2c currently only understands a subset
-           of the GP language.
+       - gp2c, the GP-to-C compiler, combines the best of both worlds by
+         compiling GP scripts to the C language and transparently loading the
+         resulting functions into gp. (gp2c-compiled scripts will typically run
+         3 or 4 times faster.) gp2c currently only understands a subset of the
+         GP language.
     '';
-    homepage    = "http://pari.math.u-bordeaux.fr";
+    homepage = "http://pari.math.u-bordeaux.fr";
     downloadPage = "http://pari.math.u-bordeaux.fr/download.html";
-    license     = licenses.gpl2Plus;
+    license = licenses.gpl2Plus;
     maintainers = with maintainers; [ ertes raskin AndersonTorres timokau ];
-    platforms   = platforms.linux ++ platforms.darwin;
+    platforms = platforms.linux ++ platforms.darwin;
     updateWalker = true;
   };
 }