mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
30 lines
722 B
Nix
30 lines
722 B
Nix
{ stdenv, fetchFromGitHub, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libamqpcpp";
|
|
version = "4.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CopernicaMarketingSoftware";
|
|
repo = "AMQP-CPP";
|
|
rev = "v${version}";
|
|
sha256 = "1jyvpa68wymnn8wnh8i59pa9kdbixv86mh8q338agnwkmzvlgm58";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|