mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #13593 from aespinosa/add-nexus-package
nexus: init at 2.12.0-01
This commit is contained in:
commit
00ea88220f
2 changed files with 31 additions and 0 deletions
29
pkgs/development/tools/repository-managers/nexus/default.nix
Normal file
29
pkgs/development/tools/repository-managers/nexus/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, makeWrapper, jre }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nexus-${version}";
|
||||
version = "2.12.0-01";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-${version}-bundle.tar.gz";
|
||||
sha256 = "1k3z7kwcmr1pxaxfnak99fq5s8br9zbqbfpyw1afi86ykkph4g5z";
|
||||
};
|
||||
|
||||
sourceRoot = name;
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out
|
||||
cp -rfv * $out
|
||||
rm -fv $out/bin/nexus.bat
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Repository manager for binary software components";
|
||||
homepage = http://www.sonatype.org/nexus;
|
||||
license = licenses.epl10;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.aespinosa ];
|
||||
};
|
||||
}
|
|
@ -6112,6 +6112,8 @@ let
|
|||
pythonPackages = python3Packages;
|
||||
};
|
||||
|
||||
nexus = callPackage ../development/tools/repository-managers/nexus { };
|
||||
|
||||
node_webkit = node_webkit_0_9;
|
||||
|
||||
nwjs_0_12 = callPackage ../development/tools/node-webkit/nw12.nix {
|
||||
|
|
Loading…
Reference in a new issue