2018-04-01 01:52:55 +01:00
|
|
|
{ stdenv, fetchFromGitHub, openssl }:
|
2017-04-10 12:00:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libamqpcpp-${version}";
|
2018-04-01 01:52:55 +01:00
|
|
|
version = "3.0.0";
|
2017-04-10 12:00:35 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CopernicaMarketingSoftware";
|
|
|
|
repo = "AMQP-CPP";
|
|
|
|
rev = "v${version}";
|
2018-04-01 01:52:55 +01:00
|
|
|
sha256 = "0n93wy2v2hx9zalpyn8zxsxihh0xpgcd472qwvwsc253y97v8ngv";
|
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";
|
|
|
|
homepage = https://github.com/CopernicaMarketingSoftware/AMQP-CPP;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.mjp ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|