nixpkgs-suyu/pkgs/development/libraries/libamqpcpp/default.nix
2020-12-01 00:00:51 +00:00

29 lines
725 B
Nix

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