From 376715187c66b5957bc2290575be56fa6c148222 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Fri, 27 May 2022 13:11:54 +0200 Subject: [PATCH] fishPlugins.grc: init at unstable-2022-05-24 --- pkgs/shells/fish/plugins/default.nix | 2 ++ pkgs/shells/fish/plugins/grc.nix | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/shells/fish/plugins/grc.nix diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index 98b41f6cc189..1adf040d64f9 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -19,6 +19,8 @@ lib.makeScope newScope (self: with self; { fzf-fish = callPackage ./fzf-fish.nix { }; + grc = callPackage ./grc.nix { }; + hydro = callPackage ./hydro.nix { }; pisces = callPackage ./pisces.nix { }; diff --git a/pkgs/shells/fish/plugins/grc.nix b/pkgs/shells/fish/plugins/grc.nix new file mode 100644 index 000000000000..f506ba36c13c --- /dev/null +++ b/pkgs/shells/fish/plugins/grc.nix @@ -0,0 +1,20 @@ +{ lib, buildFishPlugin, fetchFromGitHub }: + +buildFishPlugin { + pname = "grc"; + version = "unstable-2022-05-24"; + + src = fetchFromGitHub { + owner = "oh-my-fish"; + repo = "plugin-grc"; + rev = "61de7a8a0d7bda3234f8703d6e07c671992eb079"; + sha256 = "sha256-NQa12L0zlEz2EJjMDhWUhw5cz/zcFokjuCK5ZofTn+Q="; + }; + + meta = with lib; { + description = "grc Colourizer for some commands on Fish shell"; + license = licenses.mit; + maintainers = with maintainers; [ onny ]; + platforms = with platforms; unix; + }; +}