mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 05:43:17 +00:00
c9e322eab5
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/bryzxhk66p8wvdskcgah9a3n2h12f81r-apache-activemq-5.14.5/bin/activemq --version` and found version 5.14.5 - ran `/nix/store/bryzxhk66p8wvdskcgah9a3n2h12f81r-apache-activemq-5.14.5/bin/activemq version` and found version 5.14.5 - ran `/nix/store/bryzxhk66p8wvdskcgah9a3n2h12f81r-apache-activemq-5.14.5/bin/activemq help` and found version 5.14.5 - ran `/nix/store/bryzxhk66p8wvdskcgah9a3n2h12f81r-apache-activemq-5.14.5/bin/macosx/wrapper --help` got 0 exit code - ran `/nix/store/bryzxhk66p8wvdskcgah9a3n2h12f81r-apache-activemq-5.14.5/bin/macosx/wrapper --help` and found version 5.14.5 - ran `/nix/store/bryzxhk66p8wvdskcgah9a3n2h12f81r-apache-activemq-5.14.5/bin/activemq-diag -h` got 0 exit code - found 5.14.5 with grep in /nix/store/bryzxhk66p8wvdskcgah9a3n2h12f81r-apache-activemq-5.14.5
31 lines
741 B
Nix
31 lines
741 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "apache-activemq-${version}";
|
|
version = "5.14.5";
|
|
|
|
src = fetchurl {
|
|
sha256 = "0vm8z7rxb9n10xg5xjahy357704fw3q477hmpb83kd1zrc633g54";
|
|
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;
|
|
};
|
|
|
|
}
|