1{ lib 2, buildPythonPackage 3, fetchPypi 4, jinja2 5, lxml 6, pygments 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "gcovr"; 12 version = "6.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-hjjV9E3vEOOOMWbIozvvZkPsIEaH4Kx9NFzkGpjFdQs="; 20 }; 21 22 propagatedBuildInputs = [ 23 jinja2 24 lxml 25 pygments 26 ]; 27 28 # There are no unit tests in the pypi tarball. Most of the unit tests on the 29 # github repository currently only work with gcc5, so we just disable them. 30 # See also: https://github.com/gcovr/gcovr/issues/206 31 doCheck = false; 32 33 pythonImportsCheck = [ 34 "gcovr" 35 "gcovr.workers" 36 "gcovr.configuration" 37 ]; 38 39 meta = with lib; { 40 description = "Python script for summarizing gcov data"; 41 homepage = "https://www.gcovr.com/"; 42 changelog = "https://github.com/gcovr/gcovr/blob/${version}/CHANGELOG.rst"; 43 license = licenses.bsd0; 44 maintainers = with maintainers; [ ]; 45 }; 46}