Skip to content

Commit

Permalink
yubioath-flutter.helper: relax all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lukegb committed Aug 13, 2023
1 parent 91f441c commit 895889f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions pkgs/applications/misc/yubioath-flutter/helper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ buildPythonApplication {
python3.pkgs.pythonRelaxDepsHook
];

pythonRelaxDeps = [ "yubikey-manager" ];
pythonRelaxDeps = true;

postPatch = ''
sed -i \
-e 's,zxing-cpp = .*,zxing-cpp = "*",g' \
-e 's,mss = .*,mss = "*",g' \
-e 's,yubikey-manager = .*,yubikey-manager = "*",g' \
-e 's,Pillow = .*,Pillow = "*",g' \
pyproject.toml
substituteInPlace pyproject.toml \
--replace "authenticator-helper" "yubioath-flutter-helper" \
--replace "0.1.0" "${version}"
'';

postInstall = ''
Expand Down

0 comments on commit 895889f

Please sign in to comment.