diff options
Diffstat (limited to 'pkgs/development/python-modules/justext/default.nix')
-rw-r--r-- | pkgs/development/python-modules/justext/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/justext/default.nix b/pkgs/development/python-modules/justext/default.nix index fd9d94c399a01..299894cae2208 100644 --- a/pkgs/development/python-modules/justext/default.nix +++ b/pkgs/development/python-modules/justext/default.nix @@ -3,7 +3,9 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, + pytest-cov-stub, lxml, + lxml-html-clean, }: buildPythonPackage rec { @@ -18,15 +20,15 @@ buildPythonPackage rec { hash = "sha256-9i7hzCK/ijh8xw9l2ZbVhVj5IBf0WD/49/R1tSWgqrQ="; }; - propagatedBuildInputs = [ lxml ]; + propagatedBuildInputs = [ + lxml + lxml-html-clean + ]; - nativeCheckInputs = [ pytestCheckHook ]; - - # patch out coverage report - postPatch = '' - substituteInPlace setup.cfg \ - --replace " --cov=justext --cov-report=term-missing --no-cov-on-fail" "" - ''; + nativeCheckInputs = [ + pytestCheckHook + pytest-cov-stub + ]; pythonImportsCheck = [ "justext" ]; |