Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin wishlist: open-with-cmd, bookmarks, and hexyl #10

Open
Mcrtin opened this issue Dec 16, 2024 · 3 comments · May be fixed by #14
Open

Plugin wishlist: open-with-cmd, bookmarks, and hexyl #10

Mcrtin opened this issue Dec 16, 2024 · 3 comments · May be fixed by #14

Comments

@Mcrtin
Copy link

Mcrtin commented Dec 16, 2024

I currently fetch open-with-cmd, bookmarks, and hexyl in my config and would love to see them get added here :D or are there some better plugins for their purposes?

https://github.com/Ape/open-with-cmd.yazi
https://github.com/dedukun/bookmarks.yazi
https://github.com/Reledia/hexyl.yazi

@Mcrtin
Copy link
Author

Mcrtin commented Dec 16, 2024

{
pkgs ? import {},
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "yaziPlugins-hexyl";
version = "unstable-2024-09-21";

src = fetchFromGitHub {
owner = "Reledia";
repo = "hexyl.yazi";
rev = "f845ea5e198f6b63545534e644527e1d120d8ee8";
hash = "sha256-Ggkns5gEnciyRBKM4+5l51DVP2GhVm86cb6JOige1XM=";
};

buildPhase = ''
mkdir $out
cp $src/* $out
'';
}

{
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "yaziPlugins-bookmarks";
version = "unstable-2024-09-18";

src = fetchFromGitHub {
owner = "dedukun";
repo = "bookmarks.yazi";
rev = "600f87c02176175f55b0571f79c5ff0b1606362f";
hash = "sha256-pNRRxS4IQO8y8/WSK9s8mNZHEdl1u1cuPfdULxikl7k=";
};

buildPhase = ''
mkdir $out
cp $src/* $out
'';
}

{
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "yaziPlugins-open-with-cmd";
version = "unstable-2024-09-21";

src = fetchFromGitHub {
owner = "Ape";
repo = "open-with-cmd.yazi";
rev = "8d7abc8a347bfa065b6d339d26480f6fdcfac37e";
hash = "sha256-tUxdxOk2Dm2S/KRpc87aIEWU3SzQNm2/RaVT2Z1dqgQ=";
};

buildPhase = ''
mkdir $out
cp $src/* $out
'';
}

@Mcrtin
Copy link
Author

Mcrtin commented Dec 16, 2024

they are a bit outdated but could be a starting point if you want to add them

@lordkekz
Copy link
Owner

Sorry for responding so late... I don't have anything against these plugins but since I don't yet have any automation for this repo and most likely won't be using them myself, I'm hesitant.

Would you be willing to maintain them (i.e. make PRs when they require an update)?

If so, could you please send a PR for the three plugins?
It'd also be really cool if you could populate the meta attributes like this.

Thank you for your interest :)

@Mcrtin Mcrtin linked a pull request Jan 21, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants