4 , enableShells ? [ "bash" "zsh" "fish" "sh" "posh" "codium" ]
7 buildNimPackage (finalAttrs: {
11 src = fetchFromGitLab {
14 rev = "v${finalAttrs.version}";
15 hash = "sha256-R/LnojbA0vBQVivGLaoM0+M4qVJ7vjf4kggB59i896w=";
20 echo 'let enabledShells: seq[string] = @${builtins.toJSON enableShells}'
21 echo 'export enabledShells'
25 nimFlags = [ "--opt:speed" ];
28 homepage = "https://gitlab.com/cab404/swaycwd";
29 description = "Returns cwd for shell in currently focused sway window, or home directory if cannot find shell";
30 maintainers = with maintainers; [ cab404 ];
31 platforms = platforms.linux;
32 license = licenses.gpl3Only;
33 mainProgram = "swaycwd";