pytest-flake8: 0.8.1 -> 0.9.1
This commit is contained in:
parent
b8f7027360
commit
c69f3eda3a
@ -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…
Reference in New Issue
Block a user