From b0e5fd9ee5dab232ea48a5c9af6c28377338d3ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 2 Jun 2026 16:16:28 -0700 Subject: [PATCH] python3Packages.datastar-py: 1.0.0 -> 1.0.2 Diff: https://github.com/starfederation/datastar-python/compare/v1.0.0...v1.0.2 Changelog: https://github.com/starfederation/datastar-python/releases/tag/v1.0.2 --- .../python-modules/datastar-py/default.nix | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/datastar-py/default.nix b/pkgs/development/python-modules/datastar-py/default.nix index 64e1d6648e37..689dcc53e1bd 100644 --- a/pkgs/development/python-modules/datastar-py/default.nix +++ b/pkgs/development/python-modules/datastar-py/default.nix @@ -1,21 +1,28 @@ { + anyio, buildPythonPackage, + django, + fastapi, fetchFromGitHub, hatchling, + httpx, lib, + litestar, pytestCheckHook, + starlette, + uvicorn, }: buildPythonPackage (finalAttrs: { pname = "datastar-py"; - version = "1.0.0"; + version = "1.0.2"; pyproject = true; src = fetchFromGitHub { owner = "starfederation"; repo = "datastar-python"; tag = "v${finalAttrs.version}"; - hash = "sha256-79pdSzHwkF8JX3rF5PIEvx//rKRvX3H1B2382Wfbm9U="; + hash = "sha256-epshwHwpRnrgOQ6/jiy6Iyv4y1fa5ZipgiFShKEOxtA="; }; build-system = [ hatchling ]; @@ -23,13 +30,16 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "datastar_py" ]; nativeCheckInputs = [ + anyio + django + fastapi + httpx + litestar pytestCheckHook + starlette + uvicorn ]; - # tests were only added after 1.0.0 - # TODO enable after update - doCheck = false; - meta = { changelog = "https://github.com/starfederation/datastar-python/releases/tag/${finalAttrs.src.tag}"; description = "Helper functions and classes for the Datastar library";