2013-02-25 10:39:19 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apache-activemq-${version}";
|
|
|
|
version = "5.8.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://apache/activemq/apache-activemq/${version}/${name}-bin.tar.gz";
|
|
|
|
sha256 = "12a1lmmqapviqdgw307jm07vw1z5q53r56pkbp85w9wnqwspjrbk";
|
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
ensureDir $out
|
2013-02-25 15:47:19 +00:00
|
|
|
mv * $out/
|
2013-02-25 10:39:19 +00:00
|
|
|
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/;
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Messaging and Integration Patterns server written in Java";
|
2013-02-25 10:39:19 +00:00
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|