2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "apache-activemq";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "5.17.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-04-15 01:41:22 +00:00
|
|
|
sha256 = "sha256-6war1/Re+tQvT1a2cf7n3/TMrDh+B2Wx0lbhm+pm+Jc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
url = "mirror://apache/activemq/${version}/${pname}-${version}-bin.tar.gz";
|
|
|
|
};
|
|
|
|
|
|
|
|
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 = {
|
2021-12-30 13:39:12 +00:00
|
|
|
homepage = "https://activemq.apache.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Messaging and Integration Patterns server written in Java";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|