python312Packages.textual-serve: init at 1.1.1
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user