From 060c5ac4f42f83eb5cf2110bc0b06a46916e2991 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 6 Dec 2019 01:19:59 -0800 Subject: [PATCH] python3Packages.gcovr: 4.1 -> 4.2 --- pkgs/development/python-modules/gcovr/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gcovr/default.nix b/pkgs/development/python-modules/gcovr/default.nix index e6f45a2b4c69..278bd381ca6a 100644 --- a/pkgs/development/python-modules/gcovr/default.nix +++ b/pkgs/development/python-modules/gcovr/default.nix @@ -2,19 +2,21 @@ , buildPythonPackage , fetchPypi , jinja2 +, lxml }: buildPythonPackage rec { pname = "gcovr"; - version = "4.1"; + version = "4.2"; src = fetchPypi { inherit pname version; - sha256 = "ca94c337f2d9a70db177ec4330534fad7b2b772beda625c1ec071fbcf1361e22"; + sha256 = "0gyady7x3v3l9fm1zan0idaggqqcm31y7g5vxk7h05p5h7f39bjs"; }; propagatedBuildInputs = [ jinja2 + lxml ]; # There are no unit tests in the pypi tarball. Most of the unit tests on the @@ -22,6 +24,12 @@ buildPythonPackage rec { # See also: https://github.com/gcovr/gcovr/issues/206 doCheck = false; + pythonImportsCheck = [ + "gcovr" + "gcovr.workers" + "gcovr.configuration" + ]; + meta = with stdenv.lib; { description = "A Python script for summarizing gcov data"; license = licenses.bsd0;