Add gruvbox theme for yazi

This commit is contained in:
Fern Garden 2025-07-12 15:37:22 +08:00
parent f89b492dc9
commit 8907f2f16a
3 changed files with 32 additions and 2 deletions

View file

@ -0,0 +1,21 @@
{
pkgs,
fetchFromGitHub,
}: let
flavor = "gruvbox-dark";
in
pkgs.stdenv.mkDerivation {
pname = "yazi-flavor-${flavor}";
version = "2025.04.24";
src = fetchFromGitHub {
owner = "bennyyip";
repo = "${flavor}.yazi";
rev = "91fdfa70f6d593934e62aba1e449f4ec3d3ccc90";
hash = "sha256-RWqyAdETD/EkDVGcnBPiMcw1mSd78Aayky9yoxSsry4=";
};
installPhase = ''
mkdir -p $out
cp $src/* $out/
'';
}