2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, openssl }:
|
2017-04-10 11:00:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libamqpcpp";
|
2022-01-24 17:15:48 +00:00
|
|
|
version = "4.3.16";
|
2017-04-10 11:00:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CopernicaMarketingSoftware";
|
|
|
|
repo = "AMQP-CPP";
|
|
|
|
rev = "v${version}";
|
2022-01-24 17:15:48 +00:00
|
|
|
sha256 = "sha256-aBLNdw9LhHFwnIt70vIYlX1/j2IUTmpm5Ub+ZImF8FI=";
|
2017-04-10 11:00:35 +00:00
|
|
|
};
|
|
|
|
|
2018-04-01 00:52:55 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2017-04-10 11:00:35 +00:00
|
|
|
patches = [ ./libamqpcpp-darwin.patch ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-04-10 11:00:35 +00:00
|
|
|
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 11:00:35 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.mjp ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|