about summary refs log tree commit diff
path: root/pkgs/applications/misc/yubioath-flutter
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-05-09 11:28:33 +0200
committerLuke Granger-Brown <git@lukegb.com>2023-08-13 13:53:31 +0100
commit91f441cf77e4495bf26bb35c12ac91f350473bbc (patch)
tree618f37492ed8cc1aa4a4032ced9797ea3b97affa /pkgs/applications/misc/yubioath-flutter
parent3a034cb60a9cd9fc8711b0c6f89183ca5efa6c30 (diff)
yubioath-flutter: Relax python deps in helper
Diffstat (limited to 'pkgs/applications/misc/yubioath-flutter')
-rw-r--r--pkgs/applications/misc/yubioath-flutter/helper.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/misc/yubioath-flutter/helper.nix b/pkgs/applications/misc/yubioath-flutter/helper.nix
index e40f6a78c862d..77dd379b6dc8a 100644
--- a/pkgs/applications/misc/yubioath-flutter/helper.nix
+++ b/pkgs/applications/misc/yubioath-flutter/helper.nix
@@ -1,4 +1,5 @@
 { buildPythonApplication
+, python3
 , poetry-core
 , yubikey-manager
 , fido2
@@ -19,6 +20,12 @@ buildPythonApplication {
   sourceRoot = "${src.name}/helper";
   format = "pyproject";
 
+  nativeBuildInputs = [
+    python3.pkgs.pythonRelaxDepsHook
+  ];
+
+  pythonRelaxDeps = [ "yubikey-manager" ];
+
   postPatch = ''
     sed -i \
       -e 's,zxing-cpp = .*,zxing-cpp = "*",g' \