Skip to content

Commit

Permalink
Merge pull request NixOS#262720 from yanganto/czkawka-desktop-file
Browse files Browse the repository at this point in the history
czkawka: add .desktop and icons
  • Loading branch information
0x4A6F authored Oct 23, 2023
2 parents 6c5458c + 3635b26 commit d4a8b35
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkgs/tools/misc/czkawka/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ rustPlatform.buildRustPackage rec {
command = "czkawka_cli --version";
};

postInstall = ''
# Install Icons
install -Dm444 -t $out/share/icons/hicolor/scalable/apps data/icons/com.github.qarmin.czkawka.svg
install -Dm444 -t $out/share/icons/hicolor/scalable/apps data/icons/com.github.qarmin.czkawka-symbolic.svg
# Install MetaInfo
install -Dm444 -t $out/share/metainfo data/com.github.qarmin.czkawka.metainfo.xml
# Install Desktop Entry
install -Dm444 -t $out/share/applications data/com.github.qarmin.czkawka.desktop
'';

meta = with lib; {
changelog = "https://github.com/qarmin/czkawka/raw/${version}/Changelog.md";
description = "A simple, fast and easy to use app to remove unnecessary files from your computer";
Expand Down

0 comments on commit d4a8b35

Please sign in to comment.