at 17.09-beta 36 lines 1.1 kB view raw
1{stdenv, fetchurl, perl}: 2 3stdenv.mkDerivation rec { 4 name = "lcov-1.13"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/ltp/${name}.tar.gz"; 8 sha256 = "08wabnb0gcjqk0qc65a6cgbbmz6b8lvam3p7byh0dk42hj3jr5s4"; 9 }; 10 11 buildInputs = [ perl ]; 12 13 preBuild = '' 14 patchShebangs bin/ 15 makeFlagsArray=(PREFIX=$out BIN_DIR=$out/bin MAN_DIR=$out/share/man) 16 ''; 17 18 meta = with stdenv.lib; { 19 description = "Code coverage tool that enhances GNU gcov"; 20 21 longDescription = 22 '' LCOV is an extension of GCOV, a GNU tool which provides information 23 about what parts of a program are actually executed (i.e., 24 "covered") while running a particular test case. The extension 25 consists of a set of PERL scripts which build on the textual GCOV 26 output to implement the following enhanced functionality such as 27 HTML output. 28 ''; 29 30 homepage = http://ltp.sourceforge.net/coverage/lcov.php; 31 license = stdenv.lib.licenses.gpl2Plus; 32 33 maintainers = with maintainers; [ dezgeg mornfall ]; 34 platforms = platforms.all; 35 }; 36}