git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit47617be9f87031802aed6447ce17ff935f4b4369 authorBjørn Forsman <bjorn.forsman@gmail.com> dateThu 23 Oct 2014, 12:54 (12 years ago) parente63d955
1 file changed+4−1
pkgs/games/anki/default.nix+4−1
pkgs/games/anki/default.nix+4−1
@@ -11,7 +11,10 @@ in
1111stdenv.mkDerivation rec {
1212 name = "anki-${version}";
1313 src = fetchurl {
14− url = "http://ankisrs.net/download/mirror/${name}.tgz";
14+ urls = [
15+ "http://ankisrs.net/download/mirror/${name}.tgz"
16+ "http://ankisrs.net/download/mirror/archive/${name}.tgz"
17+ ];
1518 sha256 = "12qw0as5cdgh4hi0vyl0zpdzha93x8rid5xrhpjgiyj5s9fisf40";
1619 };
1720