Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pylint-plugin-utils / default.nix
bloba8cff3800960855f987fdb80825b14fcc70b3072
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pylint
5 , pytestCheckHook
6 , pythonOlder
7 , toml
8 }:
10 buildPythonPackage rec {
11   pname = "pylint-plugin-utils";
12   version = "0.7";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "PyCQA";
19     repo = pname;
20     rev = version;
21     hash = "sha256-uDsSSUWdlzuQz6umoYLbIotOYNEnLQu041ZZVMRd2ww=";
22   };
24   propagatedBuildInputs = [
25     pylint
26     toml
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "pylint_plugin_utils"
35   ];
37   # https://github.com/PyCQA/pylint-plugin-utils/issues/26
38   doCheck = false;
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   };