nixpkgs/pkgs/misc/autotiling/default.nix

26 lines
718 B
Nix
Raw Normal View History

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";
2021-06-01 02:24:16 +02:00
version = "1.5";
2020-07-30 02:03:41 +02:00
2021-06-01 02:24:16 +02:00
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = pname;
rev = "v${version}";
sha256 = "0ih8yd1gankjxn88gd88vxs6f1cniyi04z25jz4nsgqi9snz65v4";
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 ];
};
}