35 lines
605 B
Nix
35 lines
605 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
openssl,
|
|
popt,
|
|
xmlto,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rabbitmq-c";
|
|
version = "0.15.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alanxz";
|
|
repo = "rabbitmq-c";
|
|
rev = "v${version}";
|
|
hash = "sha256-uOI+YV9aV/LGlSxr75sSii5jQ005smCVe14QAGNpKY8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
openssl
|
|
popt
|
|
xmlto
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "RabbitMQ C AMQP client library";
|
|
homepage = "https://github.com/alanxz/rabbitmq-c";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|