yaziPlugins.smart-paste: init at 0-unstable-2025-04-27 (#405911)

This commit is contained in:
Austin Horstman
2025-05-10 10:51:05 -05:00
committed by GitHub
17 changed files with 27 additions and 15 deletions
@@ -16,7 +16,6 @@ mkYaziPlugin {
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 ];
};
+5
View File
@@ -50,6 +50,11 @@ let
meta = meta // {
description = meta.description or "";
platforms = meta.platforms or lib.platforms.all;
homepage =
if (src ? owner && src.owner == "yazi-rs") then
"https://github.com/yazi-rs/plugins/tree/main/${pname}"
else
meta.homepage or null;
};
passthru = (args.passthru or { }) // {
updateScript = {
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Diff the selected file with the hovered file, create a living patch, and copy it to the clipboard";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
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 ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Show the status of Git file changes as linemode in the file list";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Switch the preview pane between hidden and shown";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Previewing archive contents with lsar";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Previewing archive contents with mactag";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
platforms = lib.platforms.darwin;
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Previewing archive contents with mime-ext";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Previewing archive contents with mount";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Previewing archive contents with no-status";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Pipe any shell command as a previewer";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Previewing archive contents with smart-enter";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Previewing archive contents with smart-filter";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -0,0 +1,22 @@
{
lib,
fetchFromGitHub,
mkYaziPlugin,
}:
mkYaziPlugin {
pname = "smart-paste.yazi";
version = "0-unstable-2025-04-27";
src = fetchFromGitHub {
owner = "yazi-rs";
repo = "plugins";
rev = "864a0210d9ba1e8eb925160c2e2a25342031d8d3";
hash = "sha256-m3709h7/AHJAtoJ3ebDA40c77D+5dCycpecprjVqj/k=";
};
meta = {
description = "Previewing archive contents with smart-filter";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
}
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Previewing archive contents with toggle-pane";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
@@ -16,7 +16,6 @@ mkYaziPlugin {
meta = {
description = "Previewing archive contents with vcs-files";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};