depot/third_party/nixpkgs/pkgs/misc/autotiling/default.nix

27 lines
759 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchFromGitHub, i3ipc, importlib-metadata }:
buildPythonApplication rec {
pname = "autotiling";
version = "1.9.1";
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-PTMF9w4PMkKuhjLAP7856lOOiuyj5YZOoax0K9bgGgQ=";
};
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";
};
}