1{
2 lib,
3 buildFishPlugin,
4 fetchFromGitHub,
5}:
6
7buildFishPlugin {
8 pname = "grc";
9 version = "0-unstable-2022-05-24";
10
11 src = fetchFromGitHub {
12 owner = "oh-my-fish";
13 repo = "plugin-grc";
14 rev = "61de7a8a0d7bda3234f8703d6e07c671992eb079";
15 sha256 = "sha256-NQa12L0zlEz2EJjMDhWUhw5cz/zcFokjuCK5ZofTn+Q=";
16 };
17
18 postInstall = ''
19 cp conf.d/executables $out/share/fish/vendor_conf.d/
20 '';
21
22 meta = with lib; {
23 description = "Grc Colourizer for some commands on Fish shell";
24 license = licenses.mit;
25 maintainers = with maintainers; [ onny ];
26 platforms = with platforms; unix;
27 };
28}