2015-03-12 01:49:17 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, openssl, popt, xmlto }:
|
2013-12-13 16:10:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "rabbitmq-c";
|
2019-12-09 18:02:56 +00:00
|
|
|
version = "0.10.0";
|
2013-12-13 16:10:06 +00:00
|
|
|
|
2015-03-12 01:49:17 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alanxz";
|
|
|
|
repo = "rabbitmq-c";
|
|
|
|
rev = "v${version}";
|
2019-12-09 18:02:56 +00:00
|
|
|
sha256 = "1iv7aww4pam8497s524xjxbbxypyqd01qgrb0b429y3q9x06m4sw";
|
2013-12-13 16:10:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake openssl popt xmlto ];
|
|
|
|
|
2015-03-12 01:49:17 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-12-13 16:10:06 +00:00
|
|
|
description = "RabbitMQ C AMQP client library";
|
|
|
|
homepage = https://github.com/alanxz/rabbitmq-c;
|
2015-03-12 01:49:17 +00:00
|
|
|
license = licenses.mit;
|
2018-03-30 23:30:39 +01:00
|
|
|
platforms = platforms.unix;
|
2013-12-13 16:10:06 +00:00
|
|
|
};
|
|
|
|
}
|