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