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