1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

pytest-flake8: 0.8.1 -> 0.9.1

This commit is contained in:
Jaakko Luttinen 2017-11-22 07:34:10 +02:00
parent b8f7027360
commit c69f3eda3a
No known key found for this signature in database
GPG key ID: 7B1CE13152E6B964

View file

@ -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 .
'';