summary refs log tree commit diff
path: root/pkgs/development/tools/gocode/default.nix
blob: 0472f5aaaa3f76d0f6854cd8d73c4d8a61396f38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, goPackages, fetchFromGitHub }:

with goPackages;

buildGoPackage rec {
  rev = "9b760fdb16f18eafbe0cd274527efd2bd89dfa78";
  name = "gocode-${lib.strings.substring 0 7 rev}";
  goPackagePath = "github.com/nsf/gocode";
  src = fetchFromGitHub {
    inherit rev;
    owner = "nsf";
    repo = "gocode";
    sha256 = "0d1wl0x8jkaav6lcfzs70cr6gy0p88cbk5n3p19l6d0h9xz464ax";
  };

  subPackages = [ "./" ];

  meta = with lib; {
    description = "An autocompletion daemon for the Go programming language";
    homepage = https://github.com/nsf/gocode;
    license = licenses.mit;
    maintainers = with maintainers; [ cstrahan ];
    platforms = platforms.unix;
  };
}