pytest-flake8: 0.8.1 -> 0.9.1

nixos-19.03
Jaakko Luttinen 5 years ago
parent b8f7027360
commit c69f3eda3a
No known key found for this signature in database
GPG Key ID: 7B1CE13152E6B964
  1. 14
      pkgs/development/python-modules/pytest-flake8/default.nix

@ -3,7 +3,7 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pytest-flake8";
version = "0.8.1";
version = "0.9.1";
# although pytest is a runtime dependency, do not add it as
# propagatedBuildInputs in order to allow packages depend on another version
@ -13,19 +13,9 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "1za5i09gz127yraigmcl443w6149714l279rmlfxg1bl2kdsc45a";
sha256 = "0032l4x2i5qn7ikaaw0kjs9f4ccpas21j564spyxwmx50wnhf5p7";
};
patches = [
# Fix pytest strict mode (pull request #24)
# https://github.com/tholo/pytest-flake8/pull/24
(fetchpatch {
name = "fix-compatibility-with-pytest-strict-mode.patch";
url = "https://github.com/tholo/pytest-flake8/commit/434e1b07b4b77bfe1ddb9b2b54470c6c3815bb1a.patch";
sha256 = "0idwgkwwysx2cibnykd81yxrgqzkpf42j99jmpnanqzi99qnc3wx";
})
];
checkPhase = ''
pytest --ignore=nix_run_setup.py .
'';

Loading…
Cancel
Save