1{ buildPythonPackage
2, fetchFromGitHub
3, isPy3k
4, lib
5
6# pythonPackages
7, pylint
8, toml
9}:
10
11buildPythonPackage rec {
12 pname = "pylint-plugin-utils";
13 version = "0.6";
14 disabled = !isPy3k;
15
16 src = fetchFromGitHub {
17 owner = "PyCQA";
18 repo = pname;
19 rev = version;
20 sha256 = "1zapmbczxs1phrwbd0yvpfxhljd2pyv4pi9rwggaq38lcnc325s7";
21 };
22
23 propagatedBuildInputs = [
24 pylint toml
25 ];
26
27 checkPhase = ''
28 python tests.py
29 '';
30
31 meta = with lib; {
32 description = "Utilities and helpers for writing Pylint plugins";
33 homepage = "https://github.com/PyCQA/pylint-plugin-utils";
34 license = licenses.gpl2;
35 maintainers = with maintainers; [
36 kamadorueda
37 ];
38 };
39}