2022-05-27 12:11:54 +01:00
|
|
|
{ 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=";
|
|
|
|
};
|
|
|
|
|
2023-02-02 09:20:30 +00:00
|
|
|
postInstall = ''
|
|
|
|
cp conf.d/executables $out/share/fish/vendor_conf.d/
|
|
|
|
'';
|
|
|
|
|
2022-05-27 12:11:54 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "grc Colourizer for some commands on Fish shell";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|