pynac: add more patches, link to sage trac

+28 -7
+28 -7
pkgs/applications/science/math/pynac/default.nix
··· 22 22 }; 23 23 24 24 patches = [ 25 - (fetchpatch { 26 - name = "handle_factor.patch"; 27 - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/handle_factor.patch?h=9.3.rc3"; 28 - sha256 = "sha256-U1lb5qwBqZZgklfDMhBX4K5u8bz5x42O4w7hyNy2YVw="; 29 - }) 25 + # the five patches below are included with sage 9.3. since pynac 26 + # is a self-described "Sage Math support library", we include them 27 + # here. 30 28 29 + # https://trac.sagemath.org/ticket/30688 31 30 (fetchpatch { 32 31 name = "power_inf_loop.patch"; 33 - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/power_inf_loop.patch?h=9.3.rc3"; 32 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/power_inf_loop.patch?h=9.3"; 34 33 sha256 = "sha256-VYeaJl8u2wl7FQ/6xnpZv1KpdNYEmJoPhuMrBADyTRs="; 35 34 }) 36 35 36 + # https://trac.sagemath.org/ticket/31479 37 + (fetchpatch { 38 + name = "disable_poly_mul_expand.patch"; 39 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/disable_poly_mul_expand.patch?h=9.3"; 40 + sha256 = "sha256-gRjoltU9Tzj7fjNyE25fY+iyDxERzSTOMigzxFpUqPo="; 41 + }) 42 + 43 + # https://trac.sagemath.org/ticket/31530 37 44 (fetchpatch { 38 45 name = "too_much_sub.patch"; 39 - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/too_much_sub.patch?h=9.3.rc3"; 46 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/too_much_sub.patch?h=9.3"; 40 47 sha256 = "sha256-lw7xSQ/l+rzPu+ghWF4omYF0mKksGGPuuHJTktvbdis="; 48 + }) 49 + 50 + # https://trac.sagemath.org/ticket/31554 51 + (fetchpatch { 52 + name = "handle_factor.patch"; 53 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/handle_factor.patch?h=9.3"; 54 + sha256 = "sha256-U1lb5qwBqZZgklfDMhBX4K5u8bz5x42O4w7hyNy2YVw="; 55 + }) 56 + 57 + # https://trac.sagemath.org/ticket/31645 58 + (fetchpatch { 59 + name = "seriesbug.patch"; 60 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/seriesbug.patch?h=9.3"; 61 + sha256 = "sha256-b3//oirN7JHDYqrvE+tDYcnKpSYQJ08yBzcNlII2Dts="; 41 62 }) 42 63 ]; 43 64