summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-12-03 14:41:35 -0500
committerGitHub <noreply@github.com>2021-12-03 14:41:35 -0500
commit7a75191093dc6b3c7fd8f3e3fe455c97c5ee5fb8 (patch)
treeba9ee49142521c97e1c7843a75ff62cde0ed066d /pkgs/applications/graphics
parent42ae887b2354a795817c67019707c043684eef6a (diff)
parent6644e53bd0e9c25b100a2f49f4c18f88de6bd603 (diff)
downloadnixpkgs-7a75191093dc6b3c7fd8f3e3fe455c97c5ee5fb8.tar
nixpkgs-7a75191093dc6b3c7fd8f3e3fe455c97c5ee5fb8.tar.gz
nixpkgs-7a75191093dc6b3c7fd8f3e3fe455c97c5ee5fb8.tar.bz2
nixpkgs-7a75191093dc6b3c7fd8f3e3fe455c97c5ee5fb8.tar.lz
nixpkgs-7a75191093dc6b3c7fd8f3e3fe455c97c5ee5fb8.tar.xz
nixpkgs-7a75191093dc6b3c7fd8f3e3fe455c97c5ee5fb8.tar.zst
nixpkgs-7a75191093dc6b3c7fd8f3e3fe455c97c5ee5fb8.zip
Merge pull request #148484 from chuangzhu/image-roll
image-roll: add desktop entry
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/image-roll/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/image-roll/default.nix b/pkgs/applications/graphics/image-roll/default.nix
index eb5761fbd55..35f766e21bc 100644
--- a/pkgs/applications/graphics/image-roll/default.nix
+++ b/pkgs/applications/graphics/image-roll/default.nix
@@ -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";