From b7ce13651913928464cae915a38ada52309529e7 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Thu, 19 Mar 2026 22:14:38 +0100 Subject: [PATCH] python3Packages.celery-types: fix build --- .../python-modules/celery-types/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/celery-types/default.nix b/pkgs/development/python-modules/celery-types/default.nix index c43b14fd2181..9cd0501bdd87 100644 --- a/pkgs/development/python-modules/celery-types/default.nix +++ b/pkgs/development/python-modules/celery-types/default.nix @@ -2,8 +2,8 @@ lib, buildPythonPackage, fetchPypi, - poetry-core, typing-extensions, + uv-build, }: buildPythonPackage rec { @@ -17,9 +17,14 @@ buildPythonPackage rec { hash = "sha256-yT+80LBKnpwvVdVUCspKoepMwGqHDAyN7lBi/dWWY/4="; }; - nativeBuildInputs = [ poetry-core ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "uv_build>=0.9.18,<0.10.0" "uv_build" + ''; - propagatedBuildInputs = [ typing-extensions ]; + build-system = [ uv-build ]; + + dependencies = [ typing-extensions ]; doCheck = false;