1 { lib, buildPythonApplication, fetchFromGitHub, i3ipc, importlib-metadata }:
3 buildPythonApplication rec {
7 src = fetchFromGitHub {
10 rev = "refs/tags/v${version}";
11 hash = "sha256-k+UiAGMB/fJiE+C737yGdyTpER1ciZrMkZezkcn/4yk=";
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 ];
23 mainProgram = "autotiling";