Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.19.0"; 15 disabled = isPy27; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-2I6DwQI8ZBVIqew1Z3B87udhZjKphq8TNCbUp00GaTI="; 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}