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