From f627acca99737645b6cc575515faa9140d4f0fa5 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 21 Feb 2025 17:42:31 +0100 Subject: [PATCH] python313Packages.pyhiveapi: migrate to pythonRelaxDepsHook --- .../python-modules/pyhive-integration/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyhive-integration/default.nix b/pkgs/development/python-modules/pyhive-integration/default.nix index 29319768f1c3..45c0d7196c92 100644 --- a/pkgs/development/python-modules/pyhive-integration/default.nix +++ b/pkgs/development/python-modules/pyhive-integration/default.nix @@ -27,10 +27,7 @@ buildPythonPackage rec { hash = "sha256-lfBr889s6NHcos/kdzQa9HJEcQ4dfCEMjuLYiLzesfE="; }; - postPatch = '' - substituteInPlace requirements.txt \ - --replace "pre-commit" "" - ''; + pythonRemoveDeps = [ "pre-commit" ]; nativeBuildInputs = [ setuptools