From 9e7746901ce54092fd4546806a17c6b8629647ee Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Mon, 31 Mar 2025 23:30:00 +0200 Subject: [PATCH] deepsecrets: use `pythonRelaxDeps` --- pkgs/tools/security/deepsecrets/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/security/deepsecrets/default.nix b/pkgs/tools/security/deepsecrets/default.nix index 21e68a970a7d..6d77a683039d 100644 --- a/pkgs/tools/security/deepsecrets/default.nix +++ b/pkgs/tools/security/deepsecrets/default.nix @@ -16,12 +16,11 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-VfIsPgStHcIYGbfrOs1mvgoq0ZoVSZwILFVBeMt/5Jc="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-warn 'pyyaml = "^5.4.1"' 'pyyaml = "*"' \ - --replace-warn 'regex = "^2023.3.23"' 'regex = "*"' \ - --replace-warn 'mmh3 = "^3.0.0"' 'mmh3 = "*"' - ''; + pythonRelaxDeps = [ + "pyyaml" + "regex" + "mmh3" + ]; nativeBuildInputs = with python3.pkgs; [ poetry-core