2019-02-19 19:39:12 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-11-03 07:30:49 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "godef";
|
2019-02-12 15:21:30 +00:00
|
|
|
version = "1.1.1";
|
|
|
|
rev = "v${version}";
|
2016-11-03 07:30:49 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/rogpeppe/godef";
|
2019-02-12 15:21:30 +00:00
|
|
|
subPackages = [ "." ];
|
2016-11-03 07:30:49 +00:00
|
|
|
|
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";
|
2019-02-12 15:21:30 +00:00
|
|
|
sha256 = "1bpzqnb9fsk1pjjap3gm94pqch1jz02rfah9hg8iqbfm0dzpy31b";
|
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/";
|
2018-09-16 17:22:44 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ vdemeester rvolosatovs ];
|
2016-11-20 17:11:29 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2016-11-03 07:30:49 +00:00
|
|
|
};
|
|
|
|
}
|