* Added rabbitmq-server.
svn path=/nixpkgs/branches/modular-python/; revision=26623
This commit is contained in:
parent
4585c62aec
commit
7359ed1671
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, fetchurl, erlang, python, libxml2, libxslt, xmlto
|
||||
, docbook_xml_dtd_45, docbook_xsl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "rabbitmq-server-2.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.rabbitmq.com/releases/rabbitmq-server/v2.4.0/${name}.tar.gz";
|
||||
sha256 = "0zvyyqw9kpzi791hvv8qj1aw0fpx5m5cgqfvffxfrdz8daxx3nma";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ erlang python libxml2 libxslt xmlto docbook_xml_dtd_45 docbook_xsl ];
|
||||
|
||||
preBuild =
|
||||
''
|
||||
# Fix the "/usr/bin/env" in "calculate-relative".
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
installFlags = "TARGET_DIR=$(out)/libexec/rabbitmq SBIN_DIR=$(out)/sbin MAN_DIR=$(out)/share/man";
|
||||
|
||||
postInstall =
|
||||
''
|
||||
echo 'PATH=${erlang}/bin:${PATH:+:}$PATH' >> $out/sbin/rabbitmq-env
|
||||
''; # */
|
||||
|
||||
meta = {
|
||||
homepage = http://www.rabbitmq.com/;
|
||||
description = "An implementation of the AMQP messaging protocol";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -4379,7 +4379,7 @@ let
|
|||
|
||||
sabnzbd = callPackage ../servers/sabnzbd { };
|
||||
|
||||
bind = callPackage ../servers/dns/bind/default.nix {
|
||||
bind = callPackage ../servers/dns/bind {
|
||||
inherit openssl libtool perl;
|
||||
};
|
||||
|
||||
|
@ -4503,6 +4503,8 @@ let
|
|||
inherit xmpppy python makeWrapper fetchcvs;
|
||||
};
|
||||
|
||||
rabbitmq_server = callPackage ../servers/amqp/rabbitmq-server { };
|
||||
|
||||
radius = callPackage ../servers/radius { };
|
||||
|
||||
redstore = callPackage ../servers/http/redstore { };
|
||||
|
|
Loading…
Reference in New Issue