about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rich/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/rich/default.nix')
-rw-r--r--pkgs/development/python-modules/rich/default.nix86
1 files changed, 43 insertions, 43 deletions
diff --git a/pkgs/development/python-modules/rich/default.nix b/pkgs/development/python-modules/rich/default.nix
index 518be3f4e2fe..34913e526d78 100644
--- a/pkgs/development/python-modules/rich/default.nix
+++ b/pkgs/development/python-modules/rich/default.nix
@@ -1,34 +1,36 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, pythonOlder
-
-# build-system
-, poetry-core
-
-# dependencies
-, markdown-it-py
-, pygments
-, typing-extensions
-
-# optional-dependencies
-, ipywidgets
-
-# tests
-, attrs
-, pytestCheckHook
-, setuptools
-
-# for passthru.tests
-, enrich
-, httpie
-, rich-rst
-, textual
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
+  pythonOlder,
+
+  # build-system
+  poetry-core,
+
+  # dependencies
+  markdown-it-py,
+  pygments,
+  typing-extensions,
+
+  # optional-dependencies
+  ipywidgets,
+
+  # tests
+  attrs,
+  pytestCheckHook,
+  setuptools,
+  which,
+
+  # for passthru.tests
+  enrich,
+  httpie,
+  rich-rst,
+  textual,
 }:
 
 buildPythonPackage rec {
   pname = "rich";
-  version = "13.7.1";
+  version = "13.8.1";
   format = "pyproject";
 
   disabled = pythonOlder "3.7";
@@ -37,30 +39,25 @@ buildPythonPackage rec {
     owner = "Textualize";
     repo = pname;
     rev = "refs/tags/v${version}";
-    hash = "sha256-7LvmPrCpHfPEfJ1r8IFnQhYkBstvtIrWYhGwcchlc0s=";
+    hash = "sha256-k+a64GDGzRDprvJz7s9Sm4z8jDV5TZ+CZLMgXKXXonM=";
   };
 
-  nativeBuildInputs = [
-    poetry-core
-  ];
+  nativeBuildInputs = [ poetry-core ];
 
   propagatedBuildInputs = [
     markdown-it-py
     pygments
-  ] ++ lib.optionals (pythonOlder "3.9") [
-    typing-extensions
-  ];
+  ] ++ lib.optionals (pythonOlder "3.9") [ typing-extensions ];
 
-  passthru.optional-dependencies = {
-    jupyter = [
-      ipywidgets
-    ];
+  optional-dependencies = {
+    jupyter = [ ipywidgets ];
   };
 
   nativeCheckInputs = [
     attrs
     pytestCheckHook
     setuptools
+    which
   ];
 
   disabledTests = [
@@ -77,12 +74,15 @@ buildPythonPackage rec {
     "test_syntax_highlight_ranges"
   ];
 
-  pythonImportsCheck = [
-    "rich"
-  ];
+  pythonImportsCheck = [ "rich" ];
 
   passthru.tests = {
-    inherit enrich httpie rich-rst textual;
+    inherit
+      enrich
+      httpie
+      rich-rst
+      textual
+      ;
   };
 
   meta = with lib; {
@@ -90,6 +90,6 @@ buildPythonPackage rec {
     homepage = "https://github.com/Textualize/rich";
     changelog = "https://github.com/Textualize/rich/blob/v${version}/CHANGELOG.md";
     license = licenses.mit;
-    maintainers = with maintainers; [ ris joelkoen ];
+    maintainers = with maintainers; [ ris ];
   };
 }