lol
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "motion";
5 version = "1.2.0";
6
7 src = fetchFromGitHub {
8 owner = "fatih";
9 repo = "motion";
10 rev = "v${version}";
11 sha256 = "sha256-7vkMhjO4JUAf0sUcKiMjqJ5GzLb//QoHd7Cagerx4/s=";
12 };
13
14 vendorHash = null;
15
16 ldflags = [ "-s" "-w" ];
17
18 meta = with lib; {
19 description = "Navigation and insight in Go";
20 longDescription = ''
21 Motion is a tool that was designed to work with editors. It is providing
22 contextual information for a given offset(option) from a file or
23 directory of files. Editors can use these informations to implement
24 navigation, text editing, etc... that are specific to a Go source code.
25
26 It's optimized and created to work with vim-go, but it's designed to work
27 with any editor. It's currently work in progress and open to change.
28 '';
29 homepage = "https://github.com/fatih/motion";
30 license = licenses.bsd3;
31 maintainers = with maintainers; [ kalbasit ];
32 platforms = platforms.linux ++ platforms.darwin;
33 };
34}