This commit is contained in:
a-kenji
2024-03-19 12:40:58 +01:00
parent bd801ca292
commit c6928fc1ac

View File

@@ -1,7 +1,8 @@
{ lib {
, python3Packages lib,
, makeDesktopItem python3Packages,
, copyDesktopItems makeDesktopItem,
copyDesktopItems,
}: }:
let let
desktop-file = makeDesktopItem { desktop-file = makeDesktopItem {
@@ -11,7 +12,6 @@ let
startupWMClass = "moonlight-handler"; startupWMClass = "moonlight-handler";
mimeTypes = [ "x-scheme-handler/moonlight" ]; mimeTypes = [ "x-scheme-handler/moonlight" ];
}; };
in in
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
name = "moonlight-sunshine-accept"; name = "moonlight-sunshine-accept";
@@ -26,9 +26,7 @@ python3Packages.buildPythonApplication {
copyDesktopItems copyDesktopItems
]; ];
desktopItems = [ desktopItems = [ desktop-file ];
desktop-file
];
meta = with lib; { meta = with lib; {
description = "Moonlight Sunshine Bridge"; description = "Moonlight Sunshine Bridge";