yubioath-flutter.helper: relax all dependencies

This commit is contained in:
Luke Granger-Brown 2023-08-13 13:36:48 +01:00
parent 91f441cf77
commit 895889fffa

View file

@ -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 = ''