mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 21:24:03 +00:00
![Martin Weinelt](/assets/img/avatar_default.png)
https://www.openwall.com/lists/oss-security/2023/10/27/5 https://issues.apache.org/jira/browse/AMQ-9370 Fixes: CVE-2023-46604
30 lines
755 B
Nix
30 lines
755 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "apache-activemq";
|
|
version = "5.18.3";
|
|
|
|
src = fetchurl {
|
|
sha256 = "sha256-lDOBqm00BwfebELq2/e0G3/fk99gQVbZctUMTaeDVE8=";
|
|
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;
|
|
};
|
|
|
|
}
|