nixpkgs/pkgs/development/python-modules/vulture/default.nix

23 lines
588 B
Nix
Raw Normal View History

{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27, coverage, pytest, pytestcov }:
2020-08-01 20:26:38 -07:00
buildPythonPackage rec {
pname = "vulture";
2021-01-18 01:42:38 -08:00
version = "2.3";
disabled = isPy27;
2020-08-01 20:26:38 -07:00
src = fetchPypi {
inherit pname version;
2021-01-18 01:42:38 -08:00
sha256 = "0ryrmsm72z3fzaanyblz49q40h9d3bbl4pspn2lvkkp9rcmsdm83";
2020-08-01 20:26:38 -07:00
};
checkInputs = [ coverage pytest pytestcov ];
checkPhase = "pytest";
meta = with lib; {
2020-08-01 20:26:38 -07:00
description = "Finds unused code in Python programs";
homepage = "https://github.com/jendrikseipp/vulture";
license = licenses.mit;
maintainers = with maintainers; [ mcwitt ];
};
}