about summary refs log tree commit diff
path: root/pkgs/games
Commit message (Collapse)AuthorAgeFilesLines
* games/starbound: Properly handle -bootconfig argaszlig2016-03-151-25/+64
| | | | | | | | | | | | | | | First of all, we need to create another wrapper around the command line arguments, because Starbound will bail out whenever there is more than one -bootconfig argument. In addition, we are now putting in build time information into $out/etc/sbboot.config so we can easily re-use them, for example for a NixOS service module. Also, the hasBootconfigArg is now used for all flavors, because even the stable version supports that argument already. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs: Hook in games into vuizvui package setaszlig2016-03-152-5/+4
| | | | | | | | | | New we can reference the games using pkgs.vuizvui.games.*, although game configuration currently still resorts to using ~/.config/nixgames.nix if there is no nixpkgs.config.vuizvui.games set. In this vein, this should also avoid Hydra to try to build those games, because those aren't publicly available for free. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* games/starbound: Add desktop itemaszlig2016-03-151-1/+19
| | | | | | Makes it easier for DE users not used to a terminal to start the game. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* games/starbound: Refactor to use JQ for bootconfigaszlig2016-03-151-36/+50
| | | | | | | | | | | | | | | | | | | | | | | While JQ is a beast of its own implementing its own turing complete language, it *is* certainly useful and better than sed to replace path values. Now we have a new bootOverrides attribute set, which is converted into JSON and then merged with the original sbboot.config by JQ at the time we're setting up the XDG_DATA_HOME directory. The reason this is necessary is that we can't use environment variables directly in the boot configuration of Starbound, so we need to write the boot configuration at initialization time with the absolute paths to XDG_DATA_HOME. Another change here is that we now reference the upstream store path directly instead of copying over almost everything to our build result. This has the advantage that we have fewer duplication and thus fewer disk I/O while building. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* games/fetchsteam: Allow to specify a branchaszlig2016-03-151-1/+2
| | | | | | | | Currently this is not useful for anything but just a placeholder because currently the depot downloader isn't able to pick from a particular branch but only fetches based on the manifest ID. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/games/starbound: Update to latest unstableaszlig2016-02-231-17/+21
| | | | | | | This also fixes the date for the stable version, so that it closer matches the steamdb entry. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/games: Remove license and copying infoaszlig2016-02-082-222/+0
| | | | | | | | | | | | | | | We already cover that by the main project so we don't need to go by two different licenses. I've asked @layus whether the license change would be okay for his contributions and he agreed: https://github.com/aszlig/nixgames/pull/1#issuecomment-174551671 Other than that I'm the only author of every other commit and I obviously agree as well :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Merge aszlig/nixgames into vuizvuiaszlig2016-02-0823-0/+1222
This is a subtree merge of the full nixgames repository including history. Right now it isn't linked to vuizvui at all but we're going to do that very soon. The reason why I'm merging both repositories together is that it's easier for me to manage updates and also facilitate contributions by people from the OpenLab. Another reason to merge it is that we can write more generic functions for building both, the games and the rest. Right now the licensing is still the Apache License version 2.0, but we're going to change it to the vuizvui license as well.