5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
26 lines
759 B
Nix
26 lines
759 B
Nix
{ lib, buildPythonApplication, fetchFromGitHub, i3ipc, importlib-metadata }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "autotiling";
|
|
version = "1.9.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nwg-piotr";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-u+Tvvge/rQvylbZDmCxvoMGjZm2gKsFZEAb9evR/Ckw=";
|
|
};
|
|
|
|
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;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ artturin ];
|
|
mainProgram = "autotiling";
|
|
};
|
|
}
|
|
|