depot/third_party/nixpkgs/pkgs/development/libraries/rabbitmq-c/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

23 lines
579 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, openssl, popt, xmlto }:
stdenv.mkDerivation rec {
pname = "rabbitmq-c";
version = "0.10.0";
src = fetchFromGitHub {
owner = "alanxz";
repo = "rabbitmq-c";
rev = "v${version}";
sha256 = "1iv7aww4pam8497s524xjxbbxypyqd01qgrb0b429y3q9x06m4sw";
};
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;
};
}