1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 12:59:25 +00:00
nixpkgs/pkgs/development/python-modules/vulture/default.nix

23 lines
600 B
Nix
Raw Normal View History

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