2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-11-03 07:30:49 +00:00
|
|
|
|
2020-04-23 09:46:05 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "godef";
|
2020-04-23 09:46:05 +01:00
|
|
|
version = "1.1.2";
|
2019-02-12 15:21:30 +00:00
|
|
|
rev = "v${version}";
|
2016-11-03 07:30:49 +00:00
|
|
|
|
2019-02-12 15:21:30 +00:00
|
|
|
subPackages = [ "." ];
|
2016-11-03 07:30:49 +00:00
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = null;
|
2020-04-23 09:46:05 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-02-19 19:39:12 +00:00
|
|
|
src = fetchFromGitHub {
|
2016-11-03 07:30:49 +00:00
|
|
|
inherit rev;
|
2019-02-19 19:39:12 +00:00
|
|
|
owner = "rogpeppe";
|
|
|
|
repo = "godef";
|
2020-04-23 09:46:05 +01:00
|
|
|
sha256 = "0rhhg73kzai6qzhw31yxw3nhpsijn849qai2v9am955svmnckvf4";
|
2016-11-03 07:30:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Print where symbols are defined in Go source code";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/rogpeppe/godef/";
|
2021-01-23 12:26:19 +00:00
|
|
|
maintainers = with lib.maintainers; [ vdemeester rvolosatovs ];
|
|
|
|
license = lib.licenses.bsd3;
|
2016-11-03 07:30:49 +00:00
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|