2018-04-01 01:52:55 +01:00
|
|
|
{ stdenv, fetchFromGitHub, openssl }:
|
2017-04-10 12:00:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libamqpcpp";
|
2020-12-01 00:00:51 +00:00
|
|
|
version = "4.3.10";
|
2017-04-10 12:00:35 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CopernicaMarketingSoftware";
|
|
|
|
repo = "AMQP-CPP";
|
|
|
|
rev = "v${version}";
|
2020-12-01 00:00:51 +00:00
|
|
|
sha256 = "0yy6sq4rvv9c0f09vljnqx92zvr39bn1spl735hzn6253d7fm3a5";
|
2017-04-10 12:00:35 +01:00
|
|
|
};
|
|
|
|
|
2018-04-01 01:52:55 +01:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2017-04-10 12:00:35 +01:00
|
|
|
patches = [ ./libamqpcpp-darwin.patch ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for communicating with a RabbitMQ server";
|
2020-03-01 13:37:00 +00:00
|
|
|
homepage = "https://github.com/CopernicaMarketingSoftware/AMQP-CPP";
|
2017-04-10 12:00:35 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.mjp ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|