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

23 lines
602 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, isPy27, coverage, pytest, pytestcov }:
2020-08-02 04:26:38 +01:00
buildPythonPackage rec {
pname = "vulture";
2020-08-16 18:31:19 +01:00
version = "2.0";
disabled = isPy27;
2020-08-02 04:26:38 +01:00
src = fetchPypi {
inherit pname version;
2020-08-16 18:31:19 +01:00
sha256 = "ab0dce458ab746212cc02ac10cf31912c43bbfdcccb49025745b00850beab086";
2020-08-02 04:26:38 +01: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 ];
};
}