Merge pull request #184816 from mweinelt/pipx

This commit is contained in:
Martin Weinelt 2022-08-02 14:53:45 +02:00 committed by GitHub
commit 82d7d0bd08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,19 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, hatchling
, userpath
, argcomplete
, packaging
, importlib-metadata
, pip
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pipx";
version = "1.1.0";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -23,6 +26,10 @@ buildPythonPackage rec {
sha256 = "sha256-6cKKVOgHIoKNfGqvDWK5cwBGBDkgfyRuBRDV6fruBoA=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
userpath
argcomplete
@ -31,7 +38,9 @@ buildPythonPackage rec {
importlib-metadata
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
preCheck = ''
export HOME=$(mktemp -d)
@ -61,6 +70,7 @@ buildPythonPackage rec {
"legacy_venv"
"determination"
"json"
"test_list_short"
];
meta = with lib; {