Add a .desktop file for Loxodo

This commit is contained in:
Richard Larocque 2015-06-03 21:32:17 -07:00
parent 472642ebff
commit 19108c1b6c

View File

@ -16,6 +16,16 @@ py.buildPythonPackage rec {
postInstall = ''
mv $out/bin/loxodo.py $out/bin/loxodo
mkdir -p $out/share/applications
cat > $out/share/applications/loxodo.desktop <<EOF
[Desktop Entry]
Type=Application
Exec=$out/bin/loxodo
Icon=$out/lib/${python.libPrefix}/site-packages/resources/loxodo-icon.png
Name=Loxodo
GenericName=Password Vault
Categories=Application;Other;
EOF
'';
meta = with stdenv.lib; {