mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
40f7b0f9df
See c556a6ea46
.
30 lines
713 B
Nix
30 lines
713 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "apache-activemq-${version}";
|
|
version = "5.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/activemq/apache-activemq/${version}/${name}-bin.tar.gz";
|
|
sha256 = "12a1lmmqapviqdgw307jm07vw1z5q53r56pkbp85w9wnqwspjrbk";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|