2019-04-12 15:43:53 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, pylint
|
|
|
|
, six
|
|
|
|
, pytestrunner
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-pylint";
|
2019-08-05 23:21:18 +02:00
|
|
|
version = "0.14.1";
|
2019-04-12 15:43:53 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-05 23:21:18 +02:00
|
|
|
sha256 = "1v6jqxbvzaw6v3xxwd689agy01k0j06q5c3q8gn2f3jlkrvylf4c";
|
2019-04-12 15:43:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytestrunner ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytest
|
|
|
|
pylint
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|