pari: 2.11.3 -> 2.11.4

This commit is contained in:
AndersonTorres 2020-10-09 23:13:23 -03:00
parent cddb921a90
commit 781753db45

View File

@ -1,6 +1,5 @@
{ stdenv { stdenv
, fetchurl , fetchurl
, fetchpatch
, gmp , gmp
, readline , readline
, libX11 , libX11
@ -13,22 +12,13 @@ assert withThread -> libpthreadstubs != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pari"; pname = "pari";
version = "2.11.3"; version = "2.11.4";
src = fetchurl { src = fetchurl {
url = "https://pari.math.u-bordeaux.fr/pub/pari/unix/${pname}-${version}.tar.gz"; 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 = [ buildInputs = [
gmp gmp
readline readline
@ -72,20 +62,20 @@ stdenv.mkDerivation rec {
Belabas with the help of many volunteer contributors. Belabas with the help of many volunteer contributors.
- PARI is a C library, allowing fast computations. - PARI is a C library, allowing fast computations.
- gp is an easy-to-use interactive shell giving access to the - gp is an easy-to-use interactive shell giving access to the PARI
PARI functions. functions.
- GP is the name of gp's scripting language. - GP is the name of gp's scripting language.
- gp2c, the GP-to-C compiler, combines the best of both worlds - gp2c, the GP-to-C compiler, combines the best of both worlds by
by compiling GP scripts to the C language and transparently loading compiling GP scripts to the C language and transparently loading the
the resulting functions into gp. (gp2c-compiled scripts will typically resulting functions into gp. (gp2c-compiled scripts will typically run
run 3 or 4 times faster.) gp2c currently only understands a subset 3 or 4 times faster.) gp2c currently only understands a subset of the
of the GP language. 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"; downloadPage = "http://pari.math.u-bordeaux.fr/download.html";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ ertes raskin AndersonTorres timokau ]; maintainers = with maintainers; [ ertes raskin AndersonTorres timokau ];
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.linux ++ platforms.darwin;
updateWalker = true; updateWalker = true;
}; };
} }