about summary refs log tree commit diff
path: root/pkgs
Commit message (Collapse)AuthorAgeFilesLines
* monogame-patcher: Also patch late-bound methodsaszlig2020-02-101-1/+2
| | | | | | | | | | | | | | This is something I encountered in Invisigun Heroes, where there is a virtual FileManagerAdapter class, which then gets bound to either the Desktop variant or any of the other ones. Since we always use the full path of the corresponding type/object, just adding the Callvirt to the opcodes we patch shouldn't interfere with any other games we patch that way and using an extra subcommand just for the Callvirt case would only add additional boilerplate for no additional benefits. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/profpatsch/execline/e: better promptProfpatsch2020-01-261-12/+14
| | | | | | rlwrap has to do magic recognition, which breaks in most cases. We can just print a prompt before the first and after each consecutive command. Seems to work wonderfully.
* pkgs/profpatsch/execline/e: add prompt colorProfpatsch2020-01-261-0/+2
|
* pkgs/profpatsch/execline/e: fix buffering problemProfpatsch2020-01-261-3/+0
| | | | Forgot the cat after I added forstdin.
* pkgs/profpatsch/execline/e: fix line splittingProfpatsch2020-01-261-6/+6
|
* pkgs/profpatsch/execline: add eProfpatsch2020-01-262-0/+25
|
* pkgs/profpatsch/execline: add runblockProfpatsch2020-01-262-0/+71
|
* pkgs/profpatsch/write-execline: add all argparsing commandsProfpatsch2020-01-261-2/+20
| | | | | | In some cases (especially with `runblock`), the arguments need to be accessible as environment variables, so we need a way to pass that to execline.
* machines/profpatsch/shiki: use dhall from binary releaseProfpatsch2020-01-261-11/+0
| | | | | | | | | The hackage (and thus nixpkgs) version is sadly very much outdated. Luckily, Justin Woo provides the statically linked binaries from the upstream project. This won’t work for patches or using the library, but at the moment it’s okay.
* pkgs/profpatsch/warpspeed: 1.0 -> 1.1Profpatsch2020-01-261-5/+31
| | | | | | - Add argument for which host to bind against. - Add argument to specify where the root address should be redirected to (if at all)
* escape: support pathsYorick2020-01-181-0/+1
| | | This makes ./foo work.
* pkgs/profpatsch/youtube2audiopodcast: fix a few thingsProfpatsch2019-12-271-4/+4
|
* pkgs/profpatsch/youtube2audiopodcast: use v4 localhost for tcpserverProfpatsch2019-12-271-1/+1
|
* pkgs/profpatsch/youtube2audiopodcast: use ::1 for tcpserverProfpatsch2019-12-271-1/+1
|
* pkgs/profpatsch/youtube2audiopodcast: serve rss feed & audio filesProfpatsch2019-12-272-29/+37
|
* pkgs/profpatsch/query-audio-streams: initProfpatsch2019-12-143-0/+94
|
* pkgs/profpatsch: move `writeHaskellInterpret` upwardsProfpatsch2019-12-142-12/+13
|
* pkgs/profpatsch/youtube2audiopodcast: youtube playlist to rssProfpatsch2019-12-092-4/+201
| | | | | Initial code that fetches a youtube playlist (from ID) and converts it to an rss feed.
* pkgs/profpatsch/youtube2audiopodcast: clean imports and use s6 catProfpatsch2019-12-091-2/+5
|
* pkgs/profpatsch/youtube2audiopodcast: factor out http servingProfpatsch2019-12-091-14/+22
|
* machines/profpatsch,pkgs/profpatsch: rm `execlineb-with-builtins`Profpatsch2019-12-082-33/+6
| | | | | | | This has been upstreamed to nixpkgs proper, as a C wrapper script, in https://github.com/NixOS/nixpkgs/pull/71357 So we don’t even need bash to run execline anymore :P
* pkgs/profpatsch: bump nixperimentsProfpatsch2019-12-081-2/+2
| | | | | It previously copied nixpkgs to the store, because a `toString` was missing.
* pkgs/profpatsch: fix stray `runCommandLocal`Profpatsch2019-12-081-1/+1
|
* treewide: use `runCommandLocal` where applicableProfpatsch2019-12-086-18/+10
| | | | | | | `runCommandLocal` was added to nixpkgs in https://github.com/NixOS/nixpkgs/pull/74642 to speed up trivial `runCommand` derivations by always building them locally. We have a few places where that’s good to use.
* pkgs/profpatsch: fixup missing sandbox argProfpatsch2019-12-081-1/+1
|
* pkgs/profpatsch/youtube2audiopodcast: use sandbox instead of tempdirProfpatsch2019-12-081-10/+10
| | | | | | If we sandbox each run of our youtube-dl script inside of the UCSPI TCP server, we get a temporary directory “for free”, plus guarantees that the files are cleaned up after the process exits.
* pkgs/profpatsch/execline: use -W instead of EXECLINE_STRICTProfpatsch2019-12-081-2/+1
| | | | | | EXECLINE_STRICT does not apply to the `execlineb` command itself, so we don’t get any errors if the nesting is incorrect. `-W` does set it for `execlineb` however.
* pkgs/profpatsch: add sandbox primitiveProfpatsch2019-12-082-9/+66
| | | | | | Small sandboxing utility, which unshares the filesystem via user-namespaces and can optionally bind-mount existing paths into the sandbox.
* pkgs/profpatsch/youtube2audiopodcast: serve arbitrary youtube videoProfpatsch2019-12-081-6/+18
|
* pkgs.profpatsch: expose youtube2audiopodcastProfpatsch2019-12-081-0/+3
|
* pkgs.profpatsch: init youtube2audiopodcastProfpatsch2019-12-082-0/+77
| | | | | Minimal PoC of a small application which can download and convert a youtube video with youtube-dl and then serve it via HTTP.
* 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.