about summary refs log tree commit diff
path: root/humblebundle/fetch-humble-bundle/default.nix
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request aszlig/nixgames#1 from @layusaszlig2016-02-081-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds Unepic to the humblebundle games list and also fixes Bastion, or at least it *should* fix Bastion. I have tested Unepic, though I had to fix the download, which I'm going to commit later. As for Bastion, at least with the humblebundle fetcher it's not able to fetch "bastion_linux" (it doesn't even show up), however on my Humble library I can see the download (maybe it's because I bought this along with HIB 5). Nevertheless, it's at least a small step forward and we need to fix these issues later.
| * fecthHumbleBundle: Allow to provide real file nameGuillaume Maudoux2015-07-141-3/+3
| | | | | | | | | | By overriding the real file name, it is possible to prefetch the game archive with `nix-prefetch-url --type md5 file://<path>/realname`.
* | fetch-humble-bundle: Escape Python stringsaszlig2016-02-081-7/+10
| | | | | | | | | | | | | | | | This fixes aszlig/nixgames#2 but instead of using """ for the strings, we now have a pyStr function which is taking care of escaping nasty characters :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | fetch-humble-bundle: Fix path to ca-bundle.crt.aszlig2015-07-221-1/+1
|/ | | | | | | | | | | This has changed twice in upstream <nixpkgs>: * NixOS/nixpkgs@d6cbb061e3bb5d2a93196a4543cfbd7c2359bd84 $out/etc/ca-bundle.crt -> $out/ca-bundle.crt * NixOS/nixpkgs@ffd0539eba473348f752fa8ab1f1f55388634f8f $out/ca-bundle.crt -> $out/etc/ssl/certs/ca-bundle.crt Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Use the NixOS module system for configuration.aszlig2015-04-171-24/+2
| | | | | | | | | | | | | | | | Let's use the module system to allow specifying things such as HumbleBundle or Steam or $whatnot's usernames and passwords, so we can not only typecheck these options but also modularize it before this whole repository is beginning to get very messy. Right now, if you use the default.nix without a configuration, you'll still get message saying that you may want to supply HumbleBundle credentials, even though it's no longer only about HumbleBundle anymore. Nevertheless, the only tree existing right now is the HumbleBundle one, so never mind about that :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* fetch-humble-bundle: Update to version 0.1.1.aszlig2015-04-161-7/+2
| | | | | | | The upstream API has changed, so the previous version now no longer works. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* humblebundle: Allow config file for email/passwd.aszlig2014-12-311-3/+27
| | | | | | | | Rather than passing email and password using --argstr to nix-build, we now read them from a config file in XDG_CONFIG_HOME (or ~/.config if unset). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move everything into /humblebundle/.aszlig2014-12-311-0/+87
We don't just want HumbleBundle games, so let's try to keep the directory structure that way very early. Signed-off-by: aszlig <aszlig@redmoonstudios.org>