at 22.05-pre 818 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, jinja2 5, lxml 6, pygments 7}: 8 9buildPythonPackage rec { 10 pname = "gcovr"; 11 version = "5.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "1d80264cbaadff356b3dda71b8c62b3aa803e5b3eb6d526a24932cd6660a2576"; 16 }; 17 18 propagatedBuildInputs = [ 19 jinja2 20 lxml 21 pygments 22 ]; 23 24 # There are no unit tests in the pypi tarball. Most of the unit tests on the 25 # github repository currently only work with gcc5, so we just disable them. 26 # See also: https://github.com/gcovr/gcovr/issues/206 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "gcovr" 31 "gcovr.workers" 32 "gcovr.configuration" 33 ]; 34 35 meta = with lib; { 36 description = "A Python script for summarizing gcov data"; 37 license = licenses.bsd0; 38 homepage = "https://www.gcovr.com/"; 39 }; 40}