cutecom: install desktop file and man pages

This commit is contained in:
Ben Wolsieffer 2021-03-10 22:39:59 -05:00 committed by Benno Fünfstück
parent fc04cf152d
commit ee9b92ddf8

View File

@ -14,6 +14,14 @@ mkDerivation rec {
buildInputs = [ qtbase qtserialport ];
nativeBuildInputs = [ cmake ];
postInstall = ''
cd ..
mkdir -p "$out"/share/{applications,icons/hicolor/scalable/apps,man/man1}
cp cutecom.desktop "$out/share/applications"
cp images/cutecom.svg "$out/share/icons/hicolor/scalable/apps"
cp cutecom.1 "$out/share/man/man1"
'';
meta = with lib; {
description = "A graphical serial terminal";
homepage = "https://gitlab.com/cutecom/cutecom/";