11 gobject-introspection,
14 libayatana-appindicator,
18 buildPythonPackage rec {
23 src = fetchFromGitHub {
24 owner = "moses-palmer";
27 hash = "sha256-CZhbaXwKFrRBEomzfFPMQdMkTOl5lbgI64etfDRiRu4=";
31 # fix test_menu_construct_from_none test case
32 # https://github.com/moses-palmer/pystray/pull/133
34 url = "https://github.com/moses-palmer/pystray/commit/813007e3034d950d93a2f3e5b029611c3c9c98ad.patch";
35 hash = "sha256-m2LfZcWXSfgxb73dac21VDdMDVz3evzcCz5QjdnfM1U=";
40 substituteInPlace setup.py \
41 --replace-fail "'sphinx >=1.3.1'" ""
49 propagatedBuildInputs = [
55 libayatana-appindicator
66 xvfb-run -s '-screen 0 800x600x24' pytest tests/menu_descriptor_tests.py
72 homepage = "https://github.com/moses-palmer/pystray";
73 description = "This library allows you to create a system tray icon";
74 license = with licenses; [
78 platforms = platforms.linux;
79 maintainers = with maintainers; [ jojosch ];