Loading pkgs/development/python-modules/reflex/default.nix 0 → 100644 +136 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, poetry-core, alembic, attrs, build, charset-normalizer, dill, distro, fastapi, gunicorn, httpx, jinja2, lazy-loader, numpy, pandas, pillow, platformdirs, plotly, psutil, pydantic, pytest-asyncio, pytest-mock, pytestCheckHook, python-engineio, python-multipart, python-socketio, redis, reflex-hosting-cli, rich, sqlmodel, starlette-admin, tomlkit, twine, typer, unzip, uvicorn, watchdog, watchfiles, wrapt, }: buildPythonPackage rec { pname = "reflex"; version = "0.5.9"; pyproject = true; src = fetchFromGitHub { owner = "reflex-dev"; repo = "reflex"; rev = "v${version}"; hash = "sha256-QeEggHPilCLjUQ76AYDkqdf1iWLwCyAYTnf17RdhDq0="; }; pythonRelaxDeps = [ "fastapi" ]; pythonRemoveDeps = [ "setuptools" "build" ]; build-system = [ poetry-core ]; dependencies = [ alembic build # used in custom_components/custom_components.py charset-normalizer dill distro fastapi gunicorn httpx jinja2 lazy-loader platformdirs psutil pydantic python-engineio python-multipart python-socketio redis reflex-hosting-cli rich sqlmodel starlette-admin tomlkit twine # used in custom_components/custom_components.py typer uvicorn watchdog watchfiles wrapt ]; nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-mock attrs numpy plotly pandas pillow unzip ]; disabledTests = [ # touches network "test_find_and_check_urls" "test_event_actions" "test_upload_file" # /proc is too funky in nix sandbox "test_get_cpu_info" # broken "test_potentially_dirty_substates" # AssertionError: Extra items in the left set # flaky "test_preprocess" # KeyError: 'reflex___state____state' "test_send" # AssertionError: Expected 'post' to have been called once. Called 0 times. ]; disabledTestPaths = [ "benchmarks/" "integration/" ]; pythonImportsCheck = [ "reflex" ]; meta = with lib; { description = "Web apps in pure Python"; homepage = "https://github.com/reflex-dev/reflex"; changelog = "https://github.com/reflex-dev/reflex/releases/tag/${src.rev}"; license = licenses.asl20; maintainers = with maintainers; [ pbsds ]; mainProgram = "reflex"; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13508,6 +13508,8 @@ self: super: with self; { refery = callPackage ../development/python-modules/refery { }; reflex = callPackage ../development/python-modules/reflex { }; reflex-hosting-cli = callPackage ../development/python-modules/reflex-hosting-cli { }; reflink = callPackage ../development/python-modules/reflink { }; Loading Loading
pkgs/development/python-modules/reflex/default.nix 0 → 100644 +136 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, poetry-core, alembic, attrs, build, charset-normalizer, dill, distro, fastapi, gunicorn, httpx, jinja2, lazy-loader, numpy, pandas, pillow, platformdirs, plotly, psutil, pydantic, pytest-asyncio, pytest-mock, pytestCheckHook, python-engineio, python-multipart, python-socketio, redis, reflex-hosting-cli, rich, sqlmodel, starlette-admin, tomlkit, twine, typer, unzip, uvicorn, watchdog, watchfiles, wrapt, }: buildPythonPackage rec { pname = "reflex"; version = "0.5.9"; pyproject = true; src = fetchFromGitHub { owner = "reflex-dev"; repo = "reflex"; rev = "v${version}"; hash = "sha256-QeEggHPilCLjUQ76AYDkqdf1iWLwCyAYTnf17RdhDq0="; }; pythonRelaxDeps = [ "fastapi" ]; pythonRemoveDeps = [ "setuptools" "build" ]; build-system = [ poetry-core ]; dependencies = [ alembic build # used in custom_components/custom_components.py charset-normalizer dill distro fastapi gunicorn httpx jinja2 lazy-loader platformdirs psutil pydantic python-engineio python-multipart python-socketio redis reflex-hosting-cli rich sqlmodel starlette-admin tomlkit twine # used in custom_components/custom_components.py typer uvicorn watchdog watchfiles wrapt ]; nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-mock attrs numpy plotly pandas pillow unzip ]; disabledTests = [ # touches network "test_find_and_check_urls" "test_event_actions" "test_upload_file" # /proc is too funky in nix sandbox "test_get_cpu_info" # broken "test_potentially_dirty_substates" # AssertionError: Extra items in the left set # flaky "test_preprocess" # KeyError: 'reflex___state____state' "test_send" # AssertionError: Expected 'post' to have been called once. Called 0 times. ]; disabledTestPaths = [ "benchmarks/" "integration/" ]; pythonImportsCheck = [ "reflex" ]; meta = with lib; { description = "Web apps in pure Python"; homepage = "https://github.com/reflex-dev/reflex"; changelog = "https://github.com/reflex-dev/reflex/releases/tag/${src.rev}"; license = licenses.asl20; maintainers = with maintainers; [ pbsds ]; mainProgram = "reflex"; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13508,6 +13508,8 @@ self: super: with self; { refery = callPackage ../development/python-modules/refery { }; reflex = callPackage ../development/python-modules/reflex { }; reflex-hosting-cli = callPackage ../development/python-modules/reflex-hosting-cli { }; reflink = callPackage ../development/python-modules/reflink { }; Loading