nixpkgs/pkgs/servers/amqp/qpid-cpp/default.nix

34 lines
1 KiB
Nix
Raw Normal View History

2017-02-08 18:54:52 +00:00
{ stdenv, fetchurl, cmake, python2, boost, libuuid, ruby }:
stdenv.mkDerivation rec {
name = "qpid-cpp-${version}";
2018-03-06 19:59:18 +00:00
version = "1.37.0";
src = fetchurl {
url = "mirror://apache/qpid/cpp/${version}/${name}.tar.gz";
2018-03-06 19:59:18 +00:00
sha256 = "1s4hyi867i0lqn81c1crrk6fga1gmsv61675vjv5v41skz56lrsb";
};
2017-02-08 18:54:52 +00:00
buildInputs = [ cmake python2 boost libuuid ruby ];
# the subdir managementgen wants to install python stuff in ${python} and
# the installation tries to create some folders in /var
patchPhase = ''
sed -i '/managementgen/d' CMakeLists.txt
sed -i '/ENV/d' src/CMakeLists.txt
'';
2017-09-28 21:14:11 +00:00
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=unused-function";
meta = {
homepage = http://qpid.apache.org;
repositories.git = git://git.apache.org/qpid.git;
repositories.svn = http://svn.apache.org/repos/asf/qpid;
description = "An AMQP message broker and a C++ messaging API";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.cpages ];
};
}