From 57c940b93dfdffe4ac71d36ff7d95ed4526ea9a9 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Thu, 13 Apr 2023 14:17:35 +0200 Subject: [PATCH] pari: 2.15.2 -> 2.15.3 --- pkgs/applications/science/math/pari/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/science/math/pari/default.nix b/pkgs/applications/science/math/pari/default.nix index 41dff3adede5..ee3caaff1277 100644 --- a/pkgs/applications/science/math/pari/default.nix +++ b/pkgs/applications/science/math/pari/default.nix @@ -15,7 +15,7 @@ assert withThread -> libpthreadstubs != null; stdenv.mkDerivation rec { pname = "pari"; - version = "2.15.2"; + version = "2.15.3"; src = fetchurl { urls = [ @@ -23,15 +23,16 @@ 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-sEYoER7iKHZRmksc2vsy/rqjTq+iT56B9Y+NBX++4N0="; + hash = "sha256-rfWlhjjNr9cqi0i8n0RJcrIzKcjVRaHT7Ru+sbZWkmg="; }; patches = [ - # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2441 + # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2466 (fetchpatch { - name = "fix-find_isogenous_from_Atkin.patch"; - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pari/patches/bug2441.patch?id=9.8.rc0"; - hash = "sha256-DvOUFlFDnopN+MJY6GYRPNabuoHPFch/nNn+49ygznc="; + 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="; }) ];