mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
24 lines
578 B
Nix
24 lines
578 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, openssl, popt, xmlto }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rabbitmq-c";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alanxz";
|
|
repo = "rabbitmq-c";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-u1uOrZRiQOU/6vlLdQHypBRSCo3zw7FC1AI9v3NlBVE=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|