about summary refs log tree commit diff
path: root/pkgs
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/profpatsch/nman: really enumerate (all) manpagesProfpatsch2024-03-041-29/+39
| | | | | | We enumerate every single manpage, then we only take the first manpage that is in our section or just the first manpage that is named correctly.
* pkgs/profpatsch/nman: rewrite directory iteration to more imperativeProfpatsch2024-03-031-19/+19
| | | | | This is gonna make it a lot easier to enumerate the manpages as well. Plus the code gets somewhat easier to read in my opinion.
* pkgs/profpatsch/nman: don’t return the full pathProfpatsch2024-03-031-15/+13
| | | | | We can construct the path of a manpage from it’s metadata alone (given a derivation output path).
* pkgs/profpatsch/nman: move checking man-prefix into enumerateProfpatsch2024-03-031-34/+43
| | | | | We can already validate these directories early, returning just a struct with the plain section name and path to section.
* pkgs/profpatsch/nman: always enumerate all manpagesProfpatsch2024-03-031-17/+19
| | | | | First step towards getting some info about which manpages are indeed available if we don’t find any.
* pkgs/profpatsch/nman: separate drv building from manpage checkProfpatsch2024-03-031-33/+47
|
* pkgs/profpatsch/nman: start returning more info from buildProfpatsch2024-03-031-6/+12
|
* pkgs/profpatsch/nman: initial debug logging & add "doc"Profpatsch2024-03-031-6/+60
| | | | | For some reason the doc output was missing from the list, but we want to sort it kinda high? At least over "bin" and such!
* pkgs/profpatsch/nman: run `rustfmt`Profpatsch2024-03-032-136/+194
|
* pkgs/profpatsch/nman: add a `--verbose` flagProfpatsch2024-03-032-25/+44
| | | | And only print debug stuff iff we enabled it.
* pkgs/profpatsch/nman: put functions into struct contextProfpatsch2024-03-031-153/+160
| | | | so that we can add a global debug flag
* pkgs/profpatsch/nman: print all command calls to stderrProfpatsch2024-03-031-14/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently still unconditionally. The commands are printed in a syntax that can be directly copied and executed in bash. The pretty-printing code is transformed form this Haskell function: ```haskell -- | Simple escaping for bash words. If they contain anything that’s not ascii chars -- and a bunch of often-used special characters, put the word in single quotes. simpleBashEscape :: Text -> Text simpleBashEscape t = do case Text.find (not . isSimple) t of Just _ -> escapeSingleQuote t Nothing -> t where -- any word that is just ascii characters is simple (no spaces or control characters) -- or contains a few often-used characters like - or . isSimple c = Char.isAsciiLower c || Char.isAsciiUpper c || Char.isDigit c -- These are benign, bash will not interpret them as special characters. || List.elem c ['-', '.', ':', '/'] -- Put the word in single quotes -- If there is a single quote in the word, -- close the single quoted word, add a single quote, open the word again escapeSingleQuote t' = "'" <> Text.replace "'" "'\\''" t' <> "'" ```
* pkgs/profpatsch/nman: order functions top-to-bottomProfpatsch2024-03-031-81/+84
|
* pkgs/profpatsch/nman: move main to topProfpatsch2024-03-031-68/+70
|
* pkgs/profpatsch/nman: inline dispatch_actionProfpatsch2024-03-031-38/+39
|
* pkgs/{profpatsch/nman,sternenseemann/rust/temp}: fix rust warningsProfpatsch2024-03-032-12/+11
|
* pkgs/{profpatsch/nman,sternenseemann/rust/temp}: add stub Cargo.tomlProfpatsch2024-03-034-0/+24
| | | | | | | | | These are for local development, otherwise rust language server does not work out of the box. We might want to move the `temp` crate into its own dir, because cargo only allows one library per Cargo.toml, but right now I did the minimal setup to make it work.
* machines/profpatsch/website: ensmallen pubkeyProfpatsch2024-02-141-842/+585
|
* machines/profpatsch/website: mastodon <link>Profpatsch2024-02-141-0/+1
|
* machines/profpatsch/website: more talkiesProfpatsch2024-02-141-1/+5
|
* firefox: Update Tridactyl to version 1.24.0aszlig2024-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New features: * A new :reader mode has been added which Tridactyl binds can run on. If you prefer the old mode, it is accessible with :reader --old. We've left gr bound to the old mode for now but you can update it with :bind gr reader * With :set tabsort mru, tab IDs within Tridactyl are now determined by recency of use almost everywhere. This means, e.g. that you can use 2gt to switch to the second most recently used tab (so identical to <C-^>), 3gt to the third most recently used tab, etc. * yq bind added to display current URL as a QR code, with q bind in visual mode. See :text2qr for details * :set keyboardlayoutforce true will now force Tridactyl to use, by default, the US keyboard layout for keybinds, even if you're using a different layout. Useful if you use multiple layouts but don't want Tridactyl binds to move, or if you use a layout such as a Cyrillic one where the default binds are difficult to use. Change the forced layout with :set keyboardlayoutbase * Experimental support for opening arbitrary pages in the sidebar has been added. See :help sidebartoggle and :help sidebaropen for more details * :autocmd and related commands now have completions * :open and related commands now have completions for searchurls and previous searches * Quality of life improvements for tab groups * -x flag added to :hint to exclude CSS selectors from hints * With the command line open, <C-o>t opens a new tab in the background for the selected completion - especially useful with :back completions * :hint -C [selectors] added for custom hint modes while including the default selectors * ;gd rapid hint mode with discarded tabs added * :undo now has fuzzy matching * :source can now read from the command line and the clipboard with --strings and --clipboard * :tab{grab,push} now respect tabopenpos Bug fixes: * :find will now find start from the current viewport * Comments now work in multiline commands in RC files * :editor now works on Gradio apps (please spare me when AI takes over the world) * :winmerge completions are more readable with many windows * :urlincrement now operates on the decoded URI so e.g. %20 doesn't become %21 * ;m and ;M for Google reverse-image search now work again * The midnight theme no longer has a white background in FF102+ * Container colours fixed for FF108+ * gi no longer goes to the start of the search box on Google * modeindicator border is now configurable * Unbindable default binds should no longer be possible * Config should no longer reset when interacting with help page Miscellaneous: * :jsua command added to preserve "user action" intent when using browser binds, needed for triggering certain Web Extension APIs such as browser.sidebarAction.open(). See :help jsua for more information * tri.hinting_content.hintElements function added for advanced usage in :js - see the source for documentation * Groundwork for multi-browser support added * All tests now run using GitHub actions * Docs are now built and hosted on our website * Native messenger now supports Arm-based Macs with :native version at least 0.4.0 * Native messenger 0.4.1 checks %XDG_CONFIG_HOME% on Windows * when_feature.sh [feature] helper script added to repo to find the earliest possible version a feature appeared in Tridactyl Signed-off-by: aszlig <aszlig@nix.build>
* firefox: Update Stylus to version 1.5.45aszlig2024-02-021-2/+2
| | | | | | | | | | | | A lot has changed between 1.5.38, but mostly around the integrated editor (which I don't use) and circumvention of content security policies on certain sites. I might want to drop this plugin at some point, since it does a whole lot more than what I personally want (which is simply: use a different CSS for a *very* small and selected amount of sites). Signed-off-by: aszlig <aszlig@nix.build>
* firefox: Update ff2mpv to version 5.1.0aszlig2024-02-021-2/+2
| | | | | | | | | | | | Most changes are about installing the native messaging app and packaging on various distributions and OS, additionally it also tries to support more browsers. In addition to that, there is now a way to set mpv arguments via the plugin's new options page. We however want to set this via Nix, so I'm completely ignoring that feature and didn't include it in our ff2mpv.py. Signed-off-by: aszlig <aszlig@nix.build>
* firefox: Enable Global Privacy Controlaszlig2024-02-021-0/+1
| | | | | | | | | | | | | | | | | This was introduced in Firefox 120.0 and essentially implements the following specification: https://privacycg.github.io/gpc-spec/ Similar to Do-Not-Track, it implements a header (Sec-GPC) that expresses the persons preference to the site of whether the site may sell/share the browsers interaction. Since Do-Not-Track pretty much is ignored on most sites that formerly adhered to it, I expect a similar fate for GPC, but maybe this time things work out differently (crossing fingers). Signed-off-by: aszlig <aszlig@nix.build>
* firefox: Disable extension updatesaszlig2024-02-021-0/+1
| | | | | | | We're managing extensions via Nix, so there is no need to check whether extension updates are available. Signed-off-by: aszlig <aszlig@nix.build>
* psi: Update to latest masteraszlig2024-01-221-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is mainly because of the following build failure that seems to have been fixed upstream: widgets/emojiregistry.cpp: In member function 'EmojiRegistry::Category EmojiRegistry::startCategory(QStringRef) const': widgets/emojiregistry.cpp:40:10: error: 'uint32_t' is not a member of 'std'; did you mean 'wint_t'? 40 | std::uint32_t ucs; | ^~~~~~~~ | wint_t widgets/emojiregistry.cpp:44:9: error: 'ucs' was not declared in this scope 44 | ucs = QChar::surrogateToUcs4(in[0], in[1]); | ^~~ widgets/emojiregistry.cpp:46:9: error: 'ucs' was not declared in this scope 46 | ucs = in[0].unicode(); | ^~~ widgets/emojiregistry.cpp:51:9: error: 'ucs' was not declared in this scope 51 | if (ucs == 0x200d) | ^~~ widgets/emojiregistry.cpp:53:9: error: 'ucs' was not declared in this scope 53 | if (ucs == 0xfe0f) | ^~~ widgets/emojiregistry.cpp:55:9: error: 'ucs' was not declared in this scope 55 | if (ucs <= 0x39 && in.length() > 2 && (ucs >= 0x30 || ucs == 0x2a || ucs == 0x23) && in[1].unicode() == 0xfe0f | ^~~ widgets/emojiregistry.cpp:61:38: error: 'ucs' was not declared in this scope 61 | auto lb = ranges_.lower_bound(ucs); | ^~~ Of course, the second reason is that the current version seems to be way too stable and I want to have a fresh round of new bugs. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sternenseemann/scripts: backup firefox profilessternenseemann2024-01-131-1/+0
|
* vim: Update Nix syntax/indent to latest masteraszlig2024-01-091-2/+2
| | | | | | | | Not only were there a lot of smaller fixes in the meantime, but latest master now properly supports the (not so) new (anymore) path interpolation syntax. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sternenseemann/scripts: don't backup llvm srcsternenseemann2023-12-301-0/+1
|
* pkgs/vuizvui-update-programs-sqlite: accept new redirect mechanismsternenseemann2023-12-301-1/+1
| | | | Seems like this changed from 301 to 302 now.
* firefox: Update Multi-Account Containers to 8.1.3aszlig2023-12-061-2/+2
| | | | | | | This release just includes fixes for "Firefox Accounts" rebranding, no real feature changes. Signed-off-by: aszlig <aszlig@nix.build>
* firefox: Update Stylus addon to version 1.5.38aszlig2023-12-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 1.5.33 minus bugfixes and CI stuff: * Added an option to use adoptedStyleSheets API (Chrome/ium 73+, Firefox 101+), instead of using DOM elements * Combine style & editor settings * Add an option to update only enabled styles * Auto-retry style finder on network failure * Faster import/undo * Highlight the Save button in unsaved styles * Improve the write-style UI a bit * Show errors when importing the backup * Show instant inject option in Firefox * Speed up opening the manager (a bit) * Speed up opening the multi-sectioned editor with lots of sections * Support fractional numbers with Alt-key increment * Use new userstyles.org API & uso-archive url * Show autosaved draft's css code prior to confirming + auto-remove the autosaved draft when saving * Apply eyedropper color immediately * Open installer for .user.less * Remember all editor options * Remember searchMode in manager The full release notes can be found at: https://github.com/openstyles/stylus/releases Signed-off-by: aszlig <aszlig@nix.build>
* firefox: Fix evaluation with newer nixpkgsaszlig2023-12-061-5/+16
| | | | | | | | | | | | | | | | | | A recent nixpkgs change[1] added an explicit requireSigning attribute, which in turn sets MOZ_REQUIRE_SIGNING to a zero-width string. The change also changed the check in the Firefox wrapper to check whether the browser derivation exposes a requireSigning attribute, which it doesn't. Since I'm busy with other things and just want my machine configuration to evaluate, I quickly worked around this by re-adding the requireSigning (and allowAddonSideload for that matter) to the derivation attributes on our side. [1]: https://github.com/NixOS/nixpkgs/commit/c4c81ac8a219e8725dae514f49c Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sternenseemann/emoji-generic: truly allow text 2.0sternenseemann2023-11-191-2/+2
|
* pkgs/sternenseemann/saneterm: use Python 3.10sternenseemann2023-11-191-1/+1
|
* pkgs/sternenseemann/tep: update to Unicode 15.1sternenseemann2023-11-191-2/+2
|
* pkgs/sternenseemann/emoji-generic: allow text 2.0 / GHC 9.4sternenseemann2023-11-191-3/+3
|
* Revert "firefox: Make FOUC less annoying"aszlig2023-08-091-7/+0
| | | | | | | | | | | | | This reverts commit e868bfeca5501c7c02f1fc1013ea6cc7e79af043. Unfortunately, this causes some sites to be outright unreadable since they seem to rely on a certain set of default colors. Given that the FOUC is already pretty minimal in Firefox, I think it's really not worth breaking a bunch of sites just to get rid of the flashing, at least until we found a better way to prevent it entirely. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/gpodder: Update to latest upstream masteraszlig2023-08-051-3/+3
| | | | | | | | The latest Git master version contains a bunch of fixes for yt-dlp integration and since most of my feeds are actually YouTube channels, it just makes sense to upgrade. Signed-off-by: aszlig <aszlig@nix.build>
* firefox: Add a few more prefs from Betterfoxaszlig2023-07-191-0/+14
| | | | | | | | | | | | | | | | | I roughly went through the preferences set by Betterfox[1] and checked whether they'd make sense for my Firefox version. While most of these options are pretty straightforward, the captive and connectivity services are features for convenience, eg. when travelling. However, since the only thing they do is giving UI hints that otherwise can be found out via a quick detour to the shell or visiting a random "http://" URL I don't think the convenience outweights repeatedly pinging detectportal.firefox.com. [1]: https://github.com/yokoffing/Betterfox Signed-off-by: aszlig <aszlig@nix.build>
* games/gog-unpack: Fix unpacking with newer bsdtaraszlig2023-07-171-1/+1
| | | | | | | | | | | | | | With newer bsdtar, extraction fails because of this error: bsdtar: Pathname cannot be converted from UTF-8 to current locale. bsdtar: Archive entry has empty or unreadable filename ... skipping. bsdtar: Error exit delayed from previous errors. The reason is that the current locale isn't set during Nix builds, so in order for bsdtar to work properly, let's set it to C.UTF-8 so that it hopefully doesn't convert anything at all (which is what we want). Signed-off-by: aszlig <aszlig@nix.build>
* games/monogame-patcher: Fix evaluationaszlig2023-07-171-3/+3
| | | | | | | | | | | | The evaluation error is: error: function 'anonymous lambda' called without required argument 'pname' This is because the "baseName" attributes of the dotnet tooling have changed to the more common "pname" attributes that we use throughout nixpkgs. Signed-off-by: aszlig <aszlig@nix.build>
* games/build-unity: Allow to pass wrapper argsaszlig2023-07-171-1/+1
| | | | | | | This is handy if we want to pass further arguments to the makeWrapper call without either replacing installPhase or wrapping twice. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/games: Fix deprecated package attribute namesaszlig2023-07-172-6/+6
| | | | | | | These package attribute names have been renamed a long time ago and no longer evaluate in current nixpkgs. Signed-off-by: aszlig <aszlig@nix.build>
* firefox: Make FOUC less annoyingaszlig2023-07-141-0/+7
| | | | | | | | | | | | | | | | | | Flash of unstyled content[1] is a common issue in browsers and happens whenever transitioning to a page without the full styles being loaded. For the most part, Firefox does a good job preventing FOUC, but in some occasions the default colors still show up. Since I do prefer a dark color scheme anyway, let's actually make sure that the default colors represent a dark color scheme. The reason why I picked the dark colors from startpage.com is purely because it was the next best to pick some colors from, rather than personal preference. [1]: https://en.wikipedia.org/wiki/Flash_of_unstyled_content Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sternenseemann/lib: needs pkgs.libsternenseemann2023-06-071-2/+3
| | | | | | | Due to the switch to vuizvui's callPackage in b9401bd57cfff9955649d5ccd3b346271d787a2e, pkgs.sternenseemann.lib would suddenly get a self reference as the `lib` argument which is of course no good.
* psi: Update to latest Git masteraszlig2023-06-022-12/+12
| | | | | | | | | | | | | There is no particular reason for this other than me "feeling" that my version became somewhat old. From looking at the upstream diffs the changes are mostly fixes. However, I also updated the QDarkStyle plugin, which does have quite a few changes and the overall theming now looks lighter than before but still not in a way that feels like an annoyance. We'll see and revert if necessary. Signed-off-by: aszlig <aszlig@nix.build>
* firefox: Update Stylus addon to version 1.5.33aszlig2023-06-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream changes from 1.5.26 to 1.5.33: * Add year selector in popup search * Autocomplete fixes * CSSLint: 1.5x faster; supports nested &-selectors and nested @-rules * CSSLint: new color syntax, removed IE6-8 rules * CSSLint: new syntax for nested selectors * Ctrl-/ to toggle line comment will use the standard /* block syntax */ to avoid upstream bugs in less and stylus preprocessors * Don't open installer when browsing a non-raw .user.css URL on github * Editor: allow to change numbers via keyboard/wheel * Editor: autocomplete for less preprocessor will show @ variables * Editor: improvements and fixes for autocomplete * Editor: new option Arrow keys ↑↓ traverse sections * Fix CSP patching, color picker hue overflow, section naming, style size in manager after toggling, dark mode eye dropper * Fixed userstyles.org install button, again * Fixes for Stylus pages in Firefox + dark mode * Fixes for sync * Hide lint errors for @ vars with less preprocessor * New beautify options * New option: toggle .user.css URL installer * Properly update style preview in tab when its config changes * Show installed styles in the list of available styles in the popup finder * Style manager: added multi-column mode option * Style manager: added style size * Style manager: changed Number of applies-­to items option minimum from 1 to 0 * fix: installing github styles in subdirectory inside the repository * fix: styling of iframes in Firefox * fix: styling of same-origin iframes in Chrome * fix: styling of sandboxed iframes in Chrome before 86 * fixed installation on the redesigned userstyles.org * fixed saving of windowed editor position on a non-primary monitor * skip & report invalid styles on import Signed-off-by: aszlig <aszlig@nix.build>
* dnyarri: Switch to gpodder from Gitaszlig2023-06-023-1/+95
| | | | | | | | | I already had the latest Git version laying around in my Nix user profile, so it's battle-tested enough. The main reason why I did this is because it has much better support for yt-dlp, which I prefer to youtube-dl. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sternenseemann/scripts: clean up unused attributessternenseemann2023-05-141-23/+1
|