python312Packages.textual-serve: init at 1.1.1

This commit is contained in:
Gaetan Lepage
2025-02-13 21:56:07 +01:00
parent 8b23d3eb84
commit 81024f9037
2 changed files with 56 additions and 0 deletions
@@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
hatchling,
# dependencies
aiohttp,
aiohttp-jinja2,
jinja2,
rich,
textual,
}:
buildPythonPackage rec {
pname = "textual-serve";
version = "1.1.1";
pyproject = true;
# No tags on GitHub
src = fetchPypi {
pname = "textual_serve";
inherit version;
hash = "sha256-ccZiRyxGLl42je/GYO5ujq47/aiMpAwFDFVHRobrDFQ=";
};
build-system = [
hatchling
];
dependencies = [
aiohttp
aiohttp-jinja2
jinja2
rich
textual
];
pythonImportsCheck = [
"textual_serve"
];
# No tests in the pypi archive
doCheck = false;
meta = {
description = "Turn your Textual TUIs in to web applications";
homepage = "https://pypi.org/project/textual-serve/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
+2
View File
@@ -16247,6 +16247,8 @@ self: super: with self; {
textual-fastdatatable = callPackage ../development/python-modules/textual-fastdatatable { };
textual-serve = callPackage ../development/python-modules/textual-serve { };
textual-slider = callPackage ../development/python-modules/textual-slider { };
textual-universal-directorytree = callPackage ../development/python-modules/textual-universal-directorytree { };