depot/third_party/nixpkgs/pkgs/development/libraries/apache-activemq/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

28 lines
690 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "apache-activemq";
version = "5.17.0";
src = fetchurl {
sha256 = "sha256-6war1/Re+tQvT1a2cf7n3/TMrDh+B2Wx0lbhm+pm+Jc=";
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";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
};
}