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