1{ lib, fetchFromGitHub, buildPythonPackage, flake8, six }: 2 3buildPythonPackage rec { 4 pname = "flake8-future-import"; 5 version = "0.4.5"; 6 7 # PyPI tarball doesn't include the test suite 8 src = fetchFromGitHub { 9 owner = "xZise"; 10 repo = "flake8-future-import"; 11 rev = version; 12 sha256 = "00fpxa6g8cabybnciwnpsbg60zhgydc966jgwyyggw1pcg0frdqr"; 13 }; 14 15 propagatedBuildInputs = [ flake8 six ]; 16 17 meta = { 18 homepage = https://github.com/xZise/flake8-future-import; 19 description = "A flake8 extension to check for the imported __future__ modules to make it easier to have a consistent code base"; 20 license = lib.licenses.mit; 21 }; 22}