python3Packages.jaraco_itertools: fix tests

This commit is contained in:
Jonathan Ringer
2020-06-23 16:09:22 -07:00
committed by Jon
parent 5889e6941e
commit b6f95732fc
2 changed files with 5 additions and 41 deletions
@@ -11,16 +11,18 @@ buildPythonPackage rec {
sha256 = "6447d567f57efe5efea386265c7864652e9530830a1b80f43e60b4f222b9ab84";
};
patches = [ ./0001-Don-t-run-flake8-checks-during-the-build.patch ];
buildInputs = [ setuptools_scm ];
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ inflect more-itertools six ];
checkInputs = [ pytest ];
# tests no longer available through pypi
doCheck = false;
checkPhase = ''
pytest
'';
pythonImportsCheck = [ "jaraco.itertools" ];
meta = with lib; {
description = "Tools for working with iterables";
homepage = "https://github.com/jaraco/jaraco.itertools";