Merge pull request #228564 from amy-keibler/fix/nexus-update
This commit is contained in:
commit
4ffc4dc918
1 changed files with 5 additions and 4 deletions
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nexus";
|
pname = "nexus";
|
||||||
version = "3.45.0-01";
|
version = "3.52.0-01";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz";
|
url = "https://download.sonatype.com/nexus/3/nexus-${version}-unix.tar.gz";
|
||||||
hash = "sha256-ISTORslFPgFt0kEKK17fpBXi3yAMwgm6qDnk33V2wa0=";
|
hash = "sha256-+Hdmuy7WBtUIjEBZyLgE3a3+L/lANHiy1VRBJ2s686U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
|
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace bin/nexus.vmoptions \
|
substituteInPlace bin/nexus.vmoptions \
|
||||||
|
--replace ../sonatype-work /var/lib/sonatype-work \
|
||||||
--replace etc/karaf $out/etc/karaf \
|
--replace etc/karaf $out/etc/karaf \
|
||||||
--replace =. =$out
|
--replace =. =$out
|
||||||
'';
|
'';
|
||||||
|
@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Repository manager for binary software components";
|
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 ];
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||||
license = licenses.epl10;
|
license = licenses.epl10;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
|
Loading…
Reference in a new issue