rio: add desktop file, icon

Refs: #252814.
Co-authored-by: Cole Mickens <cole.mickens@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2023-09-19 13:11:41 -03:00
parent b1a6d04742
commit 109cf31261

View File

@ -78,6 +78,10 @@ rustPlatform.buildRustPackage rec {
];
postInstall = ''
install -D -m 644 misc/rio.desktop -t $out/share/applications
install -D -m 644 rio/src/screen/window/resources/images/logo.png \
$out/share/icons/hicolor/scalable/apps/rio.png
install -dm 755 "$terminfo/share/terminfo/r/"
tic -xe rio,rio-direct -o "$terminfo/share/terminfo" misc/rio.terminfo
mkdir -p $out/nix-support