From e4f017ce56d2a9241d0e147b376558e138e11cec Mon Sep 17 00:00:00 2001 From: Alexey Shmalko Date: Mon, 6 Dec 2021 09:39:23 +0200 Subject: [PATCH] avro-cpp: use python3, move to nativeBuildInputs --- pkgs/development/libraries/avro-c++/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/avro-c++/default.nix b/pkgs/development/libraries/avro-c++/default.nix index ad373300e02f..7ff60b965953 100644 --- a/pkgs/development/libraries/avro-c++/default.nix +++ b/pkgs/development/libraries/avro-c++/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, cmake, boost, python2}: +{ lib, stdenv, fetchurl, cmake, boost, python3 }: stdenv.mkDerivation rec { pname = "avro-c++"; @@ -9,8 +9,8 @@ stdenv.mkDerivation rec { sha256 = "1ars58bfw83s8f1iqbhnqp4n9wc9cxsph0gs2a8k7r9fi09vja2k"; }; - nativeBuildInputs = [ cmake ]; - buildInputs = [ python2 boost ]; + nativeBuildInputs = [ cmake python3 ]; + buildInputs = [ boost ]; preConfigure = '' substituteInPlace test/SchemaTests.cc --replace "BOOST_CHECKPOINT" "BOOST_TEST_CHECKPOINT"