2024-11-12 12:24:30 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
openssl,
|
|
|
|
}:
|
2017-04-10 11:00:35 +00:00
|
|
|
|
2024-11-12 12:24:30 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libamqpcpp";
|
2024-10-25 14:23:48 +00:00
|
|
|
version = "4.3.27";
|
2017-04-10 11:00:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CopernicaMarketingSoftware";
|
|
|
|
repo = "AMQP-CPP";
|
2024-11-12 12:24:30 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2024-10-25 14:23:48 +00:00
|
|
|
sha256 = "sha256-iaOXdDIJOBXHyjE07CvU4ApTh71lmtMCyU46AV+MGXQ=";
|
2017-04-10 11:00:35 +00:00
|
|
|
};
|
|
|
|
|
2024-11-12 12:24:30 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2018-04-01 00:52:55 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2017-04-10 11:00:35 +00:00
|
|
|
patches = [ ./libamqpcpp-darwin.patch ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2024-11-12 12:24:30 +00:00
|
|
|
doCheck = true;
|
2017-04-10 11:00:35 +00:00
|
|
|
|
2024-11-12 12:24:30 +00:00
|
|
|
meta = {
|
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";
|
2024-11-12 12:24:30 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ mjp ];
|
|
|
|
platforms = lib.platforms.all;
|
2017-04-10 11:00:35 +00:00
|
|
|
};
|
2024-11-12 12:24:30 +00:00
|
|
|
})
|