pythonPackages.jaraco_itertools: fix build

The package currently fails because of some flake8 violations. However
invalid coding style shouldn't break the Nix package.

See also https://hydra.nixos.org/build/90115508
Addresses #56826
This commit is contained in:
Maximilian Bosch
2019-03-10 13:12:22 +01:00
parent c103b5b236
commit eede376d73
2 changed files with 43 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, setuptools_scm
, inflect, more-itertools, six, pytest, pytest-flake8 }:
, inflect, more-itertools, six, pytest
}:
buildPythonPackage rec {
pname = "jaraco.itertools";
@@ -10,9 +11,11 @@ buildPythonPackage rec {
sha256 = "d1380ed961c9a4724f0bcca85d2bffebaa2507adfde535d5ee717441c9105fae";
};
patches = [ ./0001-Don-t-run-flake8-checks-during-the-build.patch ];
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ inflect more-itertools six ];
checkInputs = [ pytest pytest-flake8 ];
checkInputs = [ pytest ];
checkPhase = ''
pytest