2021-05-11 13:07:47 +00:00
|
|
|
{ lib, stdenv, fetchurl, jdk }:
|
2008-01-23 12:25:08 +00:00
|
|
|
|
2021-05-23 15:07:31 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jboss-as";
|
|
|
|
version = "7.1.1.Final";
|
2009-11-11 15:52:26 +00:00
|
|
|
src = fetchurl {
|
2021-05-23 15:07:31 +00:00
|
|
|
url = "https://download.jboss.org/jbossas/${lib.versions.majorMinor version}/jboss-as-${version}/jboss-as-${version}.tar.gz";
|
2013-05-01 15:22:37 +00:00
|
|
|
sha256 = "1bdjw0ib9qr498vpfbg8klqw6rl11vbz7vwn6gp1r5gpqkd3zzc8";
|
2009-11-11 15:52:26 +00:00
|
|
|
};
|
2008-01-23 12:25:08 +00:00
|
|
|
|
2009-11-11 15:52:26 +00:00
|
|
|
installPhase = ''
|
2013-05-01 15:22:37 +00:00
|
|
|
mv $PWD $out
|
|
|
|
find $out/bin -name \*.sh -print0 | xargs -0 sed -i -e '/#!\/bin\/sh/aJAVA_HOME=${jdk}'
|
2009-11-11 15:52:26 +00:00
|
|
|
'';
|
2020-10-02 08:31:30 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-02 07:58:50 +00:00
|
|
|
homepage = "https://www.jboss.org/";
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Open Source J2EE application server";
|
2022-06-02 13:38:41 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2015-06-10 11:00:11 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.sander ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.unix;
|
2017-03-09 20:02:16 +00:00
|
|
|
knownVulnerabilities = [
|
|
|
|
"CVE-2015-7501: remote code execution in apache-commons-collections: InvokerTransformer during deserialisation"
|
|
|
|
];
|
2008-01-23 12:25:08 +00:00
|
|
|
};
|
|
|
|
}
|