nixpkgs/pkgs/misc/autotiling/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
759 B
Nix
Raw Normal View History

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";
2022-11-01 13:56:02 +00:00
version = "1.8";
2020-07-30 00:03:41 +00:00
2021-06-01 00:24:16 +00:00
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = pname;
2022-09-08 03:53:57 +00:00
rev = "refs/tags/v${version}";
2022-11-01 13:56:02 +00:00
sha256 = "sha256-4iiiiuXCHFXEeA99ikq/G3q2KXBZ7vwpfET7QtoDVds=";
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 ];
2023-11-23 21:09:35 +00:00
mainProgram = "autotiling";
2020-07-30 00:03:41 +00:00
};
}