git.iko.soy/typeable/nixpkgs
on master help sign in
sage: update test expectations for arb and giac, prepare for pari 2.13
commitedc78bb31f4bc0597500e07eeb6c0b4de8850989 authorMauricio Collares <mauricio@collares.org> dateTue 2 Mar 2021, 17:46 (6 years ago) parenta0f55e4
1 file changed+25
pkgs/applications/science/math/sage/sage-src.nix+25
pkgs/applications/science/math/sage/sage-src.nix+25
@@ -123,6 +123,31 @@ stdenv.mkDerivation rec {
123123
124124 # updated eclib output has punctuation changes and tidier whitespace
125125 ./patches/eclib-20210223-test-formatting.patch
126+
127+ # upgrade arb to 2.18.1 (https://trac.sagemath.org/ticket/28623)
128+ (fetchSageDiff {
129+ base = "9.3.beta3";
130+ name = "arb-2.18.1-update.patch";
131+ rev = "0c9c4ed35c2eaf34ae0d19387c07b7f460e4abce";
132+ sha256 = "sha256-CjOJIsyyVCziAfvE6pWSihPO35IZMcY2/taXAsqhPLY=";
133+ })
134+
135+ # giac 1.6.0-47 update (https://trac.sagemath.org/ticket/30537)
136+ (fetchSageDiff {
137+ base = "9.3.beta7";
138+ name = "giac-1.6.0-47-update.patch";
139+ rev = "f05720bf63dfaf33a4e3b6d3ed2c2c0ec46b5d31";
140+ sha256 = "sha256-gDUq+84eXd5GxLBWUSI61GMJpBF2KX4LBVOt3mS1NF8=";
141+ })
142+
143+ # Make gcd/lcm interact better with pari and gmpy2 (https://trac.sagemath.org/ticket/30849)
144+ # needed for pari 2.13.1 update, which we will do in the future
145+ (fetchSageDiff {
146+ base = "9.3.beta0";
147+ name = "make-gcd-lcm-interact-better-with-pari-and-gmpy2.patch";
148+ rev = "75c1516f0abb9e6f8c335e38e4031f6ef674ed30";
149+ sha256 = "sha256-RukkieIZcXNrju904H2oyGKdtpdE+9vNzvyjN2IBNg0=";
150+ })
126151 ];
127152
128153 patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;