From b762826ab8d6f05d0204b601349c650f3fe64c2c Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 7 Apr 2025 19:50:05 -0500 Subject: [PATCH] yaziPlugins.restore: init at 25.2.7-unstable-2025-04-04 --- .../ya/yazi/plugins/restore/default.nix | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/ya/yazi/plugins/restore/default.nix diff --git a/pkgs/by-name/ya/yazi/plugins/restore/default.nix b/pkgs/by-name/ya/yazi/plugins/restore/default.nix new file mode 100644 index 000000000000..be3bb09d22a8 --- /dev/null +++ b/pkgs/by-name/ya/yazi/plugins/restore/default.nix @@ -0,0 +1,31 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: +stdenvNoCC.mkDerivation { + pname = "restore.yazi"; + version = "25.2.7-unstable-2025-04-04"; + + src = fetchFromGitHub { + owner = "boydaihungst"; + repo = "restore.yazi"; + rev = "328dd888c1e2b9b0cb5dc806f099e3164e179620"; + hash = "sha256-3Z8P25u9bffdjrPjxLRWUQn6MdBS+vyElUBkgV4EUwY="; + }; + + installPhase = '' + runHook preInstall + + cp -r . $out + + runHook postInstall + ''; + + meta = { + description = "Undo/Recover trashed files/folders."; + homepage = "https://github.com/boydaihungst/restore.yazi"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ khaneliman ]; + }; +}