Merge pull request #221249 from r-ryantm/auto-update/pipx
pipx: 1.1.0 -> 1.2.0
This commit is contained in:
commit
126f49a01d
@ -1,29 +1,29 @@
|
||||
{ lib
|
||||
, argcomplete
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, hatchling
|
||||
, userpath
|
||||
, argcomplete
|
||||
, packaging
|
||||
, importlib-metadata
|
||||
, packaging
|
||||
, pip
|
||||
, platformdirs
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, userpath
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pipx";
|
||||
version = "1.1.0";
|
||||
version = "1.2.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
# no tests in the pypi tarball, so we directly fetch from github
|
||||
src = fetchFromGitHub {
|
||||
owner = "pipxproject";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-6cKKVOgHIoKNfGqvDWK5cwBGBDkgfyRuBRDV6fruBoA=";
|
||||
hash = "sha256-lm/Q+8nNubhaUR1pUbSIoD4DEUEkK+pQvvUdWNquW4Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -31,9 +31,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
userpath
|
||||
argcomplete
|
||||
packaging
|
||||
platformdirs
|
||||
userpath
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
@ -51,6 +52,7 @@ buildPythonPackage rec {
|
||||
# start local pypi server and use in tests
|
||||
"--net-pypiserver"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# disable tests which are difficult to emulate due to shell manipulations
|
||||
"path_warning"
|
||||
@ -74,9 +76,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Install and Run Python Applications in Isolated Environments";
|
||||
description = "Install and run Python applications in isolated environments";
|
||||
homepage = "https://github.com/pipxproject/pipx";
|
||||
changelog = "https://github.com/pypa/pipx/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ yshym ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user