From beeb8772358a00f4ea3a5f853c08aac01a8bcaed Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 6 Apr 2025 21:24:25 -0500 Subject: [PATCH] yaziPlugins.glow: init at 0-unstable-2025-02-22 --- pkgs/by-name/ya/yazi/plugins/glow/default.nix | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/ya/yazi/plugins/glow/default.nix diff --git a/pkgs/by-name/ya/yazi/plugins/glow/default.nix b/pkgs/by-name/ya/yazi/plugins/glow/default.nix new file mode 100644 index 000000000000..b97cda4a4937 --- /dev/null +++ b/pkgs/by-name/ya/yazi/plugins/glow/default.nix @@ -0,0 +1,31 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: +stdenvNoCC.mkDerivation { + pname = "glow.yazi"; + version = "0-unstable-2025-02-22"; + + src = fetchFromGitHub { + owner = "Reledia"; + repo = "glow.yazi"; + rev = "c76bf4fb612079480d305fe6fe570bddfe4f99d3"; + hash = "sha256-DPud1Mfagl2z490f5L69ZPnZmVCa0ROXtFeDbEegBBU="; + }; + + installPhase = '' + runHook preInstall + + cp -r . $out + + runHook postInstall + ''; + + meta = { + description = "Glow preview plugin for yazi."; + homepage = "https://github.com/Reledia/glow.yazi"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ khaneliman ]; + }; +}