nexus: 3.45.0-01 -> 3.52.0-01

This commit is contained in:
Amelia Keibler 2023-04-27 09:45:32 -04:00
parent c57bc5f812
commit fd42e1630e
No known key found for this signature in database
GPG Key ID: 9C1C9231AE6118DB

View File

@ -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;