pythonPackages.jaraco_logging: 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/90301692
Addresses #56826
This commit is contained in:
Maximilian Bosch
2019-03-10 16:44:31 +01:00
parent 4c57b5e896
commit 18b0729790
2 changed files with 43 additions and 2 deletions

View File

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