mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
acbab2f03f
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
37 lines
785 B
Nix
37 lines
785 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
openssl,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libamqpcpp";
|
|
version = "4.3.27";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CopernicaMarketingSoftware";
|
|
repo = "AMQP-CPP";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-iaOXdDIJOBXHyjE07CvU4ApTh71lmtMCyU46AV+MGXQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
patches = [ ./libamqpcpp-darwin.patch ];
|
|
|
|
enableParallelBuilding = true;
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Library for communicating with a RabbitMQ server";
|
|
homepage = "https://github.com/CopernicaMarketingSoftware/AMQP-CPP";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ mjp ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|