nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 922 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchurl, 5}: 6 7let 8 version = "6.2.0"; 9in 10stdenvNoCC.mkDerivation { 11 pname = "activemq"; 12 inherit version; 13 14 src = fetchurl { 15 url = "mirror://apache/activemq/${version}/apache-activemq-${version}-bin.tar.gz"; 16 hash = "sha256-J3u/p5LRQPgJvQKm4/1TgZVUuFetWlItcWoUpn9jxpg="; 17 }; 18 19 installPhase = '' 20 runHook preInstall 21 22 mkdir -p $out 23 mv * $out/ 24 for j in $(find $out/lib -name "*.jar"); do 25 cp="''${cp:+"$cp:"}$j"; 26 done 27 echo "CLASSPATH=$cp" > $out/lib/classpath.env 28 29 runHook postInstall 30 ''; 31 32 meta = { 33 homepage = "https://activemq.apache.org/"; 34 description = "Messaging and Integration Patterns server written in Java"; 35 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 36 license = lib.licenses.asl20; 37 mainProgram = "activemq"; 38 maintainers = [ lib.maintainers.anthonyroussel ]; 39 platforms = lib.platforms.unix; 40 }; 41}