yaziPlugins: yazi-rs homepage population
Use the mkYaziPlugin to populate the homepage easier for all the bundled plugins.
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
|
||||
@@ -16,7 +16,6 @@ mkYaziPlugin {
|
||||
|
||||
meta = {
|
||||
description = "Previewing archive contents with smart-filter";
|
||||
homepage = "https://github.com/yazi-rs/plugins/tree/main/smart-paste.yazi";
|
||||
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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user