1 { lib, buildPythonApplication, fetchFromGitHub, i3ipc, importlib-metadata }:
3 buildPythonApplication rec {
7 src = fetchFromGitHub {
10 rev = "refs/tags/v${version}";
11 sha256 = "sha256-4iiiiuXCHFXEeA99ikq/G3q2KXBZ7vwpfET7QtoDVds=";
14 propagatedBuildInputs = [ i3ipc importlib-metadata ];
18 homepage = "https://github.com/nwg-piotr/autotiling";
19 description = "Script for sway and i3 to automatically switch the horizontal / vertical window split orientation";
20 license = licenses.gpl3Plus;
21 platforms = platforms.linux;
22 maintainers = with maintainers; [ artturin ];