1 { lib, stdenv, fetchurl, cmake, boost, python3 }:
3 stdenv.mkDerivation rec {
8 url = "mirror://apache/avro/avro-${version}/cpp/avro-cpp-${version}.tar.gz";
9 sha256 = "sha256-73DKihz+7XAX3LLA7VkTdN6rFhuGvmyksxK8JMranFY=";
12 nativeBuildInputs = [ cmake python3 ];
13 buildInputs = [ boost ];
16 substituteInPlace test/SchemaTests.cc --replace "BOOST_CHECKPOINT" "BOOST_TEST_CHECKPOINT"
17 substituteInPlace test/buffertest.cc --replace "BOOST_MESSAGE" "BOOST_TEST_MESSAGE"
21 description = "A C++ library which implements parts of the Avro Specification";
22 homepage = "https://avro.apache.org/";
23 license = lib.licenses.asl20;
24 maintainers = with lib.maintainers; [ rasendubi ];
25 platforms = lib.platforms.all;