mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
3b6bc4b69c
these are the easily identifiable cases and will not be comprehensive
30 lines
755 B
Nix
30 lines
755 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "apache-activemq";
|
|
version = "5.17.1";
|
|
|
|
src = fetchurl {
|
|
sha256 = "sha256-YX7CUQLMYiUubZsGzElnZq8RbJdSUlW8jEs+de6eAMg=";
|
|
url = "mirror://apache/activemq/${version}/${pname}-${version}-bin.tar.gz";
|
|
};
|
|
|
|
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 = "https://activemq.apache.org/";
|
|
description = "Messaging and Integration Patterns server written in Java";
|
|
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
|
|
}
|