sublime-music: install .desktop, .metainfo.xml, and icons

This commit is contained in:
Sumner Evans 2020-09-30 17:54:40 -06:00
parent 535b5a0e69
commit 4f5d2bd5ee
No known key found for this signature in database
GPG Key ID: 8904527AB50022FD

View File

@ -57,6 +57,16 @@ python3Packages.buildPythonApplication rec {
doCheck = false;
pythonImportsCheck = [ "sublime_music" ];
postInstall = ''
install -Dm444 sublime-music.desktop -t $out/share/applications
install -Dm444 sublime-music.metainfo.xml -t $out/share/metainfo
for size in 16 22 32 48 64 72 96 128 192 512 1024; do
install -Dm444 logo/rendered/"$size".png \
$out/share/icons/hicolor/"$size"x"$size"/apps/sublime-music.png
done
'';
meta = with lib; {
description = "GTK3 Subsonic/Airsonic client";
homepage = "https://sublimemusic.app/";