activemq: migrate to pkgs/by-name, format with nixfmt-rfc-style
This commit is contained in:
parent
c93724d2e6
commit
193cfe48d4
@ -1,21 +1,29 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "apache-activemq";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "activemq";
|
||||
version = "6.1.2";
|
||||
|
||||
src = fetchurl {
|
||||
sha256 = "sha256-EJZWrGvXICxp+eDzrX5BPnl/ZuUMO7utKgaS2c4IBQ0=";
|
||||
url = "mirror://apache/activemq/${version}/${pname}-${version}-bin.tar.gz";
|
||||
url = "https://archive.apache.org/dist/activemq/${version}/apache-activemq-${version}-bin.tar.gz";
|
||||
hash = "sha256-EJZWrGvXICxp+eDzrX5BPnl/ZuUMO7utKgaS2c4IBQ0=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
mv * $out/
|
||||
for j in `find $out/lib -name "*.jar"`; do
|
||||
for j in $(find $out/lib -name "*.jar"); do
|
||||
cp="''${cp:+"$cp:"}$j";
|
||||
done
|
||||
echo "CLASSPATH=$cp" > $out/lib/classpath.env
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@ -23,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Messaging and Integration Patterns server written in Java";
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "activemq";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
|
||||
}
|
@ -19005,8 +19005,6 @@ with pkgs;
|
||||
|
||||
acsccid = callPackage ../tools/security/acsccid { };
|
||||
|
||||
activemq = callPackage ../development/libraries/apache-activemq { };
|
||||
|
||||
adns = callPackage ../development/libraries/adns { };
|
||||
|
||||
adslib = callPackage ../development/libraries/adslib { };
|
||||
|
Loading…
Reference in New Issue
Block a user