depot/third_party/nixpkgs/pkgs/development/python-modules/vulture/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

22 lines
600 B
Nix

{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27, coverage, pytest, pytestcov }:
buildPythonPackage rec {
pname = "vulture";
version = "2.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "933bf7f3848e9e39ecab6a12faa59d5185471c887534abac13baea6fe8138cc2";
};
checkInputs = [ coverage pytest pytestcov ];
checkPhase = "pytest";
meta = with lib; {
description = "Finds unused code in Python programs";
homepage = "https://github.com/jendrikseipp/vulture";
license = licenses.mit;
maintainers = with maintainers; [ mcwitt ];
};
}