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