mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
czkawka: add .desktop, icons and metainfo
This commit is contained in:
parent
ece040c37c
commit
3635b263ca
1 changed files with 12 additions and 0 deletions
|
@ -65,6 +65,18 @@ rustPlatform.buildRustPackage rec {
|
||||||
command = "czkawka_cli --version";
|
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; {
|
meta = with lib; {
|
||||||
changelog = "https://github.com/qarmin/czkawka/raw/${version}/Changelog.md";
|
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";
|
description = "A simple, fast and easy to use app to remove unnecessary files from your computer";
|
||||||
|
|
Loading…
Reference in a new issue