kcov: use python3
This commit is contained in:
parent
f812cdd3b8
commit
732addbb81
1 changed files with 5 additions and 3 deletions
|
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "kcov";
|
pname = "kcov";
|
||||||
|
@ -12,9 +12,11 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = "patchShebangs src/bin-to-c-source.py";
|
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; {
|
meta = with lib; {
|
||||||
description = "Code coverage tester for compiled programs, Python scripts and shell scripts";
|
description = "Code coverage tester for compiled programs, Python scripts and shell scripts";
|
||||||
|
|
Loading…
Reference in a new issue