1 { lib, buildPythonPackage, fetchFromGitHub
2 , xorgserver, pytest, pytest-xvfb, i3, xlib, xdpyinfo
3 , makeFontsConf, coreutils
6 buildPythonPackage rec {
10 src = fetchFromGitHub {
12 repo = "i3ipc-python";
14 sha256 = "13bzs9dcv27czpnnbgz7a037lm8h991c8gk0qzzk5mq5yak24715";
16 propagatedBuildInputs = [ xlib ];
18 fontsConf = makeFontsConf {
19 fontDirectories = [ ];
21 FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file
22 checkInputs = [ pytest xdpyinfo pytest-xvfb xorgserver i3 ];
25 substituteInPlace test/i3.config \
26 --replace /bin/true ${coreutils}/bin/true
30 py.test --ignore=test/aio/test_shutdown_event.py \
31 --ignore=test/test_shutdown_event.py
36 description = "An improved Python library to control i3wm and sway";
37 homepage = "https://github.com/acrisci/i3ipc-python";
38 license = licenses.bsd3;
39 maintainers = with maintainers; [ vanzef ];