mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 10:00:56 +00:00
d99a2fc093
* master: (293 commits) go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle qsyncthingtray: fix build qt56.qtwebengine: fix build stdman: d860212 -> 2017.04.02 jackett: use mono50 hg-git: disable with python3 hg-git: 0.8.5 -> 0.8.10 xfce4-settings: enable parallel building gcc-snapshot: mark as broken heaptrack: 2017-02-14 -> 2017-10-30 nixos-container: Modify existing test to cover show-ip command nixos-container: Make show-ip work together with ipv4 + netmask linux-copperhead: 4.13.12.a -> 4.13.13.a matterbridge: 1.1.0 -> 1.4.1 nixos/nghttpx: add module for the nghttpx proxy server (#31680) mattermost: 4.3.0 -> 4.4.0 breakpad: delete simp_le: 0.2.0 -> 0.6.1 certbot: 0.11.1 -> 0.19.0 afl: 2.51b -> 2.52b ...
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{stdenv, fetchFromGitHub, cmake, pkgconfig, zlib, curl, elfutils, python, libiberty, libopcodes}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "kcov-${version}";
|
|
version = "34";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SimonKagstrom";
|
|
repo = "kcov";
|
|
rev = "v${version}";
|
|
sha256 = "1i4pn5na8m308pssk8585nmqi8kwd63a9h2rkjrn4w78ibmxvj01";
|
|
};
|
|
|
|
preConfigure = "patchShebangs src/bin-to-c-source.py";
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ zlib curl elfutils python libiberty libopcodes ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Code coverage tester for compiled programs, Python scripts and shell scripts";
|
|
|
|
longDescription = ''
|
|
Kcov is a code coverage tester for compiled programs, Python
|
|
scripts and shell scripts. It allows collecting code coverage
|
|
information from executables without special command-line
|
|
arguments, and continuosly produces output from long-running
|
|
applications.
|
|
'';
|
|
|
|
homepage = http://simonkagstrom.github.io/kcov/index.html;
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.gal_bolle ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|