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