Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
2.1 kB · 120 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121{ lib, aiofiles, aiohttp, buildPythonPackage, certifi, docutils, fastapi, fetchFromGitHub, httpx, ifaddr, itsdangerous, jinja2, libsass, markdown2, matplotlib, orjson, pandas, pkgs, plotly, poetry-core, polars, pyecharts, pygments, pytest-asyncio, pytest-selenium, pytestCheckHook, python-multipart, python-socketio, pywebview, redis, requests, setuptools, typing-extensions, urllib3, uvicorn, vbuild, watchfiles, webdriver-manager, writableTmpDirAsHomeHook,}:
buildPythonPackage rec { pname = "nicegui"; version = "2.22.1"; pyproject = true;
src = fetchFromGitHub { owner = "zauberzeug"; repo = "nicegui"; tag = "v${version}"; hash = "sha256-v9ELS0EzmqbaUhyqKidvN7UvvCHwBne2QkJJmTkheBg="; };
pythonRelaxDeps = [ "requests" ];
build-system = [ poetry-core setuptools ];
dependencies = [ aiofiles aiohttp certifi docutils fastapi httpx ifaddr itsdangerous jinja2 markdown2 orjson pygments python-multipart python-socketio requests typing-extensions urllib3 uvicorn vbuild watchfiles ];
optional-dependencies = { # Circular dependency # highcharts = [ nicegui-highcharts ]; matplotlib = [ matplotlib ]; native = [ pywebview ]; plotly = [ plotly ]; sass = [ libsass ]; redis = [ redis ]; };
nativeCheckInputs = [ pandas pkgs.chromedriver polars pyecharts pytest-asyncio pytest-selenium pytestCheckHook webdriver-manager writableTmpDirAsHomeHook ] ++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "nicegui" ];
# chromedriver release doesn't seems to be supported, try with next release doCheck = false;
meta = { description = "Module to create web-based user interfaces"; homepage = "https://github.com/zauberzeug/nicegui/"; changelog = "https://github.com/zauberzeug/nicegui/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}