1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-7vkMhjO4JUAf0sUcKiMjqJ5GzLb//QoHd7Cagerx4/s=";
16 ldflags = [ "-s" "-w" ];
19 description = "Navigation and insight in Go";
20 mainProgram = "motion";
22 Motion is a tool that was designed to work with editors. It is providing
23 contextual information for a given offset(option) from a file or
24 directory of files. Editors can use these informations to implement
25 navigation, text editing, etc... that are specific to a Go source code.
27 It's optimized and created to work with vim-go, but it's designed to work
28 with any editor. It's currently work in progress and open to change.
30 homepage = "https://github.com/fatih/motion";
31 license = licenses.bsd3;
32 maintainers = with maintainers; [ kalbasit ];
33 platforms = platforms.linux ++ platforms.darwin;