From 1a78d86c9c157019766d6373e60d0e285e048890 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 13 Aug 2024 21:29:39 +0300 Subject: [PATCH] fuzzel-git: init --- .github/workflows/build.yml | 1 + README.md | 3 ++- npins/sources.json | 11 +++++++++++ pkgs/fuzzel-git/package.nix | 27 +++++++++++++++++++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 pkgs/fuzzel-git/package.nix diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4cb125a..691f352 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,7 @@ jobs: - ani-cli - cloneit - foot-transparent + - fuzzel-git - headscale-ui - mastodon-bird-ui - zsh-stripped diff --git a/README.md b/README.md index c475372..d9be20c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ contains a description of the package inside its README. | alejandra-custom | A patched version of the **Alejandra** Nix formatter, without the pesky ads and spacing patches | | ani-cli | An up-to-date, auto updated version of ani-cli following auto-updated pins | | cloneit | A CLI tool to download specific GitHub directories or files | -| foot-transparent | A patched version of the foot terminal emulator that brings back fullscreen transparency[^1] | +| foot-transparent | A patched version of the Foot terminal emulator that brings back fullscreen transparency[^1] | +| fuzzel-git | Patched version of Fuzzel that tracks the latest git revision | | headscale-ui | A web frontend for the headscale Tailscale-compatible coordination server | | mastodon-bird-ui | Mastodon web UI, but strongly inspired by Twitter. | | zsh-stripped | ZSH with newinstall scripts removed, and patches to handle special characters such as `^` or `#` | diff --git a/npins/sources.json b/npins/sources.json index 703b959..a91a6ab 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -44,6 +44,17 @@ "url": null, "hash": "1znfk64kimm0vr3alvj66i1yn5glig3bw60n2lv9cn4jzi1b7qhb" }, + "fuzzel": { + "type": "Git", + "repository": { + "type": "Git", + "url": "https://codeberg.org/dnkl/fuzzel.git" + }, + "branch": "master", + "revision": "f1a5412151358b37dcdcf820e625371f0b5ceec9", + "url": null, + "hash": "1hb2kk2jl9g38fq2895kshki9wsvncsjk3xb15b7pzwnm2gg3j8h" + }, "mov-cli": { "type": "GitRelease", "repository": { diff --git a/pkgs/fuzzel-git/package.nix b/pkgs/fuzzel-git/package.nix new file mode 100644 index 0000000..9cfee2a --- /dev/null +++ b/pkgs/fuzzel-git/package.nix @@ -0,0 +1,27 @@ +{ + lib, + fetchFromGitea, + fuzzel, + pins, + date, + ... +}: +fuzzel.overrideAttrs (let + pin = pins.fuzzel; +in { + pname = "foot-transparent"; + version = "0-${date}-unstable"; + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "dnkl"; + repo = "fuzzel"; + rev = pin.revision; + sha256 = pin.hash; + }; + + meta = { + description = "Patched version of Fuzzel app launcher that tracks latest git revision"; + mainProgram = "fuzzel"; + maintainers = with lib.maintainers; [NotAShelf]; + }; +})