Files
nixpkgs/pkgs/shells/fish/plugins/grc.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

29 lines
622 B
Nix

{
lib,
buildFishPlugin,
fetchFromGitHub,
}:
buildFishPlugin {
pname = "grc";
version = "0-unstable-2022-05-24";
src = fetchFromGitHub {
owner = "oh-my-fish";
repo = "plugin-grc";
rev = "61de7a8a0d7bda3234f8703d6e07c671992eb079";
sha256 = "sha256-NQa12L0zlEz2EJjMDhWUhw5cz/zcFokjuCK5ZofTn+Q=";
};
postInstall = ''
cp conf.d/executables $out/share/fish/vendor_conf.d/
'';
meta = {
description = "Grc Colourizer for some commands on Fish shell";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ onny ];
platforms = with lib.platforms; unix;
};
}