2017-02-08 18:54:52 +00:00
|
|
|
{ stdenv, fetchurl, cmake, python2, boost, libuuid, ruby }:
|
2013-10-24 11:44:03 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-07-21 15:51:53 +01:00
|
|
|
name = "qpid-cpp-${version}";
|
2013-10-24 11:44:03 +01:00
|
|
|
|
2015-07-21 15:51:53 +01:00
|
|
|
version = "0.34";
|
2013-10-24 11:44:03 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-07-21 15:51:53 +01:00
|
|
|
url = "mirror://apache/qpid/cpp/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "07ibwvw5lm7xabv32zai5x03r7l9mxm0zk7h9lbfkzmav0f41w0w";
|
2013-10-24 11:44:03 +01:00
|
|
|
};
|
|
|
|
|
2017-02-08 18:54:52 +00:00
|
|
|
buildInputs = [ cmake python2 boost libuuid ruby ];
|
2013-10-24 11:44:03 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
2017-01-20 11:23:57 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.cpages ];
|
2013-10-24 11:44:03 +01:00
|
|
|
};
|
|
|
|
}
|