mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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
|
||||
ftp://ftp.funet.fi/pub/mirrors/apache.org/
|
||||
http://apache.cs.uu.nl/dist/
|
||||
http://apache.cs.utah.edu/
|
||||
];
|
||||
|
||||
postgresql = [
|
||||
|
@ -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 ];
|
||||
|
@ -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 ];
|
||||
|
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user