From 453e3947068d9beb1153b59f0062d84b20b5f969 Mon Sep 17 00:00:00 2001 From: FidgetingBits Date: Sun, 17 Mar 2024 11:32:03 +0800 Subject: [PATCH 1/2] maintainers: add fidgetingbits --- maintainers/maintainer-list.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 53ae8880787d..ace2306d7a20 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6358,6 +6358,18 @@ githubId = 8182846; name = "Francesco Gazzetta"; }; + fidgetingbits = { + name = "fidgetingbits"; + email = "nixpkgs.xe7au@passmail.net"; + matrix = "@fidgetingbits:matrix.org"; + github = "fidgetingbits"; + githubId = 13679876; + keys = [ + { fingerprint = "U+vNNrQxJRj3NPu9EoD0LFZssRbk6LBg4YPN5nFvQvs"; } + { fingerprint = "lX5ewVcaQLxuzqI92gujs3jFNki4d8qF+PATexMijoQ"; } + { fingerprint = "elY15tXap1tddxbBVoUoAioe1u0RDWti5rc9cauSmwo"; } + ]; + }; figsoda = { email = "figsoda@pm.me"; matrix = "@figsoda:matrix.org"; From 3ac1afe403d99d0a1a417209528deb9c1f808aaa Mon Sep 17 00:00:00 2001 From: FidgetingBits Date: Sun, 17 Mar 2024 11:32:18 +0800 Subject: [PATCH 2/2] zhook: init at 0-unstable-10-31-2021 --- pkgs/by-name/zs/zsh-zhooks/package.nix | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/zs/zsh-zhooks/package.nix diff --git a/pkgs/by-name/zs/zsh-zhooks/package.nix b/pkgs/by-name/zs/zsh-zhooks/package.nix new file mode 100644 index 000000000000..1fea11eb4e6a --- /dev/null +++ b/pkgs/by-name/zs/zsh-zhooks/package.nix @@ -0,0 +1,33 @@ +{ + lib, + stdenv, + fetchFromGitHub, +}: +stdenv.mkDerivation { + pname = "zsh-zhooks"; + version = "0-unstable-10-31-2021"; + + src = fetchFromGitHub { + owner = "agkozak"; + repo = "zhooks"; + rev = "e6616b4a2786b45a56a2f591b79439836e678d22"; + sha256 = "sha256-zahXMPeJ8kb/UZd85RBcMbomB7HjfEKzQKjF2NnumhQ="; + }; + + dontBuild = true; + + installPhase = '' + install -m755 -D zhooks.plugin.zsh --target-directory $out/share/zsh/zhooks + ''; + + meta = { + description = "A tool for displaying the code for all Zsh hook functions"; + homepage = "https://github.com/agkozak/zhooks"; + license = lib.licenses.mit; + longDescription = '' + This Zsh plugin is a tool for displaying the code for all Zsh hook functions (such as precmd), as well as the contents of + hook arrays (such as precmd_functions). + ''; + maintainers = [ lib.maintainers.fidgetingbits ]; + }; +}