1{ stdenv, buildPythonPackage, fetchPypi, isPy27, coverage, pytest, pytestcov }:
2
3buildPythonPackage rec {
4 pname = "vulture";
5 version = "2.0";
6 disabled = isPy27;
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "ab0dce458ab746212cc02ac10cf31912c43bbfdcccb49025745b00850beab086";
11 };
12
13 checkInputs = [ coverage pytest pytestcov ];
14 checkPhase = "pytest";
15
16 meta = with stdenv.lib; {
17 description = "Finds unused code in Python programs";
18 homepage = "https://github.com/jendrikseipp/vulture";
19 license = licenses.mit;
20 maintainers = with maintainers; [ mcwitt ];
21 };
22}