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