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

30 lines
732 B
Nix
Raw Normal View History

2018-04-01 00:52:55 +00:00
{ stdenv, fetchFromGitHub, openssl }:
2017-04-10 11:00:35 +00:00
stdenv.mkDerivation rec {
name = "libamqpcpp-${version}";
2019-01-27 14:28:07 +00:00
version = "4.1.3";
2017-04-10 11:00:35 +00:00
src = fetchFromGitHub {
owner = "CopernicaMarketingSoftware";
repo = "AMQP-CPP";
rev = "v${version}";
2019-01-27 14:28:07 +00:00
sha256 = "0qk431ra7vcklc67fdaddrj5a7j50znjr79zrwvhkcfy82fd56zw";
2017-04-10 11:00:35 +00:00
};
2018-04-01 00:52:55 +00:00
buildInputs = [ openssl ];
2017-04-10 11:00:35 +00:00
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;
};
}