From 4b94daa08cddeae24a1af4e1a3f529687fc48fea Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 12 Aug 2025 00:00:07 +0200 Subject: [PATCH] python3Packages.reflex-chakra: 0.7.1 -> 0.8.2post1 Changelog: https://github.com/reflex-dev/reflex-chakra/releases/tag/v0.8.2post1 --- .../python-modules/reflex-chakra/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/reflex-chakra/default.nix b/pkgs/development/python-modules/reflex-chakra/default.nix index 188c96298e7e..9aa21d479820 100644 --- a/pkgs/development/python-modules/reflex-chakra/default.nix +++ b/pkgs/development/python-modules/reflex-chakra/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, hatchling, + uv-dynamic-versioning, pythonOlder, reflex, pytestCheckHook, @@ -10,7 +11,7 @@ buildPythonPackage rec { pname = "reflex-chakra"; - version = "0.7.1"; + version = "0.8.2post1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,11 +20,19 @@ buildPythonPackage rec { owner = "reflex-dev"; repo = "reflex-chakra"; tag = "v${version}"; - hash = "sha256-dAenwsFhRj9BzdGyaC38TwBWog95H0mSA0ullt4otHA="; + hash = "sha256-DugZRZpGP90EFkBjpAS1XkjrNPG6WWwCQPUcEZJ0ff8="; }; - build-system = [ hatchling ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail ', "uv-dynamic-versioning"' "" \ + --replace-fail 'source = "uv-dynamic-versioning"' 'source = "env"${"\n"}variable = "version"' + ''; + build-system = [ + hatchling + uv-dynamic-versioning + ]; dependencies = [ reflex ]; pythonImportsCheck = [ "reflex_chakra" ];