Merge pull request #90189 from volth/cental.maven.org

treewide: central.maven.org -> repo1.maven.org
This commit is contained in:
Jörg Thalheim 2020-06-12 20:06:02 +01:00 committed by GitHub
commit cc7b028202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 7 deletions

View File

@ -3,11 +3,11 @@
let let
version = "5.2.0"; version = "5.2.0";
bcpg = fetchurl { bcpg = fetchurl {
url = "http://central.maven.org/maven2/org/bouncycastle/bcpg-jdk16/1.46/bcpg-jdk16-1.46.jar"; url = "mirror://maven/org/bouncycastle/bcpg-jdk16/1.46/bcpg-jdk16-1.46.jar";
sha256 = "16xhmwks4l65m5x150nd23y5lyppha9sa5fj65rzhxw66gbli82d"; sha256 = "16xhmwks4l65m5x150nd23y5lyppha9sa5fj65rzhxw66gbli82d";
}; };
jsr305 = fetchurl { jsr305 = fetchurl {
url = "http://central.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar"; url = "mirror://maven/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar";
sha256 = "0s74pv8qjc42c7q8nbc0c3b1hgx0bmk3b8vbk1z80p4bbgx56zqy"; sha256 = "0s74pv8qjc42c7q8nbc0c3b1hgx0bmk3b8vbk1z80p4bbgx56zqy";
}; };
in in

View File

@ -3,7 +3,7 @@
let let
version = "1.13.0"; version = "1.13.0";
jarName = "bfg-${version}.jar"; jarName = "bfg-${version}.jar";
mavenUrl = "http://central.maven.org/maven2/com/madgag/bfg/${version}/${jarName}"; mavenUrl = "mirror://maven/com/madgag/bfg/${version}/${jarName}";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
inherit version jarName; inherit version jarName;

View File

@ -3,7 +3,7 @@
{ fetchurl, stdenv }: { fetchurl, stdenv }:
let let
defaultRepos = [ defaultRepos = [
"http://central.maven.org/maven2" "http://repo1.maven.org/maven2"
"http://oss.sonatype.org/content/repositories/releases" "http://oss.sonatype.org/content/repositories/releases"
"http://oss.sonatype.org/content/repositories/public" "http://oss.sonatype.org/content/repositories/public"
"http://repo.typesafe.com/typesafe/releases" "http://repo.typesafe.com/typesafe/releases"

View File

@ -426,7 +426,6 @@
# Maven Central # Maven Central
maven = [ maven = [
"https://repo1.maven.org/maven2/" "https://repo1.maven.org/maven2/"
"https://central.maven.org/maven2/"
]; ];
# Alsa Project # Alsa Project

View File

@ -3,7 +3,7 @@
let let
version = "0.10"; version = "0.10";
jarName = "jmx_prometheus_httpserver-${version}-jar-with-dependencies.jar"; jarName = "jmx_prometheus_httpserver-${version}-jar-with-dependencies.jar";
mavenUrl = "http://central.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/${version}/${jarName}"; mavenUrl = "mirror://maven/io/prometheus/jmx/jmx_prometheus_httpserver/${version}/${jarName}";
in stdenv.mkDerivation { in stdenv.mkDerivation {
inherit version jarName; inherit version jarName;

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
]; ];
src = fetchurl { src = fetchurl {
url = "http://central.maven.org/maven2/org/openapitools/${pname}/${version}/${jarfilename}"; url = "mirror://maven/org/openapitools/${pname}/${version}/${jarfilename}";
sha256 = "1pafv432ll3pp52580pbnk0gnrm6byl5fkrf1rarhxfkpkr82yif"; sha256 = "1pafv432ll3pp52580pbnk0gnrm6byl5fkrf1rarhxfkpkr82yif";
}; };