nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

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

(cherry picked from commit 09fa3859954bb1861f4d32dc06c51aa9af4099b6)

authored by

Tom Hunger and committed by
Robin Gloster
ec24d2b2 94183656

+13 -1
+13 -1
pkgs/development/python-modules/flake8-future-import/default.nix
··· 1 - { lib, fetchFromGitHub, buildPythonPackage, python, flake8, six }: 1 + { lib, fetchFromGitHub, buildPythonPackage, python, flake8, six, 2 + fetchurl }: 2 3 3 4 buildPythonPackage rec { 4 5 pname = "flake8-future-import"; ··· 12 11 rev = version; 13 12 sha256 = "0622bdcfa588m7g8igag6hf4rhjdwh74yfnrjwlxw4vlqhg344k4"; 14 13 }; 14 + 15 + patches = [ 16 + # Tests in 0.4.3 are broken. We can remove this patch after 17 + # the next release. 18 + (fetchurl { 19 + url = "https://github.com/xZise/flake8-future-import/commit/b4f5a06b22c574fb5270574d1420715667768d5c.patch"; 20 + sha256 = "06n9ggz9p9kiwjb3vmaj44pm5vi4nhgzjfn7i730m85xn67xzmyn"; 21 + }) 22 + ]; 23 + 24 + 15 25 propagatedBuildInputs = [ flake8 six ]; 16 26 meta = { 17 27 homepage = https://github.com/xZise/flake8-future-import;