Merge pull request #296562 from fidgetingbits/add-zsh-zhooks-plugin

zsh-zhooks: init at 0-unstable-10-31-2021
This commit is contained in:
Masum Reza 2024-06-21 00:24:07 +05:30 committed by GitHub
commit ecb0349693
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 45 additions and 0 deletions

View File

@ -6506,6 +6506,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";

View File

@ -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 ];
};
}