treewide: use apache mirror where possible

This commit is contained in:
Sandro Jäckel 2024-07-17 11:22:33 +02:00
parent b62b159c17
commit 60362b173e
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
name = "apache-mxnet-src-${version}-incubating.tar.gz";
url = "https://dlcdn.apache.org/incubator/mxnet/${version}/apache-mxnet-src-${version}-incubating.tar.gz";
url = "mirror://apache/incubator/mxnet/${version}/apache-mxnet-src-${version}-incubating.tar.gz";
hash = "sha256-EephMoF02MKblvNBl34D3rC/Sww3rOZY+T442euMkyI=";
};

View File

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "2.0.0.AM26";
src = fetchzip {
url = "https://dlcdn.apache.org//directory/apacheds/dist/${version}/apacheds-${version}.zip";
url = "mirror://apache/directory/apacheds/dist/${version}/apacheds-${version}.zip";
sha256 = "sha256-36kDvfSy5rt/3+nivEFTepnIKf6sX0NTgPRm28M+1v4=";
};