2004-10-22 16:34:58 +02:00
|
|
|
{stdenv, fetchurl, perl}:
|
|
|
|
|
2009-08-28 16:11:09 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2016-05-05 10:38:33 +02:00
|
|
|
name = "lcov-1.12";
|
2010-04-18 23:51:33 +02:00
|
|
|
|
2004-10-22 16:34:58 +02:00
|
|
|
src = fetchurl {
|
2009-08-28 16:11:09 +02:00
|
|
|
url = "mirror://sourceforge/ltp/${name}.tar.gz";
|
2016-05-05 10:38:33 +02:00
|
|
|
sha256 = "19wfifdpxxivhq9adbphanjfga9bg9spms9v7c3589wndjff8x5l";
|
2004-10-22 16:34:58 +02:00
|
|
|
};
|
2008-03-20 19:51:07 +01:00
|
|
|
|
2016-05-05 10:38:33 +02:00
|
|
|
buildInputs = [ perl ];
|
2009-08-31 17:02:01 +02:00
|
|
|
|
2008-03-20 19:51:07 +01:00
|
|
|
preBuild = ''
|
2016-05-05 10:38:33 +02:00
|
|
|
patchShebangs bin/
|
2008-03-20 19:51:07 +01:00
|
|
|
makeFlagsArray=(PREFIX=$out BIN_DIR=$out/bin MAN_DIR=$out/share/man)
|
|
|
|
'';
|
|
|
|
|
2014-01-28 18:11:00 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Code coverage tool that enhances GNU gcov";
|
2010-04-18 23:51:33 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2008-03-20 19:51:07 +01:00
|
|
|
homepage = http://ltp.sourceforge.net/coverage/lcov.php;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-04-18 23:51:33 +02:00
|
|
|
|
2016-05-05 10:38:33 +02:00
|
|
|
maintainers = with maintainers; [ dezgeg mornfall ];
|
2014-01-28 18:11:00 +01:00
|
|
|
platforms = platforms.all;
|
2008-03-20 19:51:07 +01:00
|
|
|
};
|
2004-10-22 16:34:58 +02:00
|
|
|
}
|