From bcb65d076b31a894cf13a923ce0dd1e0c4b80e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 8 Sep 2025 18:36:45 +0200 Subject: [PATCH] python3Packages.pytest-examples: patch the build https://hydra.nixos.org/build/306511131/nixlog/3/tail --- .../python-modules/pytest-examples/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/pytest-examples/default.nix b/pkgs/development/python-modules/pytest-examples/default.nix index a1d090346543..39e4fd28a34c 100644 --- a/pkgs/development/python-modules/pytest-examples/default.nix +++ b/pkgs/development/python-modules/pytest-examples/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, hatchling, pytest, black, @@ -21,6 +22,13 @@ buildPythonPackage rec { hash = "sha256-ZnDl0B7/oLX6PANrqsWtVJwe4E/+7inCgOpo7oSeZlw="; }; + patches = [ + (fetchpatch { + url = "https://github.com/pydantic/pytest-examples/pull/65/commits/60ae70d05ee345b38c2d2048d36b4a4545c98b6b.diff"; + hash = "sha256-Rhrg0zVChwwa7Gk+WYrCu44VgUQmxLBeq8pWSF6Nzdo="; + }) + ]; + build-system = [ hatchling ];