Merge pull request #301060 from eclairevoyant/yazi-desktop
yazi-unwrapped: add desktop file and icon; other cleanup
This commit is contained in:
commit
6da2b26195
|
@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sxyazi";
|
||||
repo = pname;
|
||||
repo = "yazi";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-c8fWWCOVBqQVdQch9BniCaJPrVEOCv35lLH8/hMIbvE=";
|
||||
};
|
||||
|
@ -32,15 +32,18 @@ rustPlatform.buildRustPackage rec {
|
|||
--bash ./yazi-boot/completions/yazi.bash \
|
||||
--fish ./yazi-boot/completions/yazi.fish \
|
||||
--zsh ./yazi-boot/completions/_yazi
|
||||
|
||||
install -Dm444 assets/yazi.desktop -t $out/share/applications
|
||||
install -Dm444 assets/logo.png $out/share/pixmaps/yazi.png
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Blazing fast terminal file manager written in Rust, based on async I/O";
|
||||
homepage = "https://github.com/sxyazi/yazi";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ xyenon matthiasbeyer ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ xyenon matthiasbeyer ];
|
||||
mainProgram = "yazi";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user