sage: 9.3.rc4 -> 9.3

This commit is contained in:
Mauricio Collares 2021-05-05 09:04:07 -03:00
parent f206ba8ab9
commit b413d3570a
2 changed files with 3 additions and 5 deletions

View File

@ -24,14 +24,14 @@ let
);
in
stdenv.mkDerivation rec {
version = "9.3.rc4";
version = "9.3";
pname = "sage-src";
src = fetchFromGitHub {
owner = "sagemath";
repo = "sage";
rev = version;
sha256 = "sha256-LDY07By2j6JagkgT9zeDJ93+m2/oXXEnDRTDzmR8ftk=";
sha256 = "sha256-l9DX8jcDdKA7GJ6xU+nBsmlZxrcZ9ZUAJju621ooBEo=";
};
# Patches needed because of particularities of nix or the way this is packaged.

View File

@ -7,9 +7,7 @@ stdenv.mkDerivation rec {
version = "20210214";
src = fetchurl {
url = "https://mirrors.mit.edu/sage/spkg/upstream/${pname}/${pname}-${version}.tar.bz2";
# TODO: switch to the url below once Sage 9.3 is released
# url = "mirror://sageupstream/${pname}/${pname}-${version}.tar.bz2";
url = "mirror://sageupstream/${pname}/${pname}-${version}.tar.bz2";
sha256 = "sha256-ByN8DZhTYRUFw4n9e7klAMh0P1YxurtND0Xf2DMvN0E=";
};