treewide: central.maven.org -> repo1.maven.org

This commit is contained in:
volth 2020-06-12 14:26:08 +00:00
parent 3e9434457f
commit 54c4223e55
6 changed files with 6 additions and 7 deletions

View File

@ -3,11 +3,11 @@
let
version = "5.2.0";
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";
};
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";
};
in

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@
let
version = "0.10";
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 {
inherit version jarName;

View File

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