From f1627831d87b0cf27b3e7ca6655561458400501d Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sat, 21 Mar 2026 14:30:32 +0100 Subject: [PATCH] python314Packages.propka: fix build Upstream PR: https://github.com/jensengroup/propka/pull/202 --- pkgs/development/python-modules/propka/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/propka/default.nix b/pkgs/development/python-modules/propka/default.nix index 71c6c9db2fad..eb8d0bc0deae 100644 --- a/pkgs/development/python-modules/propka/default.nix +++ b/pkgs/development/python-modules/propka/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, setuptools, pytestCheckHook, }: @@ -18,6 +19,15 @@ buildPythonPackage rec { hash = "sha256-EJQqCe4WPOpqsSxxfbTjF0qETpSPYqpixpylweTCjko="; }; + patches = [ + # Upstream PR: https://github.com/jensengroup/propka/pull/202 + (fetchpatch { + name = "python-3.14.patch"; + url = "https://github.com/jensengroup/propka/commit/5eb80b7836b2e71b37598d2c7fa06ed8141ff6fd.patch"; + hash = "sha256-tuhUfc7SGjdGxAPcsbrwOyqgTesg7k+FruJjY05YOUs="; + }) + ]; + nativeBuildInputs = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ];