python3Packages.plover_{4,5}: install desktop entry (#530368)

This commit is contained in:
Sandro
2026-06-10 23:37:35 +00:00
committed by GitHub
2 changed files with 8 additions and 0 deletions
@@ -70,6 +70,10 @@ buildPythonPackage (finalAttrs: {
# Segfaults?!
disabledTestPaths = [ "test/gui_qt/test_dictionaries_widget.py" ];
postInstall = ''
install -Dm 444 linux/plover.desktop $out/share/applications/plover.desktop
'';
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
@@ -124,6 +124,10 @@ buildPythonPackage (finalAttrs: {
"test/gui_qt/test_i18n_files.py" # babel errors
];
postInstall = ''
install -Dm 444 linux/plover.desktop $out/share/applications/plover.desktop
'';
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';