2004-10-22 14:34:58 +00:00
|
|
|
{stdenv, fetchurl, perl}:
|
|
|
|
|
2009-08-28 14:11:09 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-03-15 07:27:54 +00:00
|
|
|
name = "lcov-1.14";
|
2010-04-18 21:51:33 +00:00
|
|
|
|
2004-10-22 14:34:58 +00:00
|
|
|
src = fetchurl {
|
2009-08-28 14:11:09 +00:00
|
|
|
url = "mirror://sourceforge/ltp/${name}.tar.gz";
|
2019-03-15 07:27:54 +00:00
|
|
|
sha256 = "06h7ixyznf6vz1qvksjgy5f3q2nw9akf6zx59npf0h3l32cmd68l";
|
2004-10-22 14:34:58 +00:00
|
|
|
};
|
2008-03-20 18:51:07 +00:00
|
|
|
|
2016-05-05 08:38:33 +00:00
|
|
|
buildInputs = [ perl ];
|
2009-08-31 15:02:01 +00:00
|
|
|
|
2008-03-20 18:51:07 +00:00
|
|
|
preBuild = ''
|
2016-05-05 08:38:33 +00:00
|
|
|
patchShebangs bin/
|
2019-03-15 07:27:54 +00:00
|
|
|
makeFlagsArray=(PREFIX=$out LCOV_PERL_PATH=$(command -v perl))
|
2008-03-20 18:51:07 +00:00
|
|
|
'';
|
|
|
|
|
2014-01-28 17:11:00 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Code coverage tool that enhances GNU gcov";
|
2010-04-18 21:51:33 +00: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 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-04-18 21:51:33 +00: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 14:34:58 +00:00
|
|
|
}
|