anki: add alternative "archive/" download url
Anki developers move old (non-latest) releases to an "archive/" subdirectory. So try both with and without "archive/" when downloading the source.
This commit is contained in:
parent
e63d9554b4
commit
47617be9f8
|
@ -11,7 +11,10 @@ in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "anki-${version}";
|
name = "anki-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ankisrs.net/download/mirror/${name}.tgz";
|
urls = [
|
||||||
|
"http://ankisrs.net/download/mirror/${name}.tgz"
|
||||||
|
"http://ankisrs.net/download/mirror/archive/${name}.tgz"
|
||||||
|
];
|
||||||
sha256 = "12qw0as5cdgh4hi0vyl0zpdzha93x8rid5xrhpjgiyj5s9fisf40";
|
sha256 = "12qw0as5cdgh4hi0vyl0zpdzha93x8rid5xrhpjgiyj5s9fisf40";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue