18 buildPythonPackage rec {
23 disabled = pythonOlder "3.8";
25 src = fetchFromGitHub {
29 hash = "sha256-diHWzrSpXWbNosXKN5nj2FM09HicDhHWKxQDXc+AZ4o=";
42 ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
55 export HOME=$(mktemp -d)
59 "--ignore=tests/test_install_all_packages.py"
60 # start local pypi server and use in tests
65 # disable tests which are difficult to emulate due to shell manipulations
67 "script_from_internet"
68 "ensure_null_pythonpath"
69 # disable tests, which require internet connection
72 "ensure_null_pythonpath"
83 "test_auto_update_shared_libs"
86 "test_fetch_missing_python"
87 "test_list_does_not_trigger_maintenance"
88 "test_list_pinned_packages"
90 "test_list_standalone_interpreter"
91 "test_list_unused_standalone_interpreters"
92 "test_list_used_standalone_interpreters"
94 "test_skip_maintenance"
100 installShellCompletion --cmd pipx \
101 --bash <(register-python-argcomplete pipx --shell bash) \
102 --zsh <(register-python-argcomplete pipx --shell zsh) \
103 --fish <(register-python-argcomplete pipx --shell fish)
107 description = "Install and run Python applications in isolated environments";
108 mainProgram = "pipx";
109 homepage = "https://github.com/pypa/pipx";
110 changelog = "https://github.com/pypa/pipx/blob/${version}/CHANGELOG.md";
111 license = licenses.mit;
112 maintainers = with maintainers; [ yshym ];