kcov: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-26 10:19:46 +01:00
parent f812cdd3b8
commit 732addbb81

View File

@ -1,4 +1,4 @@
{lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python, libiberty, libopcodes}:
{lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python3, libiberty, libopcodes}:
stdenv.mkDerivation rec {
pname = "kcov";
@ -12,9 +12,11 @@ stdenv.mkDerivation rec {
};
preConfigure = "patchShebangs src/bin-to-c-source.py";
nativeBuildInputs = [ cmake pkg-config ];
nativeBuildInputs = [ cmake pkg-config python3 ];
buildInputs = [ zlib curl elfutils python libiberty libopcodes ];
buildInputs = [ curl zlib elfutils libiberty libopcodes ];
strictDeps = true;
meta = with lib; {
description = "Code coverage tester for compiled programs, Python scripts and shell scripts";