depot/third_party/nixpkgs/pkgs/development/libraries/apache-activemq/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

28 lines
690 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "apache-activemq";
version = "5.16.3";
src = fetchurl {
sha256 = "sha256-GEbaKYXsZCU+zEGlTxR3cx60dQ/oQKndn9/uiOXJQlI=";
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;
};
}