Unverified Commit 9f3606da authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python314Packages.propka: fix build (#501948)

parents 33ebbfbc f1627831
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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 ];