pari: 2.15.3 -> 2.15.4

This commit is contained in:
Mauricio Collares 2023-07-12 08:53:37 +01:00
parent 4a729ce4b1
commit 63fd36b9f1

View file

@ -15,7 +15,7 @@ assert withThread -> libpthreadstubs != null;
stdenv.mkDerivation rec {
pname = "pari";
version = "2.15.3";
version = "2.15.4";
src = fetchurl {
urls = [
@ -23,19 +23,9 @@ stdenv.mkDerivation rec {
# old versions are at the url below
"https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"
];
hash = "sha256-rfWlhjjNr9cqi0i8n0RJcrIzKcjVRaHT7Ru+sbZWkmg=";
hash = "sha256-w1Rb/uDG37QLd/tLurr5mdguYAabn20ovLbPAEyMXA8=";
};
patches = [
# https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2466
(fetchpatch {
name = "incorrect-result-from-qfbclassno.patch";
url = "https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=commitdiff_plain;h=7ca0c2eae87def89fa7253c60e4791a8ef26629d";
excludes = [ "src/test/32/quadclassunit" "CHANGES" ];
hash = "sha256-CQRkIYDFMrWHCoSWGsIydPjGk3w09zzghajlNuq29Jk=";
})
];
buildInputs = [
gmp
libX11