flake8-future-import: Add patch to fix tests.

This commit is contained in:
Tom Hunger 2017-09-23 16:39:04 +01:00
parent 62f4ded8d2
commit 8cc240af22
1 changed files with 13 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{ lib, fetchFromGitHub, buildPythonPackage, python, flake8, six }: { lib, fetchFromGitHub, buildPythonPackage, python, flake8, six,
fetchurl }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "flake8-future-import"; pname = "flake8-future-import";
@ -11,6 +12,17 @@ buildPythonPackage rec {
rev = version; rev = version;
sha256 = "0622bdcfa588m7g8igag6hf4rhjdwh74yfnrjwlxw4vlqhg344k4"; sha256 = "0622bdcfa588m7g8igag6hf4rhjdwh74yfnrjwlxw4vlqhg344k4";
}; };
patches = [
# Tests in 0.4.3 are broken. We can remove this patch after
# the next release.
(fetchurl {
url = "https://github.com/xZise/flake8-future-import/commit/b4f5a06b22c574fb5270574d1420715667768d5c.patch";
sha256 = "06n9ggz9p9kiwjb3vmaj44pm5vi4nhgzjfn7i730m85xn67xzmyn";
})
];
propagatedBuildInputs = [ flake8 six ]; propagatedBuildInputs = [ flake8 six ];
meta = { meta = {
homepage = https://github.com/xZise/flake8-future-import; homepage = https://github.com/xZise/flake8-future-import;