2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2013-02-25 10:39:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "apache-activemq";
|
2021-01-29 10:36:30 +00:00
|
|
|
version = "5.16.1";
|
2013-02-25 10:39:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-29 10:36:30 +00:00
|
|
|
sha256 = "sha256-Q9PzqJC/+uhcbxAC6c+VD8wf0X8/XlXcO4XTnQni4yM=";
|
2019-08-15 12:41:18 +00: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 12:56:10 +00: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 01:11:51 +00:00
|
|
|
homepage = "http://activemq.apache.org/";
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Messaging and Integration Patterns server written in Java";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
platforms = lib.platforms.unix;
|
2013-02-25 10:39:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|