2020-08-02 05:26:38 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, coverage, pytest, pytestcov }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "vulture";
|
2020-08-16 19:31:19 +02:00
|
|
|
version = "2.0";
|
2020-08-02 05:26:38 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 19:31:19 +02:00
|
|
|
sha256 = "ab0dce458ab746212cc02ac10cf31912c43bbfdcccb49025745b00850beab086";
|
2020-08-02 05:26:38 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ coverage pytest pytestcov ];
|
|
|
|
checkPhase = "pytest";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Finds unused code in Python programs";
|
|
|
|
homepage = "https://github.com/jendrikseipp/vulture";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mcwitt ];
|
|
|
|
};
|
|
|
|
}
|