Skip to content

Commit

Permalink
yubioath-flutter: Relax python deps in helper
Browse files Browse the repository at this point in the history
  • Loading branch information
afh committed May 11, 2023
1 parent a610c86 commit 248d72b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/applications/misc/yubioath-flutter/helper.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ buildPythonApplication
, poetry-core
, yubikey-manager
, python3
, fido2
, mss
, zxing_cpp
Expand All @@ -19,6 +20,12 @@ buildPythonApplication {
sourceRoot = "source/helper";
format = "pyproject";

nativeBuildInputs = [
python3.pkgs.pythonRelaxDepsHook
];

pythonRelaxDeps = [ "yubikey-manager" ];

postPatch = ''
sed -i \
-e 's,zxing-cpp = .*,zxing-cpp = "*",g' \
Expand Down

0 comments on commit 248d72b

Please sign in to comment.