2013-02-25 10:39:19 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "apache-activemq";
|
2020-07-03 02:29:44 +01:00
|
|
|
version = "5.16.0";
|
2013-02-25 10:39:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-07-03 02:29:44 +01:00
|
|
|
sha256 = "0x68l4n0v2jqmbawdgpghmhnchpg1jsvxzskj6s4hjll6hdgb6fk";
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://apache/activemq/${version}/${pname}-${version}-bin.tar.gz";
|
2013-02-25 10:39:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 13:56:10 +01:00
|
|
|
mkdir -p $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 = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://activemq.apache.org/";
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "Messaging and Integration Patterns server written in Java";
|
2013-02-25 10:39:19 +00:00
|
|
|
license = stdenv.lib.licenses.asl20;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-02-25 10:39:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|