1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, pytest
6, pylint
7, six
8, pytest-runner
9, toml
10}:
11
12buildPythonPackage rec {
13 pname = "pytest-pylint";
14 version = "0.18.0";
15 disabled = isPy27;
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "790c7a8019fab08e59bd3812db1657a01995a975af8b1c6ce95b9aa39d61da27";
20 };
21
22 nativeBuildInputs = [ pytest-runner ];
23
24 buildInputs = [ pytest ];
25
26 propagatedBuildInputs = [
27 pylint
28 six
29 toml
30 ];
31
32 # tests not included with release
33 doCheck = false;
34
35 meta = with lib; {
36 description = "pytest plugin to check source code with pylint";
37 homepage = "https://github.com/carsongee/pytest-pylint";
38 license = licenses.mit;
39 maintainers = [ maintainers.costrouc ];
40 };
41}