nixpkgs/pkgs/development/tools
Maximilian Bosch 91365cd23a nexus: fix setup and nixos test (#40522)
The original `nexus` derivation required `/run/sonatype-work/nexus3`
which explicitly depended on the NixOS path structure.

This would break `nexus` for everyone using `nixpkgs` on a non-NixOS
system, additionally the module never created `/run/sonatype-work`, so
the systemd unit created in `services.nexus` fails as well. The issue
wasn't actively known as the `nixos/nexus` test wasn't registered in
Hydra (see #40257).

This patch contains the following changes:

* Adds `tests.nexus` to `release.nix` to run the test on Hydra.

* Makes JVM parameters configurable: by default all JVM options were located
  in `result/bin/nexus.vmoptions` which made it quite hard to patch
  these parameters. Now it's possible to override all parameters by
  running `VM_OPTS_FILE=custom-nexus.vmoptions ./result/bin/nexus run`
  (after patching the `nexus` shell script), additionally it's possible
  to override these parameters with `services.nexus.vmoptions`.

* Bumped Nexus from 3.5.1 to 3.11.0

* Run the `nexus` test on Hydra with `callTest` in `nixos/release.nix`,
  furthermore the test checks if the UI is available on the specified
  port.

* Added myself as maintainer for the NixOS test and the package to have
  some more people in case of further breakage.

* Added sufficient disk space to the `nexus` test, otherwise the service
  fails with the following errors:

  ```
  com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database 'accesslog'
  com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing
    a write operation to database 'accesslog' due to limited free space on the disk (242 MB). The database
    is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard
    drive and then reopen the database. The minimal required space is 256 MB. Required space is now set to
    256MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) .
  ```

/cc @ironpinguin @xeji
2018-05-15 14:10:29 +02:00
..
alloy Remove nckx as a maintainer for all packages 2018-01-16 23:00:49 +01:00
ammonite ammonite: 1.0.5 -> 1.1.0 2018-03-27 08:59:09 -04:00
analysis pmd: 6.2.0 -> 6.3.0 2018-05-12 14:49:32 +02:00
ansible-lint ansible-lint: fix tests 2018-03-06 00:11:42 +00:00
apktool apktool: 2.3.2 -> 2.3.3 2018-05-03 16:01:40 +02:00
asn2quickder asn2quickder: 0.7RC1 -> 1.2-6 2018-02-18 22:01:52 +01:00
backblaze-b2 backblaze-b2: 0.6.2 -> 1.1.0 2017-12-17 14:13:42 +00:00
bloaty bloaty: update path to c++filt after #29396 2017-12-14 00:53:23 +00:00
boomerang boomerang: switch to new active fork, cleanup, maintain 2018-01-21 15:38:56 -06:00
boost-build boost-build: drop spurious version infix 2017-06-28 09:40:31 +01:00
build-managers Update pants to 1.6.0 2018-05-12 10:34:44 -04:00
buildah buildah: 0.11 -> 0.12 2018-02-25 11:12:02 -08:00
casperjs treewide: mark a bunch of failing builds as broken 2017-10-01 00:26:52 +03:00
castxml treewide: http to https 2018-04-30 21:39:20 -07:00
cbor-diag cbor-diag: init at 0.5.2 2018-03-28 18:58:58 -03:00
cddl cddl: init at 0.8.5 2018-03-28 18:58:52 -03:00
cdecl cdecl: switch md5 to sha256 2016-10-26 16:59:37 +02:00
chefdk chefdk: 2.3.4 -> 2.4.17 (#32412) 2017-12-07 16:36:31 +00:00
clang-tools clang-tools: New package 2016-09-28 09:31:30 +02:00
clog-cli rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
cloudfoundry-cli cloudfoundry-cli: 6.32.0 -> 6.36.1 2018-04-21 20:58:25 +01:00
compass compass: use gemdir 2017-01-18 00:52:52 +01:00
compile-daemon remove profpatsch from maintainer list of a few packages 2018-02-12 06:24:38 +01:00
container-linux-config-transpiler ct: 0.5.0 -> 0.7.0 2018-03-27 14:59:24 +09:00
continuous-integration gitlab-runner: 10.6.0 -> 10.7.1 2018-05-02 19:21:49 +02:00
corundum Adding docs for bundlerApp. 2017-07-02 17:55:41 -07:00
coursier coursier: 1.0.0 -> 1.0.1 2018-02-22 02:50:17 +00:00
cucumber cucumber: init at 2.4.0 2017-08-02 21:55:55 -07:00
database liquibase: 3.6.0 -> 3.6.1 2018-05-03 16:00:01 +02:00
dcadec Update homepage attributes: http -> https 2017-08-03 11:56:15 +02:00
deis deis: 1.13.3 -> 1.13.4 2018-01-22 18:59:13 +01:00
deisctl deisctl: init at 1.13.3 2016-10-19 11:41:54 +02:00
delve delve: 0.12.2 -> 1.0.0 2018-02-25 20:13:00 -08:00
dep dep: enable all platforms 2018-02-16 14:11:51 -08:00
devpi-client devpi-client: fix test error due to devpi-server upgrade 2018-02-15 22:04:32 +01:00
devpi-server devpi-server: 4.3.1 -> 4.4.0 2018-02-14 23:01:43 +01:00
devtodo devtodo: adjust platforms 2017-10-08 18:53:28 +02:00
doctl doctl: 1.7.2 -> 1.8.0 2018-04-20 18:11:36 -05:00
documentation mkdocs: fix build 2018-04-08 11:36:06 +02:00
drip drip: provided which at run time 2017-11-28 13:36:38 +00:00
dtools dtools: 2.078.2 -> 2.079.0 2018-03-03 18:37:14 +01:00
egg2nix
electron electron: 1.7.11 -> 1.8.2 (#35342) 2018-02-22 21:03:08 +01:00
erlang hex2nix: 0.0.5 -> 0.0.6 2017-09-11 23:03:49 +02:00
fac fac: 1.0.1 -> 1.0.4, add man page 2018-01-27 09:20:59 +09:00
flamegraph flamegraph: 2017-05-11 -> 2017-07-01 2017-07-19 14:24:56 +01:00
flock flock: init at 0.2.3 2018-02-17 09:16:00 -06:00
flootty Move flootty from python-modules. 2018-01-13 09:59:25 -07:00
flyway flyway: refactor supported platforms 2018-03-12 18:46:35 +01:00
fmbt fmbt: init at 0.39 2018-03-11 15:44:48 +01:00
galen galen: 2.3.0 -> 2.3.6 2018-02-26 06:38:25 -08:00
gauge treewide: http to https 2018-04-30 21:39:20 -07:00
gdm go-dependency-manager: fix fetchFromGitHub call 2017-01-15 14:03:51 +01:00
geckodriver geckodriver: use devel version with slog fix 2018-03-01 14:58:44 +01:00
git-ftp git-ftp: init at 1.4.0 2017-07-07 11:41:30 +02:00
git-series treewide: checkMeta fixes for x86_64-linux 2017-12-07 07:50:47 -05:00
github cligh: switch to Python 3 2017-12-20 23:10:45 +01:00
glide glide: output correct version (#22896) 2017-02-17 12:08:54 +01:00
gllvm gllvm: 2018-04-28 -> 1.2.0 2018-05-02 19:32:12 -05:00
glock glock: init at 20160816 2016-09-20 10:56:11 +02:00
glslviewer glslviewer: 1.2 -> 2018-01-31, fixes build 2018-03-23 21:05:50 +02:00
gnome-desktop-testing gnome-desktop-testing: init at 2016.1 2018-02-14 21:02:58 +01:00
gnulib gnulib: symlink include/ to lib/ 2018-03-27 07:37:15 +09:00
go2nix go2nix: 1.2.0 -> 1.2.1 2017-06-29 09:29:02 +02:00
go-bindata no more goPackages 2016-06-09 13:08:00 +02:00
go-bindata-assetfs go-bindata-assetfs: init at 20160814 2016-11-11 23:04:31 +01:00
go-langserver go-langserver: init at unstable-2018-03-05 2018-03-12 14:52:13 +00:00
go-outline go-outline: init at 2017-08-04 2018-02-14 07:41:42 +01:00
go-protobuf go-protobuf: init at 2018-01-04 2018-01-04 18:22:08 +01:00
go-repo-root buildGoPackage: deps.json -> deps.nix in NIXON 2016-09-16 00:04:55 +01:00
go-symbols go-symbols: init at 2017-02-06 2018-01-19 15:51:00 -08:00
goa goa: init at 1.0.0 2016-09-17 01:15:14 +02:00
gocode gocode: 20170530 -> 20170903 2017-09-18 17:53:25 +02:00
goconvey goconvey: init at 1.6.3 2018-01-02 11:19:41 +01:00
godef godef: 20160620-ee532b9 -> 20170920-b692db1 2018-01-02 10:57:05 +01:00
godep godep: ddd7fbf -> 73 2016-06-01 11:40:24 +01:00
godot godot: add a dev output containing the gdnative headers 2018-05-02 11:24:32 +01:00
goimports no more goPackages 2016-06-09 13:08:00 +02:00
golint golint: 20160428 -> 20180208 2018-02-22 18:53:05 -08:00
gomodifytags gomodifytags: init at 2017-12-14 2018-01-19 15:55:29 -08:00
google-app-engine-go-sdk google-app-engine-go-sdk: 1.9.55 -> 1.9.61 2017-12-22 11:37:22 +09:00
gopkgs gopkgs: init at 2017-12-29 2018-02-14 07:44:08 +01:00
gotags no more goPackages 2016-06-09 13:08:00 +02:00
gotests gotests: init at 1.5.2 2018-02-14 07:46:32 +01:00
gotools gotools: 20160519 -> 20170807 2017-11-04 01:22:40 +01:00
govers no more goPackages 2016-06-09 13:08:00 +02:00
gox gox: 20140904 -> 0.4.0 2017-12-04 16:12:40 +08:00
gpp gpp: init at 2.25 and add @nmattia as maintainer (#34098) 2018-01-21 19:17:31 +00:00
grabserial grabserial: 1.7.0 -> 1.9.3 2016-10-23 21:18:47 +05:30
gron gron: 0.5.1 -> 0.5.2 2018-05-01 09:13:59 +00:00
gtk-mac-bundler replace "Mac OS X" and "OS X" with "macOS" 2017-08-07 21:41:30 +02:00
guile guile-lint: disable tests on darwin 2018-03-18 22:27:13 +01:00
haskell multi-ghc-travis: update to latest git version 2018-04-27 12:21:24 +02:00
hcloud hcloud: 1.3.0 -> 1.4.0 2018-04-18 09:53:52 +02:00
heroku pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
hexio hexio: unstable -> 1.0-RC1 2017-02-24 17:03:49 +01:00
iaca treewide: remove platform assertions 2018-05-03 13:09:20 -05:00
icestorm icestorm: 2018.03.21 -> 2018.05.03 2018-05-03 20:04:56 -05:00
imatix_gsl imatix_gsl: mark broken on linux 2018-04-12 23:04:00 +02:00
irony-server irony-server: use libclang 2018-01-17 15:53:08 +02:00
java cfr: 0_125 -> 0.128 2018-05-07 06:27:02 -07:00
jazzy jazzy: init at 0.9.0 2017-11-02 22:55:28 +08:00
jbake jbake: wrap script 2018-04-21 08:50:13 -04:00
jd jd: init at 0.3.1 2017-06-29 09:50:46 +02:00
jl jl: iniit at 0.0.4 2018-04-04 14:11:04 +00:00
jmespath pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
jo jo: 1.0 -> 1.1 2017-12-01 10:58:58 +01:00
jp pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
jq jq: sanity check with --help 2017-10-04 12:00:07 +01:00
jsduck jsduck: fix build 2018-03-24 14:07:26 +01:00
json2hcl json2hcl: fix meta 2018-03-14 15:31:40 -05:00
kafkacat kafkacat: fix sandboxed build 2017-11-03 13:04:47 +00:00
kube-aws kube-aws: 0.8.1 -> 0.9.4 2017-03-13 22:20:52 -04:00
leaps leaps: 0.5.1 -> 0.9.0 2018-02-22 23:27:44 +01:00
librarian-puppet-go librarian-puppet-go: init at 0.3.9 2018-02-02 22:07:48 +11:00
libsigrok treewide: use more HTTPS URLs 2018-03-24 22:04:25 -07:00
libsigrokdecode libsigrokdecode: 0.5.0 -> 0.5.1 2018-04-17 18:48:07 +02:00
literate-programming Literate: adapt to nixpkgs standards 2017-08-27 07:28:30 +01:00
makerpm makerpm: init at 1.0 2016-12-31 23:19:31 +03:00
manul manul: init at 2016-09-30 2017-01-14 01:04:53 +01:00
mdk misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs 2017-09-21 15:49:53 -04:00
minizinc minizinc: 2.0.14 -> 2.1.7 2018-02-27 06:08:25 -08:00
misc cscope: Remove unneeded crossAttrs 2018-05-10 11:42:14 -04:00
mpfshell mpfshell: init at 0.8.1 (#28384) 2017-08-22 03:38:46 +02:00
msgpack-tools msgpack-tools: fix sandbox build 2017-03-02 17:51:17 +00:00
mypy mypy: 0.590 -> 0.600 2018-05-07 00:16:15 -07:00
nailgun treewide: checkMeta fixes for x86_64-linux 2017-12-07 07:50:47 -05:00
neoload Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
node-webkit node-webkit/nw9.nix: remove 2018-03-21 15:42:23 +01:00
nrpl nrpl: init at 20150521 2017-01-01 14:10:13 +08:00
nwjs node_webkit/nwjs: 0.12 -> 0.23.6 2018-03-19 08:47:08 +01:00
ocaml jbuilder: 1.0+beta17 -> 1.0+beta20 2018-05-07 07:13:03 +02:00
omniorb omniorb: 4.2.0 -> 4.2.2 2018-02-28 11:33:39 +01:00
packer packer: 1.1.3 -> 1.2.0 (#35945) 2018-02-28 17:40:09 +00:00
packet packet: init at 20161215-2b8f07a 2017-01-19 22:17:30 +01:00
parse-cli-bin parse-cli-bin: 3.0.1 -> 3.0.5 2016-05-25 02:06:47 +02:00
parsing byacc: 20170709 -> 20180510 (#40499) 2018-05-14 17:03:17 +02:00
pew Merge remote-tracking branch 'upstream/master' into staging 2018-02-28 20:52:49 +02:00
phantomjs treewide: remove platform assertions 2018-05-03 13:09:20 -05:00
phantomjs2 phantomjs2: set QT_QPA_PLATFORM to allow use in daemons 2018-01-19 23:52:53 -06:00
pipenv python: pipenv: 10.1.2 -> 11.9.0 2018-04-08 11:34:57 +02:00
postiats-utilities pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
profiling systemtap: 2017.02.04 -> 2017.10.18 2018-03-03 19:59:28 +03:00
pup pup: add meta 2017-12-20 01:05:05 +00:00
pydb pydb, libclc: fixup eval after pinning to python2 2017-02-09 08:52:22 +01:00
pypi2nix pypi2nix: fix build 2017-11-02 14:11:12 +08:00
qtcreator treewide: rename bad filenames 2018-04-17 15:42:25 -05:00
quilt quilt: take dependencies as explicit function arguments 2017-05-31 13:58:06 +02:00
react-native-debugger react-native-debugger: init at 0.7.18 2018-04-02 13:57:03 +02:00
redis-dump ruby: remove unsupported versions (#34927) 2018-02-14 09:53:54 +00:00
reflex reflex: init at 0.2.0 2018-02-16 14:18:29 -08:00
remarshal remarshal: 0.7.0 -> 0.8.0 2018-05-12 14:02:55 +02:00
reno reno: 1.8.0 -> 2.3.2 (#26516) 2017-06-13 21:50:46 +02:00
repository-managers/nexus nexus: fix setup and nixos test (#40522) 2018-05-15 14:10:29 +02:00
rhc ruby: remove unsupported versions (#34927) 2018-02-14 09:53:54 +00:00
ronn ronn: use gemdir 2017-01-18 00:52:54 +01:00
rq rust: update cargo builder to fetch registry dynamically 2017-10-23 00:30:47 +01:00
rtags treewide: get rid of platforms.allBut 2018-03-14 18:44:42 -04:00
rubocop rubycop: 0.47.0 -> 0.55.0 2018-04-25 22:15:44 +01:00
rucksack
rust rust-bindgen: 0.36.0 -> 0.36.1 2018-05-12 14:02:36 +02:00
sass sass: use gemdir 2017-01-18 00:52:56 +01:00
sassc sassc: 3.4.8 -> 3.5.0 2018-03-15 06:20:43 -07:00
sauce-connect sauce-connect: 4.4.8 -> 4.4.12 2018-03-07 17:06:08 +01:00
scalafmt scalafmt: 1.3.0 -> 1.4.0 2018-01-04 13:05:28 +01:00
selenium chromedriver: 2.37 -> 2.38 2018-04-20 11:23:49 -07:00
setupcfg2nix Add setupcfg2nix and supporting infrastructure 2018-04-11 12:08:26 -04:00
sigrok-cli treewide: use more HTTPS URLs 2018-03-24 22:04:25 -07:00
simavr treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
skopeo skopeo: build manpage 2018-03-29 18:05:48 +02:00
slimerjs slimerjs: 0.10.3 -> 1.0.0 2018-05-02 02:46:52 +02:00
solarus-quest-editor solarus-quest-editor: init at 1.4.5 (#17286) 2016-07-27 18:49:02 +02:00
spirv-tools vulkan-loader: 1.0.61.1 -> 1.1.70.0 2018-03-22 21:41:04 -07:00
sqsh sqsh: Fix darwin build 2018-05-03 00:38:32 +02:00
sslmate sslmate: 1.5.0 -> 1.6.0 2018-02-28 12:37:31 +01:00
stagit stagit: init at 0.6 2017-08-30 13:12:17 +02:00
sunxi-tools sunxi-tools: Use upstream install rule 2018-05-13 03:53:26 +03:00
textql textql: run tests and install man page 2018-04-09 15:55:47 +08:00
thrust Revert "Merge pull request #28557 from obsidiansystems/binutils-wrapper" 2017-09-07 12:51:21 +02:00
toluapp Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-03 13:34:44 +00:00
tora tora: use mysql.connector-c 2017-12-29 02:18:35 +01:00
toxiproxy toxiproxy: Init at 2.1.3 2018-03-28 15:38:07 +03:00
tradcpp tradcpp: 0.4 -> 0.5.2 2018-03-09 15:02:50 -08:00
unity3d treewide: transition from mesa_glu to libGLU 2018-02-24 17:05:43 +02:00
vagrant vagrant: Fix dependencies for version 2.0.2 2018-03-03 23:31:00 -08:00
valadoc valadoc: fix build 2018-03-22 07:46:48 +01:00
vcstool python: vcstool: 0.1.33 -> 0.1.35 2018-04-08 11:34:57 +02:00
vim-vint vim-vint: 0.3.11 -> 0.3.18 2018-02-28 11:36:22 +01:00
vndr vndr: 20170511-0cb33a0 -> 20171005-b57c579 2018-01-02 10:51:24 +01:00
vogl treewide: transition from mesa_glu to libGLU 2018-02-24 17:05:43 +02:00
vultr vultr: 1.13.0 -> 1.15.0 2018-01-23 18:44:18 +01:00
watchman watchman: 4.7.0 -> 4.9.0 2017-08-24 21:20:03 +02:00
wiggle wiggle: 1.0 -> 1.1 2018-02-28 20:32:20 +00:00
winpdb Do not use top-level buildPythonPackage or buildPythonApplication 2016-09-26 11:10:51 +02:00
wllvm wllvm: 1.1.5 -> 1.2.0 2018-05-06 15:05:41 +01:00
wp-cli wp-cli: 1.5.0 -> 1.5.1 2018-04-26 18:37:03 +08:00
ws ws: Init at 0.2.1 2018-01-29 10:23:07 +01:00
xcbuild xcbuild: fix wrapper 2018-04-12 14:12:29 -05:00
xib2nib xib2nib: add meta 2017-04-12 20:07:55 -05:00
xqilla xqilla: init at 2.3.3 2016-04-11 13:57:19 +01:00
yaml2json yaml2json: init at unstable-2017-05-03 2018-02-09 16:46:21 +08:00
yarn yarn: 1.5.1 -> 1.6.0 2018-04-16 13:37:41 +03:00
yarn2nix yarn2nix: init at 0.1.0 (#35340) 2018-03-09 21:28:28 +00:00
yq python: yq: 2.4.1 -> 2.5.0 2018-04-08 11:34:57 +02:00
yuicompressor yuicompressor: add bin wrapper for jar 2017-01-12 23:08:55 -05:00