15 buildPythonPackage rec {
19 # tests not included in pypi tarball
20 src = fetchFromGitHub {
21 owner = "willmcgugan";
24 sha256 = "1m1rswg16r4pxv7504nk7lpyxrwf16xw4w55rs3jisryx14ccic6";
28 nativeBuildInputs = [ poetry ];
29 propagatedBuildInputs = [
35 ] ++ lib.optional (pythonOlder "3.7") dataclasses;
37 checkInputs = [ pytestCheckHook ];
38 pythonImportsCheck = [ "rich" ];
41 description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal";
42 homepage = "https://github.com/willmcgugan/rich";
43 license = licenses.mit;
44 maintainers = with maintainers; [ ris ];