2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "godef";
|
|
|
|
version = "1.1.2";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "rogpeppe";
|
|
|
|
repo = "godef";
|
|
|
|
sha256 = "0rhhg73kzai6qzhw31yxw3nhpsijn849qai2v9am955svmnckvf4";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Print where symbols are defined in Go source code";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "godef";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/rogpeppe/godef/";
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ vdemeester rvolosatovs ];
|
|
|
|
license = lib.licenses.bsd3;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|