Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonApplication, 4 fetchFromGitHub, 5 i3ipc, 6 importlib-metadata, 7}: 8 9buildPythonApplication rec { 10 pname = "autotiling"; 11 version = "1.9.3"; 12 13 src = fetchFromGitHub { 14 owner = "nwg-piotr"; 15 repo = pname; 16 tag = "v${version}"; 17 hash = "sha256-k+UiAGMB/fJiE+C737yGdyTpER1ciZrMkZezkcn/4yk="; 18 }; 19 20 propagatedBuildInputs = [ 21 i3ipc 22 importlib-metadata 23 ]; 24 doCheck = false; 25 26 meta = with lib; { 27 homepage = "https://github.com/nwg-piotr/autotiling"; 28 description = "Script for sway and i3 to automatically switch the horizontal / vertical window split orientation"; 29 license = licenses.gpl3Plus; 30 platforms = platforms.linux; 31 maintainers = with maintainers; [ artturin ]; 32 mainProgram = "autotiling"; 33 }; 34}