Fabian Affolter
2023-05-04 00:41:13 +02:00
parent 08b4149d34
commit 1df91a6cba
@@ -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 ];
};