1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pylint,
7 pytestCheckHook,
8 pythonOlder,
9 toml,
10}:
11
12buildPythonPackage rec {
13 pname = "pylint-plugin-utils";
14 version = "0.9.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchFromGitHub {
20 owner = "PyCQA";
21 repo = "pylint-plugin-utils";
22 tag = version;
23 hash = "sha256-8C6vJDu60uSb6G0kvwiO0RAY9dU0yf955mAJAKhIkaQ=";
24 };
25
26 nativeBuildInputs = [ poetry-core ];
27
28 propagatedBuildInputs = [
29 pylint
30 toml
31 ];
32
33 nativeCheckInputs = [ pytestCheckHook ];
34
35 pythonImportsCheck = [ "pylint_plugin_utils" ];
36
37 meta = with lib; {
38 description = "Utilities and helpers for writing Pylint plugins";
39 homepage = "https://github.com/PyCQA/pylint-plugin-utils";
40 license = licenses.gpl2Only;
41 maintainers = with maintainers; [ kamadorueda ];
42 };
43}