summary refs log tree commit diff
path: root/pkgs/development/tools/gogetdoc/default.nix
blob: 1835121ba198649f13db3a90c78c08b47a944712 (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
26
27
28
29
30
31
{ buildGoPackage
, lib
, fetchFromGitHub
}:

buildGoPackage rec {
  pname = "gogetdoc-unstable";
  version = "2018-10-25";
  rev = "9098cf5fc236a5e25060730544af2ba6d65cd968";

  goPackagePath = "github.com/zmb3/gogetdoc";
  excludedPackages = "\\(testdata\\)";

  src = fetchFromGitHub {
    inherit rev;

    owner = "zmb3";
    repo = "gogetdoc";
    sha256 = "159dgkd2lz07kimbpzminli5p539l4ry0dr93r46iz3lk5q76znl";
  };

  goDeps = ./deps.nix;

  meta = with lib; {
    description = "Gets documentation for items in Go source code";
    homepage = "https://github.com/zmb3/gogetdoc";
    license = licenses.bsd3;
    maintainers = with maintainers; [ kalbasit ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}