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 {
|
|
|
|
name = "rabbitmq-c-${version}";
|
2015-11-09 04:41:28 +00:00
|
|
|
version = "0.7.1";
|
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}";
|
2015-11-09 04:41:28 +00:00
|
|
|
sha256 = "084zlir59zc505nxd4m2g9d355m9a8y94gbjaqmjz9kym8lpayd1";
|
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;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
2013-12-13 16:10:06 +00:00
|
|
|
};
|
|
|
|
}
|