1{ lib 2, buildPythonPackage 3, coverage 4, fetchPypi 5, isPy27 6, pytest-cov 7, pytestCheckHook 8, toml 9}: 10 11buildPythonPackage rec { 12 pname = "vulture"; 13 version = "2.3"; 14 disabled = isPy27; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "0ryrmsm72z3fzaanyblz49q40h9d3bbl4pspn2lvkkp9rcmsdm83"; 19 }; 20 21 propagatedBuildInputs = [ toml ]; 22 23 checkInputs = [ 24 coverage 25 pytest-cov 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "vulture" ]; 30 31 meta = with lib; { 32 description = "Finds unused code in Python programs"; 33 homepage = "https://github.com/jendrikseipp/vulture"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ mcwitt ]; 36 }; 37}