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