Unverified Commit 5cbb6924 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

deepsecrets: use `pythonRelaxDeps` (#397354)

parents 79f391f7 9e774690
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -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