2018-07-21 02:44:44 +02:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, flake8, six }:
|
2017-09-20 16:53:04 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flake8-future-import";
|
2018-04-17 17:23:52 +02:00
|
|
|
version = "0.4.5";
|
|
|
|
|
2017-09-20 16:53:04 +02:00
|
|
|
# PyPI tarball doesn't include the test suite
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xZise";
|
|
|
|
repo = "flake8-future-import";
|
|
|
|
rev = version;
|
2018-04-17 17:23:52 +02:00
|
|
|
sha256 = "00fpxa6g8cabybnciwnpsbg60zhgydc966jgwyyggw1pcg0frdqr";
|
2017-09-20 16:53:04 +02:00
|
|
|
};
|
2017-09-23 17:39:04 +02:00
|
|
|
|
2017-09-20 16:53:04 +02:00
|
|
|
propagatedBuildInputs = [ flake8 six ];
|
2018-04-17 17:23:52 +02:00
|
|
|
|
2017-09-20 16:53:04 +02:00
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/xZise/flake8-future-import;
|
|
|
|
description = "A flake8 extension to check for the imported __future__ modules to make it easier to have a consistent code base";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|