2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libamqpcpp";
|
2020-12-03 08:41:04 +00:00
|
|
|
version = "4.3.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CopernicaMarketingSoftware";
|
|
|
|
repo = "AMQP-CPP";
|
|
|
|
rev = "v${version}";
|
2020-12-03 08:41:04 +00:00
|
|
|
sha256 = "0yy6sq4rvv9c0f09vljnqx92zvr39bn1spl735hzn6253d7fm3a5";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|