mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
pythonPackages.flake8-future-import: fix build on Python 3.7
This commit is contained in:
parent
8942a3e00c
commit
8af15af15c
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, flake8, six }:
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, fetchpatch, flake8, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flake8-future-import";
|
||||
@ -12,6 +12,14 @@ buildPythonPackage rec {
|
||||
sha256 = "00fpxa6g8cabybnciwnpsbg60zhgydc966jgwyyggw1pcg0frdqr";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Add Python 3.7 support. Remove with the next release
|
||||
(fetchpatch {
|
||||
url = https://github.com/xZise/flake8-future-import/commit/cace194a44d3b95c9c1ed96640bae49183acca04.patch;
|
||||
sha256 = "17pkqnh035j5s5c53afs8bk49bq7lnmdwqp5k7izx7sw80z73p9r";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ flake8 six ];
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user