cassandra: use mirrors

Upstream likes to move "old" releases to an archive mirror as soon as a
new one is released. This is now handled for free by mirrors.nix.

(No idea why cs.utah.edu was used to begin with; it's now added to
mirrors.nix. Note that it doesn't support SSL, but that applies to
several others so I don't see the harm.)
This commit is contained in:
Tobias Geerinckx-Rice 2015-09-02 19:58:44 +02:00
parent c090efb9d8
commit 5385a0a82a
4 changed files with 4 additions and 3 deletions

View File

@ -280,6 +280,7 @@ rec {
http://archive.apache.org/dist/ # fallback for old releases
ftp://ftp.funet.fi/pub/mirrors/apache.org/
http://apache.cs.uu.nl/dist/
http://apache.cs.utah.edu/
];
postgresql = [

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
inherit sha256;
url = "http://apache.cs.utah.edu/cassandra/${version}/apache-${name}-bin.tar.gz";
url = "mirror://apache/cassandra/${version}/apache-${name}-bin.tar.gz";
};
nativeBuildInputs = [ makeWrapper ];

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
inherit sha256;
url = "http://apache.cs.utah.edu/cassandra/${version}/apache-${name}-bin.tar.gz";
url = "mirror://apache/cassandra/${version}/apache-${name}-bin.tar.gz";
};
nativeBuildInputs = [ makeWrapper ];

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
inherit sha256;
url = "http://apache.cs.utah.edu/cassandra/${version}/apache-${name}-bin.tar.gz";
url = "mirror://apache/cassandra/${version}/apache-${name}-bin.tar.gz";
};
nativeBuildInputs = [ makeWrapper ];