2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchgit }:
|
2016-11-03 07:30:49 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "godef-${version}";
|
2018-09-16 17:22:44 +01:00
|
|
|
version = "1.0.0";
|
|
|
|
rev = "7b4626be9fa8081987905fd4719d2f6628f9d8b5";
|
2016-11-03 07:30:49 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/rogpeppe/godef";
|
|
|
|
excludedPackages = "go/printer/testdata";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/rogpeppe/godef";
|
2018-09-16 17:22:44 +01:00
|
|
|
sha256 = "0zhw4ba19hy0kv74c58ax759h8721khmwj04fak2y5800ymsgndg";
|
2016-11-03 07:30:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Print where symbols are defined in Go source code";
|
2017-08-01 21:03:30 +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
|
|
|
};
|
|
|
|
}
|