{ lib, buildPythonPackage, fetchPypi, # build-system hatchling, # dependencies aiohttp, aiohttp-jinja2, jinja2, rich, textual, }: buildPythonPackage rec { pname = "textual-serve"; version = "1.1.3"; pyproject = true; # No tags on GitHub src = fetchPypi { pname = "textual_serve"; inherit version; hash = "sha256-+PY2ri9f1lG3nZZUc8PpOD01Ic34lvm8KJcJGF2j9oM="; }; 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 ]; }; }