Skip to content

Commit

Permalink
flake8-future-import: Add patch to fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
teh authored and globin committed Sep 28, 2017
1 parent bc5ec7b commit 09fa385
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pkgs/development/python-modules/flake8-future-import/default.nix
@@ -1,4 +1,5 @@
{ lib, fetchFromGitHub, buildPythonPackage, python, flake8, six }:
{ lib, fetchFromGitHub, buildPythonPackage, python, flake8, six,
fetchurl }:

buildPythonPackage rec {
pname = "flake8-future-import";
Expand All @@ -11,6 +12,17 @@ buildPythonPackage rec {
rev = version;
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 ];
meta = {
homepage = https://github.com/xZise/flake8-future-import;
Expand Down

0 comments on commit 09fa385

Please sign in to comment.