Add a .desktop file for Loxodo
This commit is contained in:
parent
472642ebff
commit
19108c1b6c
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user