···
10
+
writableTmpDirAsHomeHook,
18
-
format = "setuptools";
24
+
owner = "altdesktop";
23
-
rev = "v${version}";
24
-
sha256 = "13bzs9dcv27czpnnbgz7a037lm8h991c8gk0qzzk5mq5yak24715";
26
+
tag = "v${version}";
27
+
hash = "sha256-JRwipvIF1zL/x2A+xEJKEFV6BlDnv2Xt/eyIzVrSf40=";
26
-
propagatedBuildInputs = [ xlib ];
31
+
# Upstream expects a very old version of pytest-asyncio. This patch correctly
32
+
# decorates async fixtures using pytest-asyncio and configures `loop_scope`
34
+
./fix-async-tests.patch
38
+
substituteInPlace test/i3.config \
39
+
--replace-fail /bin/true ${coreutils}/bin/true
42
+
build-system = [ setuptools ];
43
+
dependencies = [ xlib ];
45
+
# Fontconfig error: Cannot load default config file
46
+
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
28
-
fontsConf = makeFontsConf { fontDirectories = [ ]; };
29
-
FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file
50
+
writableTmpDirAsHomeHook
39
-
substituteInPlace test/i3.config \
40
-
--replace /bin/true ${coreutils}/bin/true
59
+
disabledTestPaths = [
61
+
"test/test_shutdown_event.py::TestShutdownEvent::test_shutdown_event_reconnect"
62
+
"test/aio/test_shutdown_event.py::TestShutdownEvent::test_shutdown_event_reconnect"
64
+
"test/test_window.py::TestWindow::test_detailed_window_event"
65
+
"test/aio/test_workspace.py::TestWorkspace::test_workspace"
44
-
py.test --ignore=test/aio/test_shutdown_event.py \
45
-
--ignore=test/test_shutdown_event.py
68
+
pythonImportsCheck = [ "i3ipc" ];
description = "Improved Python library to control i3wm and sway";
50
-
homepage = "https://github.com/acrisci/i3ipc-python";
51
-
license = licenses.bsd3;
52
-
maintainers = with maintainers; [ vanzef ];
72
+
homepage = "https://github.com/altdesktop/i3ipc-python";
73
+
changelog = "https://github.com/altdesktop/i3ipc-python/releases/tag/${src.tag}";
74
+
license = lib.licenses.bsd3;
75
+
maintainers = with lib.maintainers; [ vanzef ];