diff options
author | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2016-03-01 23:42:22 +0300 |
---|---|---|
committer | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2016-03-01 23:42:22 +0300 |
commit | 00ea88220f1cb637b509b539bc5f971ade76b7d7 (patch) | |
tree | 0a11fc1a7058aef170f844fb7c7aac63fea4f914 /pkgs/development/tools | |
parent | c523cec12c0672666c507143505a7ed7c63bba13 (diff) | |
parent | ac687200e3945ca70bd9170d8ac8b46b8b9d1206 (diff) | |
download | nixlib-00ea88220f1cb637b509b539bc5f971ade76b7d7.tar nixlib-00ea88220f1cb637b509b539bc5f971ade76b7d7.tar.gz nixlib-00ea88220f1cb637b509b539bc5f971ade76b7d7.tar.bz2 nixlib-00ea88220f1cb637b509b539bc5f971ade76b7d7.tar.lz nixlib-00ea88220f1cb637b509b539bc5f971ade76b7d7.tar.xz nixlib-00ea88220f1cb637b509b539bc5f971ade76b7d7.tar.zst nixlib-00ea88220f1cb637b509b539bc5f971ade76b7d7.zip |
Merge pull request #13593 from aespinosa/add-nexus-package
nexus: init at 2.12.0-01
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/repository-managers/nexus/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/tools/repository-managers/nexus/default.nix b/pkgs/development/tools/repository-managers/nexus/default.nix new file mode 100644 index 000000000000..1b2f48b696c3 --- /dev/null +++ b/pkgs/development/tools/repository-managers/nexus/default.nix @@ -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 ]; + }; +} |