depot/third_party/nixpkgs/pkgs/development/libraries/libamqpcpp/default.nix
Default email 51e09efdfc Project import generated by Copybara.
GitOrigin-RevId: 296793637b22bdb4d23b479879eba0a71c132a66
2020-12-03 09:41:04 +01:00

29 lines
725 B
Nix

{ stdenv, fetchFromGitHub, openssl }:
stdenv.mkDerivation rec {
pname = "libamqpcpp";
version = "4.3.10";
src = fetchFromGitHub {
owner = "CopernicaMarketingSoftware";
repo = "AMQP-CPP";
rev = "v${version}";
sha256 = "0yy6sq4rvv9c0f09vljnqx92zvr39bn1spl735hzn6253d7fm3a5";
};
buildInputs = [ openssl ];
patches = [ ./libamqpcpp-darwin.patch ];
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Library for communicating with a RabbitMQ server";
homepage = "https://github.com/CopernicaMarketingSoftware/AMQP-CPP";
license = licenses.asl20;
maintainers = [ maintainers.mjp ];
platforms = platforms.all;
};
}