1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 hatchling, 7 hatch-vcs, 8}: 9 10buildPythonPackage rec { 11 pname = "argcomplete"; 12 version = "3.6.2"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "kislyuk"; 19 repo = "argcomplete"; 20 tag = "v${version}"; 21 hash = "sha256-2o0gQtkQP9cax/8SUd9+65TwAIAjBYnI+ufuzZtrVyo="; 22 }; 23 24 build-system = [ 25 hatchling 26 hatch-vcs 27 ]; 28 29 # Tries to build and install test packages which fails 30 doCheck = false; 31 32 pythonImportsCheck = [ "argcomplete" ]; 33 34 meta = with lib; { 35 description = "Bash tab completion for argparse"; 36 homepage = "https://kislyuk.github.io/argcomplete/"; 37 changelog = "https://github.com/kislyuk/argcomplete/blob/${src.tag}/Changes.rst"; 38 downloadPage = "https://github.com/kislyuk/argcomplete"; 39 license = licenses.asl20; 40 maintainers = with maintainers; [ womfoo ]; 41 }; 42}