Merge pull request #109721 from fabaff/bump-vulture

This commit is contained in:
Sandro 2021-01-18 11:15:50 +01:00 committed by GitHub
commit e0604b3abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";