lol
1{stdenv, fetchurl, cmake, pkgconfig, zlib, curl, elfutils, python, libiberty, binutils}:
2
3stdenv.mkDerivation rec {
4 name = "kcov-${version}";
5 version = "32";
6
7 src = fetchurl {
8 url = "https://github.com/SimonKagstrom/kcov/archive/v${version}.tar.gz";
9 sha256 = "0ic5w6r3cpwb32iky1jmyvfclgkqr0rnfyim7j2r6im21846sa85";
10 };
11
12 preConfigure = "patchShebangs src/bin-to-c-source.py";
13 buildInputs = [ cmake pkgconfig zlib curl elfutils python libiberty binutils ];
14
15 meta = with stdenv.lib; {
16 description = "Code coverage tester for compiled programs, Python scripts and shell scripts";
17
18 longDescription = ''
19 Kcov is a code coverage tester for compiled programs, Python
20 scripts and shell scripts. It allows collecting code coverage
21 information from executables without special command-line
22 arguments, and continuosly produces output from long-running
23 applications.
24 '';
25
26 homepage = http://simonkagstrom.github.io/kcov/index.html;
27 license = licenses.gpl2;
28
29 maintainers = [ maintainers.gal_bolle ];
30 platforms = platforms.linux;
31 };
32}