python3Packages.click-completion: add pythonImportsCheck, disable checkPhase

This commit is contained in:
Martin Weinelt 2022-01-16 15:52:32 +01:00
parent dece898eff
commit 0a5f324b56

View File

@ -1,18 +1,38 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k,
click, jinja2, shellingham, six
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
# propagates
, click
, jinja2
, shellingham
, six
}:
buildPythonPackage rec {
pname = "click-completion";
version = "0.5.2";
disabled = (!isPy3k);
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "5bf816b81367e638a190b6e91b50779007d14301b3f9f3145d68e3cade7bce86";
};
propagatedBuildInputs = [ click jinja2 shellingham six ];
propagatedBuildInputs = [
click
jinja2
shellingham
six
];
pythonImportsCheck = [
"click_completion"
];
# has no tests
doCheck = false;
meta = with lib; {
description = "Add or enhance bash, fish, zsh and powershell completion in Click";