···7879 # ignore a deprecation warning for usage of `cmp` in the attrs library in the doctests
80 ./patches/ignore-cmp-deprecation.patch
00000000000081 ];
8283 patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
···7879 # ignore a deprecation warning for usage of `cmp` in the attrs library in the doctests
80 ./patches/ignore-cmp-deprecation.patch
81+82+ # https://trac.sagemath.org/ticket/30801. this patch has
83+ # positive_review but has not been merged upstream yet, so we
84+ # don't use fetchSageDiff because it returns a file that contains
85+ # each commit as a separate patch instead of a single diff, and
86+ # some commits from the pari update branch are already in 9.3.rc5
87+ # (auto-resolvable merge conflicts).
88+ (fetchpatch {
89+ name = "pari-2.13.1.patch";
90+ url = "https://github.com/sagemath/sagetrac-mirror/compare/d6c5cd9be78cc448ee4c54bac93385b1244a234c...10a4531721d2700fd717e2b3a1364508ffd971c3.diff";
91+ sha256 = "sha256-zMjRMEReoiTvmt+vvV0Ij1jtyLSLwSXBEVXqgvmq1D4=";
92+ })
93 ];
9495 patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;