nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at devShellTools-shell 32 lines 923 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 jdk, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "jboss-as"; 10 version = "7.1.1.Final"; 11 src = fetchurl { 12 url = "https://download.jboss.org/jbossas/${lib.versions.majorMinor version}/jboss-as-${version}/jboss-as-${version}.tar.gz"; 13 sha256 = "1bdjw0ib9qr498vpfbg8klqw6rl11vbz7vwn6gp1r5gpqkd3zzc8"; 14 }; 15 16 installPhase = '' 17 mv $PWD $out 18 find $out/bin -name \*.sh -print0 | xargs -0 sed -i -e '/#!\/bin\/sh/aJAVA_HOME=${jdk}' 19 ''; 20 21 meta = with lib; { 22 homepage = "https://www.jboss.org/"; 23 description = "Open Source J2EE application server"; 24 sourceProvenance = with sourceTypes; [ binaryBytecode ]; 25 license = licenses.lgpl21; 26 maintainers = [ maintainers.sander ]; 27 platforms = platforms.unix; 28 knownVulnerabilities = [ 29 "CVE-2015-7501: remote code execution in apache-commons-collections: InvokerTransformer during deserialisation" 30 ]; 31 }; 32}