mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
33 lines
1 KiB
Nix
33 lines
1 KiB
Nix
{ stdenv, fetchurl, cmake, python2, boost, libuuid, ruby }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "qpid-cpp-${version}";
|
|
|
|
version = "0.34";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/qpid/cpp/${version}/${name}.tar.gz";
|
|
sha256 = "07ibwvw5lm7xabv32zai5x03r7l9mxm0zk7h9lbfkzmav0f41w0w";
|
|
};
|
|
|
|
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
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|