nixpkgs/pkgs/by-name/li/libamqpcpp/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
785 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
cmake,
openssl,
}:
2017-04-10 11:00:35 +00:00
stdenv.mkDerivation (finalAttrs: {
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";
rev = "v${finalAttrs.version}";
2024-10-25 14:23:48 +00:00
sha256 = "sha256-iaOXdDIJOBXHyjE07CvU4ApTh71lmtMCyU46AV+MGXQ=";
2017-04-10 11:00:35 +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;
doCheck = true;
2017-04-10 11:00:35 +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";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ mjp ];
platforms = lib.platforms.all;
2017-04-10 11:00:35 +00:00
};
})