depot/third_party/nixpkgs/pkgs/development/libraries/rabbitmq-c/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

23 lines
576 B
Nix

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