diff options
author | Mauricio Collares <mauricio@collares.org> | 2023-01-30 18:54:10 +0100 |
---|---|---|
committer | Mauricio Collares <mauricio@collares.org> | 2023-02-12 20:35:33 +0100 |
commit | 7371818c6e23aa0a6af1c8a8bde822119084aacc (patch) | |
tree | 5997b804a564208755095ce086c2eebd3b42b370 /pkgs/applications/science/math/pari | |
parent | ccc118b6cc9c8eecdd4eb7eff81f33df2a1f2490 (diff) |
pari: upstream ellcard fixes
Diffstat (limited to 'pkgs/applications/science/math/pari')
-rw-r--r-- | pkgs/applications/science/math/pari/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/pari/default.nix b/pkgs/applications/science/math/pari/default.nix index 4c0032e6c8b38..41dff3adede5a 100644 --- a/pkgs/applications/science/math/pari/default.nix +++ b/pkgs/applications/science/math/pari/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchurl +, fetchpatch , gmp , libX11 , libpthreadstubs @@ -25,6 +26,15 @@ stdenv.mkDerivation rec { hash = "sha256-sEYoER7iKHZRmksc2vsy/rqjTq+iT56B9Y+NBX++4N0="; }; + patches = [ + # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2441 + (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="; + }) + ]; + buildInputs = [ gmp libX11 |