about summary refs log tree commit diff
path: root/pkgs
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/profpatsch/write-exeline: fix ./escape.nix importProfpatsch2019-11-021-1/+1
|
* pkgs/games/planescape-torment-enhanced-edition: fix data dirProfpatsch2019-11-011-1/+1
|
* pkgs/games/gog: add Planescape Torment: Enhanced EditionProfpatsch2019-11-012-0/+33
|
* vim: Add syntax highlighting/indent for PureScriptaszlig2019-10-121-0/+7
| | | | | | | | This probably needs a bit of refinement when it comes to indentation, but at least we get proper syntax highlighting, which is the main point here. Signed-off-by: aszlig <aszlig@nix.build>
* games/humblebundle: pico-8 1.10 -> 1.12csternenseemann2019-10-061-3/+3
|
* pkgs/profpatsch: Fix eval error due to wrong pathaszlig2019-10-021-1/+1
| | | | | | | | | | | | Introduced in commit e9975c9a39cb4e654d9132de4b952f51174a0926. The write-execline.nix file is inside the execline/ directory but the import doesn't reflect that, so since there isn't any write-execline.nix in other locations, I assume that this is what the author actually intended. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* pkgs/profpatsch: writeExecline, writeExeclineLocalProfpatsch2019-10-022-0/+24
| | | | | similar to writeScript, but writes an execline instead. Should be upstreams to `lib.writers` sometimes.
* pkgs/profpatsch: getBinsProfpatsch2019-10-021-7/+9
| | | | | A simple way to reference binary paths in an attribute set without string interpolations everywhere.
* machines/profpatsch: misc shitProfpatsch2019-10-021-1/+1
|
* Merge pull request #21 (Add game "Baba Is You")aszlig2019-09-302-0/+28
|\ | | | | | | | | | | | | | | | | | | This adds the latest release of "Baba Is You", a puzzle video game. Since I do not own this game, I can't test whether it's working, but the Nix expression overall doesn't look controversial, so I'm merging anyway. Thanks to @layus for the contribution.
| * baba-is-you: fix $HOME usage with updateGuillaume Maudoux2019-09-301-4/+4
| |
| * baba-is-you: init at 2019-03-31Guillaume Maudoux2019-04-032-0/+28
| |
| |
| \
*-. \ Merge games "Kingdoms and Castles" and "minimetro"aszlig2019-09-304-0/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both were contributed by @layus, thanks a lot :-) While there are a few other pull requests pending, these two games are Unity3d based and thus quite non-controversal. I don't own these games, so I can't test whether they actually work. Merges: #25 Merges: #26
| | * | add minimetroGuillaume Maudoux2019-09-302-0/+16
| | | |
| * | | add kindoms and castlesGuillaume Maudoux2019-09-282-0/+15
| |/ /
* | | fetch-gog: Fix login with captchaaszlig2019-09-301-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The way GOG embeds recaptcha has changed a while ago and it's now embedded via additional JavaScript which no longer directly contains "google.com/recaptcha", because it is now contained within an iframe. Fortunately, the fix is relatively easy, because everything else is still implemented in the same way, we just need to match portions of that JavaScript code. I also fixed up the Qt plugin path for the captcha prompt if a newer nixpkgs revision is used, where we have wrapQtAppsHook. Signed-off-by: aszlig <aszlig@nix.build>
* | | fetch-humble-bundle: Fix login with guard codeaszlig2019-09-302-15/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | pkgs/profpatsch/execlinebWithBuiltins: fix path amendingProfpatsch2019-09-261-0/+14
|/ / | | | | | | | | | | | | Earlier, it would just append the execline bin path on every invocation, which would clobber the path on nested invocations. We (ab)use the fact that nix paths have a known hash to check whether it was already added before.
* | pkgs/profpatsch/runExecline: move to writeCommand formProfpatsch2019-09-264-69/+61
| | | | | | | | | | | | | | | | It’s conventional that these tools have the form tool name options data so we should adhere to that.
* | pkgs/profpatsch/runExecline: move to listProfpatsch2019-09-265-46/+83
| | | | | | | | | | We can auto-escape execlines correctly if we model them as nix-style lists, so we shoud certainly do so. It also helps abstraction.
* | pkgs/profpatsch: export runExeclineLocal & run tests locallyProfpatsch2019-09-242-36/+64
| |
* | pkgs/santander: Remove obsolete packageaszlig2019-09-234-123/+0
| | | | | | | | | | | | | | The upstream service was shut down at September 11th 2019, so there really is no need anymore for this package. Signed-off-by: aszlig <aszlig@nix.build>
* | pkgs/psi: Fix Qt5 application wrappingaszlig2019-09-231-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Qt applications are no longer implicitly wrapped since a while[1] and so we new have to use wrapQtAppsHook instead, which also makes the wrapping for Psi obsolete. To make sure we don't run into startup errors again, I added a small VM test, which checks whether the application starts up properly. [1]: https://github.com/NixOS/nixpkgs/commit/f79fd2e826dd95b3b64839d3e0bec8ae1dfab17e Signed-off-by: aszlig <aszlig@nix.build>
* | pkgs/psi: Update to latest upstream masteraszlig2019-09-222-37/+23
| | | | | | | | | | | | | | | | | | | | The current master version contains a number of fixes, one of them I encountered by myself, which is a crash when changing profile settings. I've updated the configuration patch accordingly, because a few (obsolete) settings got removed upstream. Signed-off-by: aszlig <aszlig@nix.build>
* | pkgs/build-sandbox: remove malloc.hProfpatsch2019-09-191-1/+0
| | | | | | | | | | | | | | | | | | | | The standard functins in `malloc.h` are exported by `stdlib.h`, and `malloc.h` is highly linux-specific. See https://stackoverflow.com/questions/56463049/should-mac-osx-have-a-malloc-h-file/56463133#56463133 and https://stackoverflow.com/questions/12973311/difference-between-stdlib-h-and-malloc-h
* | vim: Exempt xt and strace from linelen highlightaszlig2019-08-031-2/+2
| | | | | | | | | | | | | | | | Both strace and xt are trace log formats, so imposing my own distaste for overly long line length won't make a difference, as they won't change their "coding style" ;-) Signed-off-by: aszlig <aszlig@nix.build>
* | vim: Add syntax highlighting for Xdebug tracesaszlig2019-08-031-0/+13
| | | | | | | | | | | | | | | | Unfortunately these days I have to debug a lot of PHP code, so having syntax highlighting (even though the syntax file is pretty terse) and being able to fold Xdebug traces is quite useful to have. Signed-off-by: aszlig <aszlig@nix.build>
* | pkgs/games: Add Warcraft II BNEaszlig2019-06-213-0/+186
| | | | | | | | | | | | | | | | | | | | This is supported by the Stratagus/Wargus engine and it's using the data files from the GOG version. I had this laying in the repository for a while but didn't commit and push it yet, so let's call it done by now :-) Signed-off-by: aszlig <aszlig@nix.build>
* | pkgs/aszlig: Add custom Psi XMPP clientaszlig2019-06-215-0/+455
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is from the current 2.0 development version and has most of my own configuration preferences built-in. Right now, the theming is pretty much a work in progress and the chat input currently shows black text on dark grey background, which is quite a nuisance to use. Another thing that's currently not working (or just for a very short amount of time) are window manager urgency hints. Nevertheless however, I'm already using it as my main XMPP client despite these issues. Signed-off-by: aszlig <aszlig@nix.build>
* | games/gog: Add The Longest Journeyaszlig2019-06-113-0/+136
| | | | | | | | | | | | | | | | | | | | | | | | This is basically a wrapper around ResidualVM, which I also patched so that we can inject a basic config file from the Nix store that contains the basic game information. The ResidualVM build is pretty minimal in that we only use those dependencies that we actually need for the game. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* | vim: Add syntax highlighting for Jinja2aszlig2019-06-111-0/+9
| | | | | | | | | | | | | | Jinja2 seems to be quite popular these days for all sorts of templates, so let's actually use the syntax file from the actual Jinja2 package. Signed-off-by: aszlig <aszlig@nix.build>
* | vim: Add syntax/indent configuration for PHPaszlig2019-06-111-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately, I need to deal with PHP code occasionally, so let's make syntax highlighting less painful. I'm not sure why the option is called PHP_vintage_case_default_indent, but I prefer case statements to be indented. Apart from HTML/SQL syntax highlighting within PHP strings, I also want to prevent short open tags, so that whenever I stumble on code using it I can immediately fix them. Signed-off-by: aszlig <aszlig@nix.build>
* | games: Use preferLocalBuild for fetchersaszlig2019-06-114-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we're on a machine with remote builds enabled, we'd like to prefer not having our login credentials to be pushed on a remote server. We of course also don't want the actual games to end up on a different machine, so let's use preferLocalBuild to avoid this. Unfortunately avoidance is not at any cost, because if we for example use a different system attribute, it might be built on a remote machine nevertheless. Ideally there would be something like "forceLocalBuild", which avoids remote builds at any cost. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* | games/gog: Add Heroes of Might & Magic 3: Completeaszlig2019-06-113-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I had this laying around for quite a while but haven't committed it yet, so I decided to update VCMI to the latest master version. Instead of using the "mp3" directory in the game assets, I decided to go for "music" instead, because all of the files within that directory are actually Ogg Vorbis and it's the game's music. Another thing I've changed is that the launcher now uses execl() instead of QProcess::startDetached, because the latter doesn't work very well with our sandbox and will subsequently cause the client to be killed. Signed-off-by: aszlig <aszlig@nix.build>
* | crosscode: 1.0.3 -> 1.1.0aszlig2019-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces the arena in Rhombus Square, which was previously closed, as a major update. The full release announcement can be found at: https://www.radicalfishgames.com/?p=6772 Apart from the arena update here are the rest of the changes: * Finally fix "Wet Work" quest softlock * New Arena tab in Statistics Menu * Introduce pets * A new quest can be found in Sapphire Ridge * A new quest in Ba'kii Kum * New challenges available for the Turret Defense Quests * New equipment and trade offer in Rhombus Square * More guest role NPCs here and there * Remove "Save FIle" version from the save/load menu Signed-off-by: aszlig <aszlig@nix.build>
* | fetch-gog: Provide a better login failure messageaszlig2019-06-111-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far if the login credentials were wrong, you get something like this: Traceback (most recent call last): File "/nix/store/...-fetch-gog.py", line 113, in <module> GogFetcher(sys.argv[1], sys.argv[2], sys.argv[3]).fetch() File "/nix/store/...-fetch-gog.py", line 15, in __init__ self.login() File "/nix/store/...-fetch-gog.py", line 28, in login auth_code = parse_qs(urlsplit(browser.get_url()).query)['code'] KeyError: 'code' This is isn't very helpful and might hint that there is something wrong with the fetcher. Of course, if GOG would change their login interface and no longer expose the "code" query string item, it might still say login failure, but right now we don't have a better way to detect it. At least if we get a login failure with a login that has been working so far, we know something has changed upstream :-) Signed-off-by: aszlig <aszlig@nix.build> Reported-by: @Profpatsch
* | crosscode: 1.0.2 -> 1.0.3aszlig2019-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream changes: * Add a couple of new quests, new NPC dialogs and a few small details here and there * Finish the "A Promise is a Promise" quest line * The Last Minute Heroes guild headquarters is finally open to everyone, with a new quest * New consumable item is now dropped by the Moon bugs in Sapphire Ridge Signed-off-by: aszlig <aszlig@nix.build>
* | machines/shiki: move the notify-send invocation outProfpatsch2019-05-311-2/+1
| |
* | pkgs/profpatsch/DhallTypedInput: Document moduleProfpatsch2019-05-181-40/+91
| |
* | pkgs/profpatsch: Haskell dhall import with custom typesProfpatsch2019-05-181-0/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First working mockup of a dhall Haskell API that can read files of the (normalized) form ``` \(CustomType: Type) -> \(AnotherType: Type) -> … ``` and set their actual representation on the Haskell side. This has various advantages: - dhall files still type check & normalize with the normal dhall tooling, they are standalone (and the types can be instantiated from dhall as well without any workarounds) - It can be used like the default `input` function, no injection of custom symbols in the Normalizer is reqired - Brings this style of dhall integration to Haskell, where it was only feasible in nix before, because that is untyped The dhall types can be instantiated by every Haskell type that has an `Interpret` instance. The “name” of the type lambda variable is compared on the Haskell side with a type-level string that the user provides, to prevent mixups. TODO: - Improve error messages (!) - Provide a way to re-use the type mapping on the Haskell side, so that the returned values are not just the normal `Interpret` types, but the mapped ones (with name phantom type)
* | machines/haku: open less ports in firewallProfpatsch2019-05-161-0/+1
| |
* | pkgs/profpatsch: manual dhall-nix updateProfpatsch2019-05-161-1/+12
| |
* | pkgs/profpatsch/display-infos: display remaining battery lifeProfpatsch2019-04-231-5/+37
| | | | | | | | The battery life is displayed as an [sft] timespan.
* | pkgs/profpatsch/sfttime: factor out the sft epochProfpatsch2019-04-231-2/+4
| |
* | pkgs/profpatsch: fix hnix overrideProfpatsch2019-04-201-0/+1
| |
* | pkgs/profpatsch/nman: fix go buildProfpatsch2019-04-201-1/+3
| |
* | pkgs/profpatsch/display-infos: add sfttime and AC chargerProfpatsch2019-04-202-7/+10
| |
* | pkgs/profpatsc: add sfttimeProfpatsch2019-04-203-0/+158
| |
* | build-support/build-sandbox: add support for mounting /nixProfpatsch2019-04-183-19/+53
| | | | | | | | | | | | Enables us to run nix *inside* of a sandbox. We have to mount the whole store, because otherwise realized store paths built inside of the sandbox are not accessible.
* | buildSandbox: return the exit status of wrapped executableProfpatsch2019-04-181-2/+18
|/ | | | | Since we want to create a transparent sandbox, returning the same exit code as the wrapped process is very important.