3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/apache-activemq/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

31 lines
741 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;
platforms = stdenv.lib.platforms.unix;
};
}