···11+{ buildGoPackage
22+, lib
33+, fetchFromGitHub
44+}:
55+66+buildGoPackage rec {
77+ name = "motion-unstable-${version}";
88+ version = "2018-04-09";
99+ rev = "218875ebe23806e7af82f3b5b14bb3355534f679";
1010+1111+ goPackagePath = "github.com/fatih/motion";
1212+ excludedPackages = ''testdata'';
1313+1414+ src = fetchFromGitHub {
1515+ inherit rev;
1616+1717+ owner = "fatih";
1818+ repo = "motion";
1919+ sha256 = "08lp61hmb77p0cknf71jp8lssplxad3ddyqjxh8x3cr0bmn9ykr9";
2020+ };
2121+2222+ meta = with lib; {
2323+ description = "Navigation and insight in Go";
2424+ longDescription = ''
2525+ Motion is a tool that was designed to work with editors. It is providing
2626+ contextual information for a given offset(option) from a file or
2727+ directory of files. Editors can use these informations to implement
2828+ navigation, text editing, etc... that are specific to a Go source code.
2929+3030+ It's optimized and created to work with vim-go, but it's designed to work
3131+ with any editor. It's currently work in progress and open to change.
3232+ '';
3333+ homepage = https://github.com/fatih/motion;
3434+ license = licenses.bsd3;
3535+ maintainers = with maintainers; [ kalbasit ];
3636+ platforms = platforms.linux ++ platforms.darwin;
3737+ };
3838+}