mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Add apache-activemq 5.8.0, a Java message broker.
This commit is contained in:
parent
7783c274fd
commit
167a1c597b
33
pkgs/development/libraries/apache-activemq/default.nix
Normal file
33
pkgs/development/libraries/apache-activemq/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ 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 = ''
|
||||
ensureDir $out
|
||||
mv LICENSE lib $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.
|
||||
This nixpkg supplies the jar-files packaged in activemq's
|
||||
binary distribution.
|
||||
'';
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
@ -3395,6 +3395,8 @@ let
|
||||
|
||||
acl = callPackage ../development/libraries/acl { };
|
||||
|
||||
activemq = callPackage ../development/libraries/apache-activemq { };
|
||||
|
||||
adns = callPackage ../development/libraries/adns { };
|
||||
|
||||
afflib = callPackage ../development/libraries/afflib {};
|
||||
|
Loading…
Reference in New Issue
Block a user