git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #13593 from aespinosa/add-nexus-package

nexus: init at 2.12.0-01

commit00ea88220f1cb637b509b539bc5f971ade76b7d7 authorArseniy Seroka <jagajaga@users.noreply.github.com> dateTue 1 Mar 2016, 23:42 (11 years ago) parentc523cecac68720
2 files changed+31
pkgs/development/tools/repository-managers/nexus/default.nix+29 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/repository-managers/nexus/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchurl, makeWrapper, jre }:
2+stdenv.mkDerivation rec {
3+ name = "nexus-${version}";
4+ version = "2.12.0-01";
5+
6+ src = fetchurl {
7+ url = "https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-${version}-bundle.tar.gz";
8+ sha256 = "1k3z7kwcmr1pxaxfnak99fq5s8br9zbqbfpyw1afi86ykkph4g5z";
9+ };
10+
11+ sourceRoot = name;
12+
13+ buildInputs = [ makeWrapper ];
14+
15+ installPhase =
16+ ''
17+ mkdir -p $out
18+ cp -rfv * $out
19+ rm -fv $out/bin/nexus.bat
20+ '';
21+
22+ meta = with stdenv.lib; {
23+ description = "Repository manager for binary software components";
24+ homepage = http://www.sonatype.org/nexus;
25+ license = licenses.epl10;
26+ platforms = platforms.all;
27+ maintainers = [ maintainers.aespinosa ];
28+ };
29+}
pkgs/top-level/all-packages.nix+2
@@ -6112,6 +6112,8 @@ let
61126112 pythonPackages = python3Packages;
61136113 };
61146114
6115+ nexus = callPackage ../development/tools/repository-managers/nexus { };
6116+
61156117 node_webkit = node_webkit_0_9;
61166118
61176119 nwjs_0_12 = callPackage ../development/tools/node-webkit/nw12.nix {