summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylint-plugin-utils/default.nix
blob: 2d48ef7fea76c1091b814948328444f9b2c1a9e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ buildPythonPackage
, fetchFromGitHub
, isPy3k
, lib

# pythonPackages
, pylint
}:

buildPythonPackage rec {
  pname = "pylint-plugin-utils";
  version = "0.6";
  disabled = !isPy3k;

  src = fetchFromGitHub {
    owner = "PyCQA";
    repo = pname;
    rev = version;
    sha256 = "1zapmbczxs1phrwbd0yvpfxhljd2pyv4pi9rwggaq38lcnc325s7";
  };

  propagatedBuildInputs = [
    pylint
  ];

  checkPhase = ''
    python tests.py
  '';

  meta = with lib; {
    description = "Utilities and helpers for writing Pylint plugins";
    homepage = "https://github.com/PyCQA/pylint-plugin-utils";
    license = licenses.gpl2;
    maintainers = with maintainers; [
      kamadorueda
    ];
  };
}