about summary refs log tree commit diff
path: root/pkgs/games/gog/fetch-gog/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2019-09-30 02:50:25 +0200
committeraszlig <aszlig@nix.build>2019-09-30 03:43:03 +0200
commita6b50f6c417b568ed82f6370bbb65667b5ca48c7 (patch)
treecb083750ee0ff350ea215461793c7e36b7900697 /pkgs/games/gog/fetch-gog/default.nix
parent050f4399a46a77bbbbe7194a42bbc7a6ee5a17ba (diff)
fetch-humble-bundle: Fix login with guard code
HumbleBundle has introduced a new guard code, which is sent to the email
address of the account owner after the captcha has been solved.

Unfortunately, the humblebundle-python[1] library is no longer
maintained and there are no forks with fixups. In addition, the code of
the library is sub-par and also doesn't support Python 3.

So I added a patch containing a _very_ dirty fix to include the guard
code during the login procedure for now until we have decided to either
go with the existing library and fork it or use another library or
implement it ourselves, since we only use a tiny fraction of the HB API.

I also fixed up the Qt plugin path for the captcha prompt if a newer
nixpkgs revision is used, where we have wrapQtAppsHook.

One downside of the guard code is that we get prompted for it _every_
time we download something, which might be annoying, but at least it's
better than not working at all.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/gog/fetch-gog/default.nix')
0 files changed, 0 insertions, 0 deletions