From fd42e1630e8ee0985cea8f67a51e6a09a940d729 Mon Sep 17 00:00:00 2001 From: Amelia Keibler Date: Thu, 27 Apr 2023 09:45:32 -0400 Subject: [PATCH] nexus: 3.45.0-01 -> 3.52.0-01 --- .../tools/repository-managers/nexus/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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;