2021-06-01 00:24:16 +00:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, i3ipc, importlib-metadata }:
|
2020-07-30 00:03:41 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "autotiling";
|
2021-12-05 17:21:49 +00:00
|
|
|
version = "1.6";
|
2020-07-30 00:03:41 +00:00
|
|
|
|
2021-06-01 00:24:16 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nwg-piotr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-05 17:21:49 +00:00
|
|
|
sha256 = "1hjlvg7095s322gb43r9g7mqlsy3pj13l827jpnbn5x0918rq9rr";
|
2020-07-30 00:03:41 +00: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 00:24:16 +00:00
|
|
|
platforms = platforms.linux;
|
2020-07-30 00:03:41 +00:00
|
|
|
maintainers = with maintainers; [ artturin ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|