Commit aba2c391 authored by Mats's avatar Mats
Browse files

pythonPackages.pystray: fix two backends

Adds support for pystray to load the appindicator and gtk backends
parent de60d387
Loading
Loading
Loading
Loading
+14 −4
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchFromGitHub
, pillow, xlib, six, xvfb-run, sphinx }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, pillow
, xlib
, six
, xvfb-run
, sphinx
, gobject-introspection
, pygobject3
, gtk3
, libayatana-appindicator }:

buildPythonPackage rec {
  pname = "pystray";
@@ -12,8 +22,8 @@ buildPythonPackage rec {
    sha256 = "sha256-8B178MSe4ujlnGBmQhIu+BoAh1doP9V5cL0ermLQTvs=";
  };

  nativeBuildInputs = [ sphinx ];
  propagatedBuildInputs = [ pillow xlib six ];
  nativeBuildInputs = [ gobject-introspection sphinx ];
  propagatedBuildInputs = [ pillow xlib six pygobject3 gtk3 libayatana-appindicator ];
  checkInputs = [ xvfb-run ];

  checkPhase = ''