activemq: 6.1.2 -> 6.1.3 (#343794)

This commit is contained in:
Peder Bergebakken Sundt 2024-10-01 02:04:50 +02:00 committed by GitHub
commit 268ee8ec60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 41 additions and 31 deletions

View File

@ -0,0 +1,41 @@
{
lib,
stdenvNoCC,
fetchurl,
}:
let
version = "6.1.3";
in
stdenvNoCC.mkDerivation {
pname = "activemq";
inherit version;
src = fetchurl {
url = "https://archive.apache.org/dist/activemq/${version}/apache-activemq-${version}-bin.tar.gz";
hash = "sha256-ytFOgW6ZDxMScJ6/wij0KJXYxUxlLTzVbwtRRWNdx5Q=";
};
installPhase = ''
runHook preInstall
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
runHook postInstall
'';
meta = {
homepage = "https://activemq.apache.org/";
description = "Messaging and Integration Patterns server written in Java";
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
license = lib.licenses.asl20;
mainProgram = "activemq";
maintainers = [ lib.maintainers.anthonyroussel ];
platforms = lib.platforms.unix;
};
}

View File

@ -1,29 +0,0 @@
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "apache-activemq";
version = "6.1.2";
src = fetchurl {
sha256 = "sha256-EJZWrGvXICxp+eDzrX5BPnl/ZuUMO7utKgaS2c4IBQ0=";
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 = {
homepage = "https://activemq.apache.org/";
description = "Messaging and Integration Patterns server written in Java";
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
};
}

View File

@ -18944,8 +18944,6 @@ with pkgs;
acsccid = callPackage ../tools/security/acsccid { };
activemq = callPackage ../development/libraries/apache-activemq { };
adns = callPackage ../development/libraries/adns { };
adslib = callPackage ../development/libraries/adslib { };