nixpkgs/pkgs/development/libraries/libamqpcpp/default.nix
2022-09-21 21:27:14 +00:00

29 lines
722 B
Nix

{ lib, stdenv, fetchFromGitHub, openssl }:
stdenv.mkDerivation rec {
pname = "libamqpcpp";
version = "4.3.18";
src = fetchFromGitHub {
owner = "CopernicaMarketingSoftware";
repo = "AMQP-CPP";
rev = "v${version}";
sha256 = "sha256-cjxzBw2tjZROx5xzdhzZjGNJQe3tC9fHOhF/+uSM+CY=";
};
buildInputs = [ openssl ];
patches = [ ./libamqpcpp-darwin.patch ];
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
meta = with 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;
};
}