nixpkgs/pkgs/development/libraries/libamqpcpp/default.nix

30 lines
724 B
Nix
Raw Normal View History

2018-03-31 17:52:55 -07:00
{ stdenv, fetchFromGitHub, openssl }:
2017-04-10 04:00:35 -07:00
stdenv.mkDerivation rec {
pname = "libamqpcpp";
2020-05-06 14:51:24 -07:00
version = "4.1.7";
2017-04-10 04:00:35 -07:00
src = fetchFromGitHub {
owner = "CopernicaMarketingSoftware";
repo = "AMQP-CPP";
rev = "v${version}";
2020-05-06 14:51:24 -07:00
sha256 = "16xgl0yqzqkqfrz7x9rbbv8rj5rg5jlz4a7apj9igqb58q0w362x";
2017-04-10 04:00:35 -07:00
};
2018-03-31 17:52:55 -07:00
buildInputs = [ openssl ];
2017-04-10 04:00:35 -07:00
patches = [ ./libamqpcpp-darwin.patch ];
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Library for communicating with a RabbitMQ server";
2020-03-01 05:37:00 -08:00
homepage = "https://github.com/CopernicaMarketingSoftware/AMQP-CPP";
2017-04-10 04:00:35 -07:00
license = licenses.asl20;
maintainers = [ maintainers.mjp ];
platforms = platforms.all;
};
}