@@ -0,0 +1,20 @@
1+{ lib, fetchFromGitHub, buildPythonPackage, python, flake8, six }:
2+
3+buildPythonPackage rec {
4+ pname = "flake8-future-import";
5+ name = "${pname}-${version}";
6+ version = "0.4.3";
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 = "0622bdcfa588m7g8igag6hf4rhjdwh74yfnrjwlxw4vlqhg344k4";
13+ };
14+ propagatedBuildInputs = [ flake8 six ];
15+ meta = {
16+ homepage = https://github.com/xZise/flake8-future-import;
17+ description = "A flake8 extension to check for the imported __future__ modules to make it easier to have a consistent code base";
18+ license = lib.licenses.mit;
19+ };
20+}