Loading pkgs/development/python-modules/pystray/default.nix +14 −12 Original line number Diff line number Diff line Loading @@ -3,15 +3,17 @@ buildPythonPackage, fetchFromGitHub, fetchpatch, gobject-introspection, setuptools, pillow, xlib, six, xvfb-run, setuptools, gobject-introspection, pygobject3, gtk3, stdenv, xlib, libayatana-appindicator, pyobjc-framework-Quartz, xvfb-run, pytest, }: Loading Loading @@ -48,22 +50,22 @@ buildPythonPackage rec { propagatedBuildInputs = [ pillow xlib six pygobject3 gtk3 ] ++ lib.optionals stdenv.hostPlatform.isLinux [ xlib libayatana-appindicator ]; ] ++ lib.optionals stdenv.isDarwin [ pyobjc-framework-Quartz ]; nativeCheckInputs = [ pytest xvfb-run ]; nativeCheckInputs = [ pytest ] ++ lib.optionals stdenv.hostPlatform.isLinux [ xvfb-run ]; checkPhase = '' runHook preCheck xvfb-run -s '-screen 0 800x600x24' pytest tests/menu_descriptor_tests.py ${lib.optionalString stdenv.hostPlatform.isLinux "xvfb-run -s '-screen 0 800x600x24' "}pytest tests/menu_descriptor_tests.py runHook postCheck ''; Loading @@ -75,7 +77,7 @@ buildPythonPackage rec { gpl3Plus lgpl3Plus ]; platforms = platforms.linux; platforms = platforms.all; maintainers = with maintainers; [ jojosch ]; }; } Loading
pkgs/development/python-modules/pystray/default.nix +14 −12 Original line number Diff line number Diff line Loading @@ -3,15 +3,17 @@ buildPythonPackage, fetchFromGitHub, fetchpatch, gobject-introspection, setuptools, pillow, xlib, six, xvfb-run, setuptools, gobject-introspection, pygobject3, gtk3, stdenv, xlib, libayatana-appindicator, pyobjc-framework-Quartz, xvfb-run, pytest, }: Loading Loading @@ -48,22 +50,22 @@ buildPythonPackage rec { propagatedBuildInputs = [ pillow xlib six pygobject3 gtk3 ] ++ lib.optionals stdenv.hostPlatform.isLinux [ xlib libayatana-appindicator ]; ] ++ lib.optionals stdenv.isDarwin [ pyobjc-framework-Quartz ]; nativeCheckInputs = [ pytest xvfb-run ]; nativeCheckInputs = [ pytest ] ++ lib.optionals stdenv.hostPlatform.isLinux [ xvfb-run ]; checkPhase = '' runHook preCheck xvfb-run -s '-screen 0 800x600x24' pytest tests/menu_descriptor_tests.py ${lib.optionalString stdenv.hostPlatform.isLinux "xvfb-run -s '-screen 0 800x600x24' "}pytest tests/menu_descriptor_tests.py runHook postCheck ''; Loading @@ -75,7 +77,7 @@ buildPythonPackage rec { gpl3Plus lgpl3Plus ]; platforms = platforms.linux; platforms = platforms.all; maintainers = with maintainers; [ jojosch ]; }; }