2018-04-01 02:52:55 +02:00
|
|
|
{ stdenv, fetchFromGitHub, openssl }:
|
2017-04-10 13:00:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libamqpcpp";
|
2020-03-01 14:37:00 +01:00
|
|
|
version = "4.1.6";
|
2017-04-10 13:00:35 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CopernicaMarketingSoftware";
|
|
|
|
repo = "AMQP-CPP";
|
|
|
|
rev = "v${version}";
|
2020-03-01 14:37:00 +01:00
|
|
|
sha256 = "0cw1apj4qxfxpp0gz4my4656d5ijjj6s2y4rjahhj67h10qj4bd2";
|
2017-04-10 13:00:35 +02:00
|
|
|
};
|
|
|
|
|
2018-04-01 02:52:55 +02:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2017-04-10 13:00:35 +02: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 14:37:00 +01:00
|
|
|
homepage = "https://github.com/CopernicaMarketingSoftware/AMQP-CPP";
|
2017-04-10 13:00:35 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.mjp ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|