diff options
author | Matt Wittmann <mcwitt@gmail.com> | 2020-08-01 20:26:38 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-01 21:05:55 -0700 |
commit | 00501bd13401228b0f198da0cded5c4c08a19e83 (patch) | |
tree | 22257197310db7dec4e1230d7402a69569cce779 /pkgs/development/python-modules | |
parent | b33e3ac8cd2c272af6fd3878d8787f02add37cc1 (diff) |
pythonPackages.vulture: init at 1.6
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/vulture/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/vulture/default.nix b/pkgs/development/python-modules/vulture/default.nix new file mode 100644 index 0000000000000..06f3265d42489 --- /dev/null +++ b/pkgs/development/python-modules/vulture/default.nix @@ -0,0 +1,21 @@ +{ stdenv, buildPythonPackage, fetchPypi, coverage, pytest, pytestcov }: + +buildPythonPackage rec { + pname = "vulture"; + version = "1.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "1sbwbwkpk3s7iwnwsdrvj1ydw9lgbn3xqhji7f8y5y6vvr77i53v"; + }; + + 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 ]; + }; +} |