nixpkgs-suyu/pkgs/development/tools/analysis/lcov/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

{stdenv, fetchurl, perl}:
stdenv.mkDerivation rec {
2016-05-05 10:38:33 +02:00
name = "lcov-1.12";
src = fetchurl {
url = "mirror://sourceforge/ltp/${name}.tar.gz";
2016-05-05 10:38:33 +02:00
sha256 = "19wfifdpxxivhq9adbphanjfga9bg9spms9v7c3589wndjff8x5l";
};
2016-05-05 10:38:33 +02:00
buildInputs = [ perl ];
preBuild = ''
2016-05-05 10:38:33 +02:00
patchShebangs bin/
makeFlagsArray=(PREFIX=$out BIN_DIR=$out/bin MAN_DIR=$out/share/man)
'';
2014-01-28 18:11:00 +01:00
meta = with stdenv.lib; {
description = "Code coverage tool that enhances GNU gcov";
longDescription =
'' LCOV is an extension of GCOV, a GNU tool which provides information
about what parts of a program are actually executed (i.e.,
"covered") while running a particular test case. The extension
consists of a set of PERL scripts which build on the textual GCOV
output to implement the following enhanced functionality such as
HTML output.
'';
homepage = http://ltp.sourceforge.net/coverage/lcov.php;
license = stdenv.lib.licenses.gpl2Plus;
2016-05-05 10:38:33 +02:00
maintainers = with maintainers; [ dezgeg mornfall ];
2014-01-28 18:11:00 +01:00
platforms = platforms.all;
};
}