mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
c409710b20
Fixes CVE-2016-3088. See http://activemq.apache.org/security-advisories.data/CVE-2016-3088-announcement.txt.
31 lines
741 B
Nix
31 lines
741 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "apache-activemq-${version}";
|
|
version = "5.13.4";
|
|
|
|
src = fetchurl {
|
|
sha256 = "0sp806bmv9vs19zbzlv71ag09p1jbl2wn2wpxfwa20mndri8lsmz";
|
|
url = "mirror://apache/activemq/${version}/${name}-bin.tar.gz";
|
|
};
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
mv * $out/
|
|
for j in `find $out/lib -name "*.jar"`; do
|
|
cp="''${cp:+"$cp:"}$j";
|
|
done
|
|
echo "CLASSPATH=$cp" > $out/lib/classpath.env
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://activemq.apache.org/;
|
|
description = "Messaging and Integration Patterns server written in Java";
|
|
license = stdenv.lib.licenses.asl20;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
|
|
}
|