yaziPlugins.chmod: init at 25.2.26-unstable-2025-03-02

This commit is contained in:
Austin Horstman
2025-04-08 18:12:39 -05:00
parent eecafc9b97
commit f3013b4003
@@ -0,0 +1,35 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation {
pname = "chmod.yazi";
version = "25.2.26-unstable-2025-03-02";
src = fetchFromGitHub {
owner = "yazi-rs";
repo = "plugins";
rev = "b44c245500b34e713732a9130bf436b13b4777e9";
hash = "sha256-nZ8yfnKvNLM5aA+mmQ3PkfM5lwSKwWnkQewcg9GwseI=";
};
# NOTE: License is a relative symbolic link
# We remove the link and copy the true license
installPhase = ''
runHook preInstall
cp -r chmod.yazi $out
rm $out/LICENSE
cp LICENSE $out
runHook postInstall
'';
meta = {
description = "Execute chmod on the selected files to change their mode";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
}