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