diff options
author | aszlig <aszlig@nix.build> | 2019-02-13 18:45:08 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2019-02-13 18:45:08 +0100 |
commit | a9f5e556cf0095be552153ed9e652bbfa82fa08c (patch) | |
tree | 48e7af5190debd5f676e855640053d0ba4e04d16 /pkgs/games | |
parent | 982f16d913c55eb474eb8a9f2b93cb78554f6eae (diff) |
fetchHumbleBundle: Fix fetching products
The "Product" model expects to have a "supports_canonical" attribute in the JSON Product object, which since a while is no longer there. We really don't need that attribute for our purposes, so we can simply drop the line where we do the lookup. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/humblebundle/fetch-humble-bundle/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/humblebundle/fetch-humble-bundle/default.nix b/pkgs/games/humblebundle/fetch-humble-bundle/default.nix index 8431799b..063d4a02 100644 --- a/pkgs/games/humblebundle/fetch-humble-bundle/default.nix +++ b/pkgs/games/humblebundle/fetch-humble-bundle/default.nix @@ -98,6 +98,8 @@ postPatch = '' sed -i -e '/^LOGIN_URL *=/s,/login,/processlogin,' humblebundle/client.py + sed -i -e '/self\.supports_canonical.*data.*supports_canonical/d' \ + humblebundle/models.py ''; propagatedBuildInputs = [ pythonPackages.requests ]; |