2021-06-01 02:24:16 +02:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, i3ipc, importlib-metadata }:
|
2020-07-30 02:03:41 +02:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "autotiling";
|
2024-05-23 12:39:21 +02:00
|
|
|
version = "1.9.3";
|
2020-07-30 02:03:41 +02:00
|
|
|
|
2021-06-01 02:24:16 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nwg-piotr";
|
|
|
|
repo = pname;
|
2022-09-08 05:53:57 +02:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-05-23 12:39:21 +02:00
|
|
|
hash = "sha256-k+UiAGMB/fJiE+C737yGdyTpER1ciZrMkZezkcn/4yk=";
|
2020-07-30 02:03:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ i3ipc importlib-metadata ];
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/nwg-piotr/autotiling";
|
|
|
|
description = "Script for sway and i3 to automatically switch the horizontal / vertical window split orientation";
|
|
|
|
license = licenses.gpl3Plus;
|
2021-06-01 02:24:16 +02:00
|
|
|
platforms = platforms.linux;
|
2020-07-30 02:03:41 +02:00
|
|
|
maintainers = with maintainers; [ artturin ];
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "autotiling";
|
2020-07-30 02:03:41 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|