git.iko.soy/typeable/nixpkgs
on master help sign in
kcov: 32 -> 34

Tracking issue: #31696

commit30fa830633fb29c2cfb704bfe3fdbf76c168aa35 authorOrivej Desh <orivej@gmx.fr> dateThu 16 Nov 2017, 01:37 (9 years ago) parent97800cd
1 file changed+9−5
pkgs/development/tools/analysis/kcov/default.nix+9−5
pkgs/development/tools/analysis/kcov/default.nix+9−5
@@ -1,18 +1,22 @@
1−{stdenv, fetchurl, cmake, pkgconfig, zlib, curl, elfutils, python, libiberty, binutils}:
1+{stdenv, fetchFromGitHub, cmake, pkgconfig, zlib, curl, elfutils, python, libiberty, binutils}:
22
33stdenv.mkDerivation rec {
44 name = "kcov-${version}";
5− version = "32";
5+ version = "34";
66
7− src = fetchurl {
8− url = "https://github.com/SimonKagstrom/kcov/archive/v${version}.tar.gz";
9− sha256 = "0ic5w6r3cpwb32iky1jmyvfclgkqr0rnfyim7j2r6im21846sa85";
7+ src = fetchFromGitHub {
8+ owner = "SimonKagstrom";
9+ repo = "kcov";
10+ rev = "v${version}";
11+ sha256 = "1i4pn5na8m308pssk8585nmqi8kwd63a9h2rkjrn4w78ibmxvj01";
1012 };
1113
1214 preConfigure = "patchShebangs src/bin-to-c-source.py";
1315 nativeBuildInputs = [ pkgconfig ];
1416 buildInputs = [ cmake zlib curl elfutils python libiberty binutils ];
1517
18+ enableParallelBuilding = true;
19+
1620 meta = with stdenv.lib; {
1721 description = "Code coverage tester for compiled programs, Python scripts and shell scripts";
1822