Merge pull request #109721 from fabaff/bump-vulture
This commit is contained in:
commit
e0604b3abe
@ -1,17 +1,32 @@
|
||||
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27, coverage, pytest, pytestcov }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, coverage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
, toml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vulture";
|
||||
version = "2.1";
|
||||
version = "2.3";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "933bf7f3848e9e39ecab6a12faa59d5185471c887534abac13baea6fe8138cc2";
|
||||
sha256 = "0ryrmsm72z3fzaanyblz49q40h9d3bbl4pspn2lvkkp9rcmsdm83";
|
||||
};
|
||||
|
||||
checkInputs = [ coverage pytest pytestcov ];
|
||||
checkPhase = "pytest";
|
||||
propagatedBuildInputs = [ toml ];
|
||||
|
||||
checkInputs = [
|
||||
coverage
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "vulture" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Finds unused code in Python programs";
|
||||
|
Loading…
Reference in New Issue
Block a user