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