1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "godef";
5 version = "1.1.2";
6 rev = "v${version}";
7
8 subPackages = [ "." ];
9
10 vendorSha256 = null;
11
12 doCheck = false;
13
14 src = fetchFromGitHub {
15 inherit rev;
16 owner = "rogpeppe";
17 repo = "godef";
18 sha256 = "0rhhg73kzai6qzhw31yxw3nhpsijn849qai2v9am955svmnckvf4";
19 };
20
21 meta = {
22 description = "Print where symbols are defined in Go source code";
23 homepage = "https://github.com/rogpeppe/godef/";
24 maintainers = with lib.maintainers; [ vdemeester rvolosatovs ];
25 license = lib.licenses.bsd3;
26 };
27}