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