yaziPlugins.full-border: init at 25.2.26-unstable-2025-03-11

This commit is contained in:
Austin Horstman
2025-04-08 18:12:13 -05:00
parent f4e5e7ad39
commit eecafc9b97
3 changed files with 47 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
{ lib, callPackage }:
let
root = ./.;
call = name: callPackage (root + "/${name}") { };
in
lib.pipe root [
builtins.readDir
(lib.filterAttrs (_: type: type == "directory"))
(builtins.mapAttrs (name: _: call name))
]
@@ -0,0 +1,35 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation {
pname = "full-border.yazi";
version = "25.2.26-unstable-2025-03-11";
src = fetchFromGitHub {
owner = "yazi-rs";
repo = "plugins";
rev = "92f78dc6d0a42569fd0e9df8f70670648b8afb78";
hash = "sha256-mqo71VLZsHmgTybxgqKNo9F2QeMuCSvZ89uen1VbWb4=";
};
# NOTE: License is a relative symbolic link
# We remove the link and copy the true license
installPhase = ''
runHook preInstall
cp -r full-border.yazi $out
rm $out/LICENSE
cp LICENSE $out
runHook postInstall
'';
meta = {
description = "Add a full border to Yazi to make it look fancier";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
}
+2
View File
@@ -19571,6 +19571,8 @@ with pkgs;
duden = python3Packages.toPythonApplication python3Packages.duden;
yaziPlugins = recurseIntoAttrs (callPackage ../by-name/ya/yazi/plugins { });
yazi-unwrapped = callPackage ../by-name/ya/yazi-unwrapped/package.nix {
inherit (darwin.apple_sdk.frameworks) Foundation;
};