Merge pull request #228564 from amy-keibler/fix/nexus-update

This commit is contained in:
Janik 2023-06-30 18:12:20 +02:00 committed by GitHub
commit 4ffc4dc918
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;