8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
30 lines
745 B
Nix
30 lines
745 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "apache-activemq";
|
|
version = "5.14.5";
|
|
|
|
src = fetchurl {
|
|
sha256 = "0vm8z7rxb9n10xg5xjahy357704fw3q477hmpb83kd1zrc633g54";
|
|
url = "mirror://apache/activemq/${version}/${pname}-${version}-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;
|
|
};
|
|
|
|
}
|