From 66b379da343be2361cbc1956e00a44143da266c2 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Wed, 8 Oct 2025 13:52:12 +0800 Subject: [PATCH] python3Packages.sigstore-models: fix build with uv_build 0.9.0 --- .../python-modules/sigstore-models/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/sigstore-models/default.nix b/pkgs/development/python-modules/sigstore-models/default.nix index 2a45c9cdef5a..5bda1519e17d 100644 --- a/pkgs/development/python-modules/sigstore-models/default.nix +++ b/pkgs/development/python-modules/sigstore-models/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch2, pydantic, typing-extensions, uv-build, @@ -20,6 +21,15 @@ buildPythonPackage rec { hash = "sha256-zlIZzfgHZPEuiZu3JNX74Cg1jPNaO1HUhMtpxoyOoqk="; }; + patches = [ + # https://github.com/astral-sh/sigstore-models/pull/4 + (fetchpatch2 { + name = "uv-build.patch"; + url = "https://github.com/Prince213/sigstore-models/commit/0cbd46ce7ebc8a5d2825b8fc98147a9ba4b3be70.patch?full_index=1"; + hash = "sha256-6DLhhHkGW2Ok9xwKx6YT5BkCqQNH/Ja/KEO9FHl4NXo="; + }) + ]; + build-system = [ uv-build ]; dependencies = [