Unverified Commit e7fd8488 authored by Johannes Schleifenbaum's avatar Johannes Schleifenbaum
Browse files

pynitrokey: relax dep on spsdk

parent 73d013b6
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -33,11 +33,14 @@ buildPythonApplication rec {
    tlv8
  ];

  # spsdk is patched to allow for newer cryptography
  postPatch = ''
    substituteInPlace pyproject.toml \
        --replace "cryptography >=3.4.4,<37" "cryptography"
  '';
  nativeBuildInputs = [
    pythonRelaxDepsHook
  ];

  pythonRelaxDeps = [
    "cryptography"
    "spsdk"
  ];

  # no tests
  doCheck = false;