1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

Merge pull request #10509 from markus1189/activemq-512

Add 5.12.1 version of Apache ActiveMQ in addition to 5.8.0
This commit is contained in:
Arseniy Seroka 2016-03-10 16:08:11 +03:00
commit 16bffdcb99
4 changed files with 19 additions and 4 deletions

View file

@ -0,0 +1,6 @@
import ./recent.nix
rec {
version = "5.12.1";
sha256 = "1hn6pls12dzc2fngz6lji7kmz7blvd3z1dq4via8gd4fjflmw5c9";
mkUrl = name: "mirror://apache/activemq/${version}/${name}-bin.tar.gz";
}

View file

@ -0,0 +1,6 @@
import ./recent.nix
rec {
version = "5.8.0";
sha256 = "12a1lmmqapviqdgw307jm07vw1z5q53r56pkbp85w9wnqwspjrbk";
mkUrl = name: "mirror://apache/activemq/apache-activemq/${version}/${name}-bin.tar.gz";
}

View file

@ -1,12 +1,13 @@
{ version, sha256, mkUrl }:
# use a function to make the source url, because the url schemes differ between 5.8.0 and greater
{ 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";
url = mkUrl name;
inherit sha256;
};
phases = [ "unpackPhase" "installPhase" ];

View file

@ -6372,7 +6372,9 @@ let
acl = callPackage ../development/libraries/acl { };
activemq = callPackage ../development/libraries/apache-activemq { };
activemq = callPackage ../development/libraries/apache-activemq/5.8.nix { };
activemq512 = callPackage ../development/libraries/apache-activemq/5.12.nix { };
adns = callPackage ../development/libraries/adns { };