diff --git a/pkgs/by-name/ya/yazi/plugins/miller/default.nix b/pkgs/by-name/ya/yazi/plugins/miller/default.nix new file mode 100644 index 000000000000..c83f51648c1d --- /dev/null +++ b/pkgs/by-name/ya/yazi/plugins/miller/default.nix @@ -0,0 +1,31 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: +stdenvNoCC.mkDerivation { + pname = "miller.yazi"; + version = "0-unstable-2024-08-28"; + + src = fetchFromGitHub { + owner = "Reledia"; + repo = "miller.yazi"; + rev = "40e02654725a9902b689114537626207cbf23436"; + hash = "sha256-GXZZ/vI52rSw573hoMmspnuzFoBXDLcA0fqjF76CdnY="; + }; + + installPhase = '' + runHook preInstall + + cp -r . $out + + runHook postInstall + ''; + + meta = { + description = "Miller, now in yazi."; + homepage = "https://github.com/Reledia/miller.yazi"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ khaneliman ]; + }; +}