diff --git a/pkgs/development/tools/repository-managers/nexus/default.nix b/pkgs/development/tools/repository-managers/nexus/default.nix index d69773636650..39776ec53288 100644 --- a/pkgs/development/tools/repository-managers/nexus/default.nix +++ b/pkgs/development/tools/repository-managers/nexus/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "nexus"; - version = "3.45.0-01"; + version = "3.52.0-01"; src = fetchurl { - url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz"; - hash = "sha256-ISTORslFPgFt0kEKK17fpBXi3yAMwgm6qDnk33V2wa0="; + url = "https://download.sonatype.com/nexus/3/nexus-${version}-unix.tar.gz"; + hash = "sha256-+Hdmuy7WBtUIjEBZyLgE3a3+L/lANHiy1VRBJ2s686U="; }; preferLocalBuild = true; @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace bin/nexus.vmoptions \ + --replace ../sonatype-work /var/lib/sonatype-work \ --replace etc/karaf $out/etc/karaf \ --replace =. =$out ''; @@ -40,7 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Repository manager for binary software components"; - homepage = "http://www.sonatype.org/nexus"; + homepage = "https://www.sonatype.com/products/sonatype-nexus-oss"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.epl10; platforms = platforms.all;