summary refs log tree commit diff
path: root/pkgs/development/tools/go-symbols/default.nix
blob: 07cd267b0e9e04f9e94044e2a7b7730fb9e3d7ee (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
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "go-symbols-${version}";
  version = "unstable-2018-05-23";
  rev = "953befd75e223f514580fcb698aead0dd6ad3421";

  goPackagePath = "github.com/acroca/go-symbols";
  goDeps = ./deps.nix;

  src = fetchFromGitHub {
    inherit rev;
    owner = "acroca";
    repo = "go-symbols";
    sha256 = "0dwf7w3zypv5brk68n7siakz222jwnhrhkzvwk1iwdffk79gqp3x";
  };

  meta = {
    description = "A utility for extracting a JSON representation of the package symbols from a go source tree.";
    homepage = https://github.com/acroca/go-symbols;
    maintainers = with stdenv.lib.maintainers; [ vdemeester ];
    license = stdenv.lib.licenses.mit;
  };
}