nixpkgs/pkgs/development/libraries/rabbitmq-c/default.nix

24 lines
615 B
Nix
Raw Normal View History

2015-03-12 04:49:17 +03:00
{ stdenv, fetchFromGitHub, cmake, openssl, popt, xmlto }:
2013-12-13 20:10:06 +04:00
stdenv.mkDerivation rec {
name = "rabbitmq-c-${version}";
2015-06-19 08:55:12 +03:00
version = "0.7.0";
2013-12-13 20:10:06 +04:00
2015-03-12 04:49:17 +03:00
src = fetchFromGitHub {
owner = "alanxz";
repo = "rabbitmq-c";
rev = "v${version}";
2015-06-19 08:55:12 +03:00
sha256 = "1nfb82lbccr46wr4a2fsrkvpvdvmnyx8kn275hvdfz7mxpkd5qy6";
2013-12-13 20:10:06 +04:00
};
buildInputs = [ cmake openssl popt xmlto ];
2015-03-12 04:49:17 +03:00
meta = with stdenv.lib; {
2013-12-13 20:10:06 +04:00
description = "RabbitMQ C AMQP client library";
homepage = https://github.com/alanxz/rabbitmq-c;
2015-03-12 04:49:17 +03:00
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
2013-12-13 20:10:06 +04:00
};
}