Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pylint-plugin-utils / default.nix
blob83315aed22a03d756746dcc7d4e7f8ba064b9abb
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pylint
6 , pytestCheckHook
7 , pythonOlder
8 , toml
9 }:
11 buildPythonPackage rec {
12   pname = "pylint-plugin-utils";
13   version = "0.8.2";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "PyCQA";
20     repo = "pylint-plugin-utils";
21     rev = "refs/tags/${version}";
22     hash = "sha256-xuPU1txfB+6+zJjtlfvNA950S5n7/PWPPFn1F3RtvCc=";
23   };
25   nativeBuildInputs = [
26     poetry-core
27   ];
29   propagatedBuildInputs = [
30     pylint
31     toml
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [
39     "pylint_plugin_utils"
40   ];
42   meta = with lib; {
43     description = "Utilities and helpers for writing Pylint plugins";
44     homepage = "https://github.com/PyCQA/pylint-plugin-utils";
45     license = licenses.gpl2Only;
46     maintainers = with maintainers; [ kamadorueda ];
47   };