about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pipx/default.nix22
1 files changed, 12 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/pipx/default.nix b/pkgs/development/python-modules/pipx/default.nix
index cf0af0d1decfb..5ee12b7a223d0 100644
--- a/pkgs/development/python-modules/pipx/default.nix
+++ b/pkgs/development/python-modules/pipx/default.nix
@@ -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 ];
   };