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