15 buildNimPackage (finalAttrs: {
19 src = fetchFromGitLab {
22 rev = "v${finalAttrs.version}";
23 hash = "sha256-R/LnojbA0vBQVivGLaoM0+M4qVJ7vjf4kggB59i896w=";
28 echo 'let enabledShells: seq[string] = @${builtins.toJSON enableShells}'
29 echo 'export enabledShells'
33 nimFlags = [ "--opt:speed" ];
36 homepage = "https://gitlab.com/cab404/swaycwd";
37 description = "Returns cwd for shell in currently focused sway window, or home directory if cannot find shell";
38 maintainers = with maintainers; [ cab404 ];
39 platforms = platforms.linux;
40 license = licenses.gpl3Only;
41 mainProgram = "swaycwd";