Skip to content

Commit

Permalink
treewide: central.maven.org -> repo1.maven.org
Browse files Browse the repository at this point in the history
  • Loading branch information
volth committed Jun 13, 2020
1 parent 1a8cc07 commit 098fdc6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/editors/jedit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/build-support/fetchmavenartifact/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion pkgs/build-support/fetchurl/mirrors.nix
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@
# Maven Central
maven = [
https://repo1.maven.org/maven2/
https://central.maven.org/maven2/
];

# Alsa Project
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/interpreters/clojurescript/lumo/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkgs/servers/monitoring/prometheus/jmx-httpserver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/networking/openapi-generator-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

Expand Down

0 comments on commit 098fdc6

Please sign in to comment.