depot/third_party/nixpkgs/pkgs/development/python-modules/vulture/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

22 lines
602 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPy27, coverage, pytest, pytestcov }:
buildPythonPackage rec {
pname = "vulture";
version = "2.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "ab0dce458ab746212cc02ac10cf31912c43bbfdcccb49025745b00850beab086";
};
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 ];
};
}