fmit: maintain, delete custom postInstall (#341684)

This commit is contained in:
Nick Cao 2024-09-14 19:11:01 -04:00 committed by GitHub
commit 5439240072
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,17 +36,6 @@ mkDerivation rec {
PREFIXSHORTCUT=$out"
'';
postInstall = ''
mkdir -p $out/share/applications
ln -s $out/fmit.desktop $out/share/applications/fmit.desktop
mkdir -p $out/share/icons/hicolor/128x128/apps
ln -s $out/fmit.png $out/share/icons/hicolor/128x128/apps/fmit.png
mkdir -p $out/share/icons/hicolor/scalable/apps
ln -s $out/fmit.svg $out/share/icons/hicolor/scalable/apps/fmit.svg
'';
meta = with lib; {
description = "Free Musical Instrument Tuner";
longDescription = ''
@ -55,6 +44,7 @@ mkDerivation rec {
'';
homepage = "http://gillesdegottex.github.io/fmit/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}