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:
commit
16bffdcb99
6
pkgs/development/libraries/apache-activemq/5.12.nix
Normal file
6
pkgs/development/libraries/apache-activemq/5.12.nix
Normal 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";
|
||||
}
|
6
pkgs/development/libraries/apache-activemq/5.8.nix
Normal file
6
pkgs/development/libraries/apache-activemq/5.8.nix
Normal 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";
|
||||
}
|
|
@ -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" ];
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue