11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
21 rev = "refs/tags/v${version}";
22 hash = "sha256-BIUUg+Y6bbgjnIWPU/bZO2axSLSzIsRJwyu7lBVQz/Q=";
25 SETUPTOOLS_SCM_PRETEND_VERSION = version;
38 substituteInPlace setup.cfg \
39 --replace " --cov=shtab --cov-report=term-missing --cov-report=xml" ""
42 pythonImportsCheck = [
47 description = "Module for shell tab completion of Python CLI applications";
48 homepage = "https://docs.iterative.ai/shtab/";
49 license = licenses.asl20;
50 maintainers = with maintainers; [ fab ];