mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
avro-cpp: 1.7.5 -> 1.8.1 + using boost 1.55 -> 1.60
This commit is contained in:
parent
542b737d86
commit
b587e953a1
@ -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 = {
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user