depot/third_party/nixpkgs/pkgs/development/libraries/apache-activemq/default.nix
Default email 48d4c8cc3c Project import generated by Copybara.
GitOrigin-RevId: 6ef4f522d63f22b40004319778761040d3197390
2021-08-08 17:34:03 -06:00

28 lines
689 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "apache-activemq";
version = "5.16.2";
src = fetchurl {
sha256 = "sha256-IS/soe5Lx1C+/UWnNcv+8AwMmu5FHvURbpkTMMGrEFs=";
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 = "http://activemq.apache.org/";
description = "Messaging and Integration Patterns server written in Java";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
};
}