Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 36 lines 661 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, pylint 6, six 7, pytestrunner 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-pylint"; 12 version = "0.14.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1v6jqxbvzaw6v3xxwd689agy01k0j06q5c3q8gn2f3jlkrvylf4c"; 17 }; 18 19 buildInputs = [ pytestrunner ]; 20 21 propagatedBuildInputs = [ 22 pytest 23 pylint 24 six 25 ]; 26 27 # tests not included with release 28 doCheck = false; 29 30 meta = with lib; { 31 description = "pytest plugin to check source code with pylint"; 32 homepage = https://github.com/carsongee/pytest-pylint; 33 license = licenses.mit; 34 maintainers = [ maintainers.costrouc ]; 35 }; 36}