depot/third_party/nixpkgs/pkgs/development/libraries/libamqpcpp/default.nix
Default email 93ffb054db Project import generated by Copybara.
GitOrigin-RevId: 6f0c00907bbd81b47052eef59f7b284926a77289
2020-11-24 21:58:05 +01:00

29 lines
724 B
Nix

{ stdenv, fetchFromGitHub, openssl }:
stdenv.mkDerivation rec {
pname = "libamqpcpp";
version = "4.3.8";
src = fetchFromGitHub {
owner = "CopernicaMarketingSoftware";
repo = "AMQP-CPP";
rev = "v${version}";
sha256 = "1cgpk1v8wgsdyl2gx1bk1nrqflc17ciy0wdg3rgzgy0avl4yghww";
};
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;
};
}