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 {
|
|
|
|
name = "rabbitmq-c-${version}";
|
2018-01-16 21:15:25 +01:00
|
|
|
version = "0.8.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-01-16 21:15:25 +01:00
|
|
|
sha256 = "0vjh1q3hyzrq1iiddy28vvwpwwn4px00mjc2hqp4zgfpis2xlqbj";
|
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;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
2013-12-13 17:10:06 +01:00
|
|
|
};
|
|
|
|
}
|