lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #199761 from Myaats/fix-pystray

authored by

Sandro and committed by
GitHub
02ebf462 aaa31647

+40 -5
+13
pkgs/applications/video/jellyfin-mpv-shim/default.nix
··· 1 1 { lib 2 2 , buildPythonApplication 3 3 , fetchPypi 4 + , gobject-introspection 4 5 , jellyfin-apiclient-python 5 6 , jinja2 6 7 , mpv ··· 9 10 , python-mpv-jsonipc 10 11 , pywebview 11 12 , tkinter 13 + , wrapGAppsHook 12 14 }: 13 15 14 16 buildPythonApplication rec { ··· 19 21 inherit pname version; 20 22 sha256 = "sha256-JiSC6WjrLsWk3/m/EHq7KNXaJ6rqT2fG9TT1jPvYlK0="; 21 23 }; 24 + 25 + nativeBuildInputs = [ 26 + wrapGAppsHook 27 + gobject-introspection 28 + ]; 22 29 23 30 propagatedBuildInputs = [ 24 31 jellyfin-apiclient-python ··· 51 58 --replace "check_updates: bool = True" "check_updates: bool = False" \ 52 59 --replace "notify_updates: bool = True" "notify_updates: bool = False" 53 60 ''; 61 + 62 + # needed for pystray to access appindicator using GI 63 + preFixup = '' 64 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 65 + ''; 66 + dontWrapGApps = true; 54 67 55 68 # no tests 56 69 doCheck = false;
+13 -1
pkgs/applications/video/plex-mpv-shim/default.nix
··· 1 - { lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc, pystray, tkinter }: 1 + { lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc, pystray, tkinter 2 + , wrapGAppsHook, gobject-introspection }: 2 3 3 4 buildPythonApplication rec { 4 5 pname = "plex-mpv-shim"; ··· 11 12 sha256 = "0hgv9g17dkrh3zbsx27n80yvkgix9j2x0rgg6d3qsf7hp5j3xw4r"; 12 13 }; 13 14 15 + nativeBuildInputs = [ 16 + wrapGAppsHook 17 + gobject-introspection 18 + ]; 19 + 14 20 propagatedBuildInputs = [ mpv requests python-mpv-jsonipc pystray tkinter ]; 21 + 22 + # needed for pystray to access appindicator using GI 23 + preFixup = '' 24 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 25 + ''; 26 + dontWrapGApps = true; 15 27 16 28 # does not contain tests 17 29 doCheck = false;
+14 -4
pkgs/development/python-modules/pystray/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub 2 - , pillow, xlib, six, xvfb-run, sphinx }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pillow 5 + , xlib 6 + , six 7 + , xvfb-run 8 + , sphinx 9 + , gobject-introspection 10 + , pygobject3 11 + , gtk3 12 + , libayatana-appindicator }: 3 13 4 14 buildPythonPackage rec { 5 15 pname = "pystray"; ··· 12 22 sha256 = "sha256-8B178MSe4ujlnGBmQhIu+BoAh1doP9V5cL0ermLQTvs="; 13 23 }; 14 24 15 - nativeBuildInputs = [ sphinx ]; 16 - propagatedBuildInputs = [ pillow xlib six ]; 25 + nativeBuildInputs = [ gobject-introspection sphinx ]; 26 + propagatedBuildInputs = [ pillow xlib six pygobject3 gtk3 libayatana-appindicator ]; 17 27 checkInputs = [ xvfb-run ]; 18 28 19 29 checkPhase = ''