blob: b64afe82c6b7a7bb5db7889d510c70c5e7f1140a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flake8,
pycodestyle,
pylama,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "flake8-import-order";
version = "0.19.2";
pyproject = true;
src = fetchFromGitHub {
owner = "PyCQA";
repo = "flake8-import-order";
tag = version;
hash = "sha256-mXw3+pQMr2Ut1prj9sCZc4jyErDOyWJgq6OBPU1nZxs=";
};
build-system = [ setuptools ];
dependencies = [ pycodestyle ];
nativeCheckInputs = [
flake8
pycodestyle
pylama
pytestCheckHook
];
pythonImportsCheck = [ "flake8_import_order" ];
meta = {
description = "Flake8 and pylama plugin that checks the ordering of import statements";
homepage = "https://github.com/PyCQA/flake8-import-order";
changelog = "https://github.com/PyCQA/flake8-import-order/blob/${version}/CHANGELOG.rst";
license = lib.licenses.lgpl3Only;
maintainers = [ ];
};
}
|