mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 22:57:42 +03:00
parent
97800cda51
commit
30fa830633
@ -1,18 +1,22 @@
|
|||||||
{stdenv, fetchurl, cmake, pkgconfig, zlib, curl, elfutils, python, libiberty, binutils}:
|
{stdenv, fetchFromGitHub, cmake, pkgconfig, zlib, curl, elfutils, python, libiberty, binutils}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "kcov-${version}";
|
name = "kcov-${version}";
|
||||||
version = "32";
|
version = "34";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/SimonKagstrom/kcov/archive/v${version}.tar.gz";
|
owner = "SimonKagstrom";
|
||||||
sha256 = "0ic5w6r3cpwb32iky1jmyvfclgkqr0rnfyim7j2r6im21846sa85";
|
repo = "kcov";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1i4pn5na8m308pssk8585nmqi8kwd63a9h2rkjrn4w78ibmxvj01";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = "patchShebangs src/bin-to-c-source.py";
|
preConfigure = "patchShebangs src/bin-to-c-source.py";
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ cmake zlib curl elfutils python libiberty binutils ];
|
buildInputs = [ cmake zlib curl elfutils python libiberty binutils ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.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 New Issue
Block a user