2014-03-30 19:23:01 +02:00
|
|
|
{ stdenv, fetchurl, cmake, python, boost, libuuid, ruby }:
|
2013-10-24 12:44:03 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${project}-cpp-${version}";
|
|
|
|
|
|
|
|
project = "qpid";
|
2014-03-30 19:23:01 +02:00
|
|
|
version = "0.26";
|
2013-10-24 12:44:03 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://apache/${project}/${version}/${name}.tar.gz";
|
2014-03-30 19:23:01 +02:00
|
|
|
sha256 = "1c03yi19d5h5h78h37add9csmy0mzvvmvn7zkcalwszabdhsb5yk";
|
2013-10-24 12:44:03 +02:00
|
|
|
};
|
|
|
|
|
2014-10-01 21:55:40 +02:00
|
|
|
buildInputs = [ cmake python boost libuuid ruby ];
|
2013-10-24 12:44:03 +02: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;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.page ];
|
|
|
|
};
|
|
|
|
}
|