My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/vulture/default.nix

37 lines
678 B

{ lib
, buildPythonPackage
, coverage
, fetchPypi
, isPy27
, pytest-cov
, pytestCheckHook
, toml
}:
buildPythonPackage rec {
pname = "vulture";
version = "2.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0ryrmsm72z3fzaanyblz49q40h9d3bbl4pspn2lvkkp9rcmsdm83";
};
propagatedBuildInputs = [ toml ];
checkInputs = [
coverage
pytest-cov
pytestCheckHook
];
pythonImportsCheck = [ "vulture" ];
meta = with lib; {
description = "Finds unused code in Python programs";
homepage = "https://github.com/jendrikseipp/vulture";
license = licenses.mit;
maintainers = with maintainers; [ mcwitt ];
};
}