avro-cpp: 1.7.5 -> 1.8.1 + using boost 1.55 -> 1.60

This commit is contained in:
Bruno Bzeznik 2016-10-21 17:35:26 +02:00
parent 542b737d86
commit b587e953a1
2 changed files with 10 additions and 5 deletions

View File

@ -1,22 +1,27 @@
{ stdenv, fetchurl, cmake, boost155, pythonPackages
{ stdenv, fetchurl, cmake, boost, pythonPackages
}:
let version = "1.7.5"; in
let version = "1.8.1"; in
stdenv.mkDerivation {
name = "avro-c++-${version}";
src = fetchurl {
url = "mirror://apache/avro/avro-${version}/cpp/avro-cpp-${version}.tar.gz";
sha256 = "064ssbbgrc3hyalzj8rn119bsrnyk1vlpkhl8gghv96jgqbpdyb3";
sha256 = "6559755ac525e908e42a2aa43444576cba91e522fe989088ee7f70c169bcc403";
};
buildInputs = [
cmake
boost155
boost
pythonPackages.python
];
preConfigure = ''
substituteInPlace test/SchemaTests.cc --replace "BOOST_CHECKPOINT" "BOOST_TEST_CHECKPOINT"
substituteInPlace test/buffertest.cc --replace "BOOST_MESSAGE" "BOOST_TEST_MESSAGE"
'';
enableParallelBuilding = true;
meta = {

View File

@ -564,7 +564,7 @@ in
qt4Support = config.avahi.qt4Support or false;
};
avro-cpp = callPackage ../development/libraries/avro-c++ { };
avro-cpp = callPackage ../development/libraries/avro-c++ { boost = boost160; };
aws = callPackage ../tools/virtualization/aws { };