2019-04-12 14:43:53 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, pylint
|
|
|
|
, six
|
|
|
|
, pytestrunner
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-pylint";
|
2020-04-02 01:43:56 +01:00
|
|
|
version = "0.15.1";
|
2019-04-12 14:43:53 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-02 01:43:56 +01:00
|
|
|
sha256 = "0sbmnw3bly4pry5lp6q6g0r8xzaxwbdlf0k19k8pygkhllnj6gnx";
|
2019-04-12 14:43:53 +01: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";
|
2020-04-02 01:43:56 +01:00
|
|
|
homepage = "https://github.com/carsongee/pytest-pylint";
|
2019-04-12 14:43:53 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|