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:
parent
c090efb9d8
commit
5385a0a82a
@ -280,6 +280,7 @@ rec {
|
|||||||
http://archive.apache.org/dist/ # fallback for old releases
|
http://archive.apache.org/dist/ # fallback for old releases
|
||||||
ftp://ftp.funet.fi/pub/mirrors/apache.org/
|
ftp://ftp.funet.fi/pub/mirrors/apache.org/
|
||||||
http://apache.cs.uu.nl/dist/
|
http://apache.cs.uu.nl/dist/
|
||||||
|
http://apache.cs.utah.edu/
|
||||||
];
|
];
|
||||||
|
|
||||||
postgresql = [
|
postgresql = [
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
inherit sha256;
|
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 ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
inherit sha256;
|
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 ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
inherit sha256;
|
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 ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user