Merge pull request #229761 from fabaff/textual-bump

python311Packages.rich: 13.3.1 -> 13.3.5 , python311Packages.textual: 0.15.1 -> 0.23.0
This commit is contained in:
Robert Scott
2023-05-05 20:24:25 +01:00
committed by GitHub
2 changed files with 10 additions and 10 deletions
@@ -7,6 +7,7 @@
, pygments
, typing-extensions
, pytestCheckHook
, setuptools
# for passthru.tests
, enrich
@@ -17,7 +18,7 @@
buildPythonPackage rec {
pname = "rich";
version = "13.3.1";
version = "13.3.5";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -26,14 +27,17 @@ buildPythonPackage rec {
owner = "Textualize";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-1soeb3aD4wB4stILvfOga/YZtyH6jd0XvnxkLmbW4G0=";
hash = "sha256-PnyO5u0gxfYKT6xr0k3H0lbLl9wKPl6oxR1mM9A0Hys=";
};
nativeBuildInputs = [ poetry-core ];
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
markdown-it-py
pygments
setuptools
] ++ lib.optionals (pythonOlder "3.9") [
typing-extensions
];
@@ -22,7 +22,7 @@
buildPythonPackage rec {
pname = "textual";
version = "0.15.1";
version = "0.23.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -31,18 +31,13 @@ buildPythonPackage rec {
owner = "Textualize";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-UT+ApD/TTb5cxIdgK+n3B2J3z/nEwVXtuyPHpGCv6Tg=";
hash = "sha256-XgJ43yyiwzSH22NzidJ7z+Qh6+pOuAdfL7ZxabJkd3U=";
};
nativeBuildInputs = [
poetry-core
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'importlib-metadata = "^4.11.3"' 'importlib-metadata = "*"'
'';
propagatedBuildInputs = [
rich
markdown-it-py
@@ -77,6 +72,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "TUI framework for Python inspired by modern web development";
homepage = "https://github.com/Textualize/textual";
changelog = "https://github.com/Textualize/textual/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ joelkoen ];
};