kcov: 32 -> 34

Tracking issue: #31696
This commit is contained in:
Orivej Desh 2017-11-16 01:37:04 +00:00
parent 97800cda51
commit 30fa830633

View File

@ -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 {
name = "kcov-${version}";
version = "32";
version = "34";
src = fetchurl {
url = "https://github.com/SimonKagstrom/kcov/archive/v${version}.tar.gz";
sha256 = "0ic5w6r3cpwb32iky1jmyvfclgkqr0rnfyim7j2r6im21846sa85";
src = fetchFromGitHub {
owner = "SimonKagstrom";
repo = "kcov";
rev = "v${version}";
sha256 = "1i4pn5na8m308pssk8585nmqi8kwd63a9h2rkjrn4w78ibmxvj01";
};
preConfigure = "patchShebangs src/bin-to-c-source.py";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake zlib curl elfutils python libiberty binutils ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Code coverage tester for compiled programs, Python scripts and shell scripts";