1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

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

This commit is contained in:
Tom Hunger 2017-09-23 16:39:04 +01:00 committed by Robin Gloster
parent bc5ec7b1d4
commit 09fa385995
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -1,4 +1,5 @@
{ lib, fetchFromGitHub, buildPythonPackage, python, flake8, six }:
{ lib, fetchFromGitHub, buildPythonPackage, python, flake8, six,
fetchurl }:
buildPythonPackage rec {
pname = "flake8-future-import";
@ -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;