2013-02-25 11:39:19 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apache-activemq-${version}";
|
2016-03-15 02:56:07 +01:00
|
|
|
version = "5.13.2";
|
2013-02-25 11:39:19 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-03-15 02:56:07 +01:00
|
|
|
sha256 = "0vrgny8fw973xvr3w4wc1s44z50b0c2hgcqa91s8fbx2yjmqn5xy";
|
|
|
|
url = "mirror://apache/activemq/${version}/${name}-bin.tar.gz";
|
2013-02-25 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 14:56:10 +02:00
|
|
|
mkdir -p $out
|
2013-02-25 16:47:19 +01:00
|
|
|
mv * $out/
|
2013-02-25 11:39:19 +01: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 16:22:46 +02:00
|
|
|
description = "Messaging and Integration Patterns server written in Java";
|
2013-02-25 11:39:19 +01:00
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|