nixpkgs/pkgs/development/libraries/apache-activemq/default.nix
Graham Christensen 2be76d8b48 activemq: 5.8.0 -> 5.13.2
It seems Activemq was "split" in to 5.8.0 and 5.12.1 only to keep from
trampling someone on 5.8.0. This is to the point of not upgrading the
default, but making a new activemq attribute specific for 512.

As far as I can tell, there is no good reason to stay providing 5.8.0,
so this is the proposal to delete it.

Note: There are over 1,000 fixes between 5.9.0 to 5.13.2.
2016-03-14 20:56:07 -05:00

29 lines
698 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "apache-activemq-${version}";
version = "5.13.2";
src = fetchurl {
sha256 = "0vrgny8fw973xvr3w4wc1s44z50b0c2hgcqa91s8fbx2yjmqn5xy";
url = "mirror://apache/activemq/${version}/${name}-bin.tar.gz";
};
phases = [ "unpackPhase" "installPhase" ];
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 = stdenv.lib.licenses.asl20;
};
}