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:
parent
bc5ec7b1d4
commit
09fa385995
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue