lol
1{ lib, buildPythonApplication, fetchFromGitHub, i3ipc, importlib-metadata }:
2
3buildPythonApplication rec {
4 pname = "autotiling";
5 version = "1.5";
6
7 src = fetchFromGitHub {
8 owner = "nwg-piotr";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "0ih8yd1gankjxn88gd88vxs6f1cniyi04z25jz4nsgqi9snz65v4";
12 };
13
14 propagatedBuildInputs = [ i3ipc importlib-metadata ];
15 doCheck = false;
16
17 meta = with lib; {
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 };
24}
25