2024-09-22 20:01:26 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenvNoCC,
|
|
|
|
fetchurl,
|
|
|
|
}:
|
2013-02-25 10:39:19 +00:00
|
|
|
|
2024-09-22 20:05:54 +00:00
|
|
|
let
|
2024-11-13 01:21:24 +00:00
|
|
|
version = "6.1.4";
|
2024-09-22 20:05:54 +00:00
|
|
|
in
|
|
|
|
stdenvNoCC.mkDerivation {
|
2024-09-22 20:01:26 +00:00
|
|
|
pname = "activemq";
|
2024-09-22 20:05:54 +00:00
|
|
|
inherit version;
|
2013-02-25 10:39:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-09-22 20:01:26 +00:00
|
|
|
url = "https://archive.apache.org/dist/activemq/${version}/apache-activemq-${version}-bin.tar.gz";
|
2024-11-13 01:21:24 +00:00
|
|
|
hash = "sha256-8b0no0XUNOw3U2ULWtNW9R7DAWXtAajvh0nGuTkVNfM=";
|
2013-02-25 10:39:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2024-09-22 20:01:26 +00:00
|
|
|
runHook preInstall
|
|
|
|
|
2014-06-30 12:56:10 +00:00
|
|
|
mkdir -p $out
|
2013-02-25 15:47:19 +00:00
|
|
|
mv * $out/
|
2024-09-22 20:01:26 +00:00
|
|
|
for j in $(find $out/lib -name "*.jar"); do
|
2013-02-25 10:39:19 +00:00
|
|
|
cp="''${cp:+"$cp:"}$j";
|
|
|
|
done
|
|
|
|
echo "CLASSPATH=$cp" > $out/lib/classpath.env
|
2024-09-22 20:01:26 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2013-02-25 10:39:19 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2021-12-29 15:02:51 +00:00
|
|
|
homepage = "https://activemq.apache.org/";
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Messaging and Integration Patterns server written in Java";
|
2022-06-02 13:38:41 +00:00
|
|
|
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.asl20;
|
2024-09-22 20:01:26 +00:00
|
|
|
mainProgram = "activemq";
|
2024-09-22 20:07:40 +00:00
|
|
|
maintainers = [ lib.maintainers.anthonyroussel ];
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2013-02-25 10:39:19 +00:00
|
|
|
};
|
|
|
|
}
|