1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

image-roll: add desktop entry

This commit is contained in:
Chuang Zhu 2021-12-04 01:43:29 +08:00
parent 54060c0a1f
commit 6644e53bd0
No known key found for this signature in database
GPG key ID: C564F033729E65FD

View file

@ -24,6 +24,12 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ gtk3 ];
postInstall = ''
install -Dm444 src/resources/com.github.weclaw1.ImageRoll.desktop -t $out/share/applications/
install -Dm444 src/resources/com.github.weclaw1.ImageRoll.svg -t $out/share/icons/hicolor/scalable/apps/
install -Dm444 src/resources/com.github.weclaw1.ImageRoll.metainfo.xml -t $out/share/metainfo/
'';
meta = with lib; {
description = "Simple and fast GTK image viewer with basic image manipulation tools";
homepage = "https://github.com/weclaw1/image-roll";