summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-pylint/default.nix
blob: e03e0fbe626c1dd4d2e1554da195beb1013714af (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
39
40
41
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytest
, pylint
, six
, pytest-runner
, toml
}:

buildPythonPackage rec {
  pname = "pytest-pylint";
  version = "0.18.0";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "790c7a8019fab08e59bd3812db1657a01995a975af8b1c6ce95b9aa39d61da27";
  };

  nativeBuildInputs = [ pytest-runner ];

  buildInputs = [ pytest ];

  propagatedBuildInputs = [
    pylint
    six
    toml
  ];

  # tests not included with release
  doCheck = false;

  meta = with lib; {
    description = "pytest plugin to check source code with pylint";
    homepage = "https://github.com/carsongee/pytest-pylint";
    license = licenses.mit;
    maintainers = [ maintainers.costrouc ];
  };
}