···57 );
58in
59stdenv.mkDerivation rec {
60- version = "9.7";
61 pname = "sage-src";
6263 src = fetchFromGitHub {
64 owner = "sagemath";
65 repo = "sage";
66 rev = version;
67- sha256 = "sha256-MYpCp18wqKwCa+tcJ7He14p1FXDlVm1vubQqQS9g3LY=";
68 };
6970 # Patches needed because of particularities of nix or the way this is packaged.
···89 # To help debug the transient error in
90 # https://trac.sagemath.org/ticket/23087 when it next occurs.
91 ./patches/configurationpy-error-verbose.patch
92-93- # https://trac.sagemath.org/ticket/33907
94- (fetchSageDiff {
95- name = "interfaces-expectpy-intermittent.patch";
96- base = "9.8.beta6";
97- rev = "6f5c1c2fc8bcfb5e6555716d05ce70511795ffa1";
98- sha256 = "sha256-z8FQxtrk62MHzPjrUTad+fMAE6XV8GTsLWKgGOM3zBg=";
99- })
100 ];
101102 # Patches needed because of package updates. We could just pin the versions of
···119 # adapted from https://trac.sagemath.org/ticket/23712#comment:22
120 ./patches/tachyon-renamed-focallength.patch
121122- # https://trac.sagemath.org/ticket/34118
123- (fetchSageDiff {
124- name = "sympy-1.11-upgrade.patch";
125- base = "9.7";
126- rev = "52815744bde2b682245b6f985a112f7cb8666056";
127- sha256 = "sha256-gv6z6JkQ6S6oCJQNkVgcPVvzlplyvR1nC7pWmcUiSc0=";
128- })
129-130- # https://trac.sagemath.org/ticket/34460
131- (fetchSageDiff {
132- name = "ipywidgets-8-upgrade.patch";
133- base = "9.7";
134- rev = "2816dbacb342398a23bb3099e20c92c8020ab0fa";
135- sha256 = "sha256-tCOsMxXwPkRg3FJGVvTqDzlWdra78UfDY6nci0Nr9GI=";
136- })
137-138 # https://trac.sagemath.org/ticket/34391
139 (fetchSageDiff {
140 name = "gap-4.12-upgrade.patch";
141- base = "9.8.beta2";
142- rev = "eb8cd42feb58963adba67599bf6e311e03424328";
143- sha256 = "sha256-0dKewOZe2n3PqSdxCJt18FkqwTdrD0VA5MXAMiTW8Tw=";
144 })
145146 # https://trac.sagemath.org/ticket/34701
···149 base = "eb8cd42feb58963adba67599bf6e311e03424328"; # TODO: update when #34391 lands
150 rev = "90acc7f1c13a80b8aa673469a2668feb9cd4207f";
151 sha256 = "sha256-9BhQLFB3wUhiXRQsK9L+I62lSjvTfrqMNi7QUIQvH4U=";
152- })
153-154- # https://trac.sagemath.org/ticket/34537
155- (fetchSageDiff {
156- name = "pari-2.15.1-upgrade.patch";
157- squashed = true;
158- base = "54cd6fe6de52aee5a433e0569e8c370618cb2047"; # 9.8.beta1
159- rev = "1e86aa26790d84bf066eca67f98a60a8aa3d4d3a";
160- sha256 = "sha256-LUgcMqrKXWb72Kxl0n6MV5unLXlQSeG8ncN41F7TRSc=";
161- excludes = ["build/*"
162- "src/sage/geometry/polyhedron/base_number_field.py"
163- "src/sage/geometry/polyhedron/backend_normaliz.py"
164- "src/sage/lfunctions/pari.py"];
165- })
166- # Some files were excluded from the above patch due to
167- # conflicts. The patch below contains rebased versions.
168- ./patches/pari-2.15.1-upgrade-rebased.patch
169-170- # https://trac.sagemath.org/ticket/34668
171- (fetchSageDiff {
172- name = "matplotlib-3.6-upgrade.patch";
173- base = "9.8.beta2";
174- rev = "5501e0de0dca1cff0355326dd42bd8c7e5749568";
175- sha256 = "sha256-ceJkVaecIsZewN8v/3gPQXFbFjv5Akz6zEFg/ToXdek=";
176- })
177-178- # https://trac.sagemath.org/ticket/34693
179- (fetchSageDiff {
180- name = "matplotlib-3.6-docbuilding.patch";
181- base = "9.8.beta4";
182- rev = "64589686c261d33e6b5aff2589bcae8af004bcc6";
183- sha256 = "sha256-j5AMY1TmhP+HBBBYaFZSkABJ5vtwe6iP2LRfGEgSm8Q=";
184- })
185-186- # https://trac.sagemath.org/ticket/34615
187- (fetchSageDiff {
188- name = "sphinx-5.2-upgrade.patch";
189- base = "9.8.beta1";
190- rev = "8f8af65e54d3a9962cfab40f15dc23f4e955b43f";
191- sha256 = "sha256-yhDdyxnXSSkqLcuOPBWSEBc26rk1Od3gLcWW8S2p8bY=";
192 })
193194 # temporarily paper over https://github.com/jupyter-widgets/ipywidgets/issues/3669
···57 );
58in
59stdenv.mkDerivation rec {
60+ version = "9.8";
61 pname = "sage-src";
6263 src = fetchFromGitHub {
64 owner = "sagemath";
65 repo = "sage";
66 rev = version;
67+ sha256 = "sha256-dDbrzJXsOBARYfJz0r7n3LbaoXHnx7Acz6HBa95NV9o=";
68 };
6970 # Patches needed because of particularities of nix or the way this is packaged.
···89 # To help debug the transient error in
90 # https://trac.sagemath.org/ticket/23087 when it next occurs.
91 ./patches/configurationpy-error-verbose.patch
0000000092 ];
9394 # Patches needed because of package updates. We could just pin the versions of
···111 # adapted from https://trac.sagemath.org/ticket/23712#comment:22
112 ./patches/tachyon-renamed-focallength.patch
1130000000000000000114 # https://trac.sagemath.org/ticket/34391
115 (fetchSageDiff {
116 name = "gap-4.12-upgrade.patch";
117+ base = "9.8.beta7";
118+ rev = "dd4a17281adcda74e11f998ef519b6bd0dafb043";
119+ sha256 = "sha256-UQT9DO9xd5hh5RucvUkIm+rggPKu8bc1YaSI6LVYH98=";
120 })
121122 # https://trac.sagemath.org/ticket/34701
···125 base = "eb8cd42feb58963adba67599bf6e311e03424328"; # TODO: update when #34391 lands
126 rev = "90acc7f1c13a80b8aa673469a2668feb9cd4207f";
127 sha256 = "sha256-9BhQLFB3wUhiXRQsK9L+I62lSjvTfrqMNi7QUIQvH4U=";
0000000000000000000000000000000000000000128 })
129130 # temporarily paper over https://github.com/jupyter-widgets/ipywidgets/issues/3669