2016-11-03 07:30:49 +00:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchgit }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "godef-${version}";
|
|
|
|
version = "20160620-${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "ee532b944160bb27b6f23e4f5ef38b8fdaa2a6bd";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/rogpeppe/godef";
|
|
|
|
excludedPackages = "go/printer/testdata";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/rogpeppe/godef";
|
|
|
|
sha256 = "1r8c4ijjnwvb9pci4wasmq88yj0ginwly2542kw4hyg2c87j613l";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Print where symbols are defined in Go source code";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/rogpeppe/godef/;
|
2016-11-03 07:30:49 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
2016-11-20 17:11:29 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2016-11-03 07:30:49 +00:00
|
|
|
};
|
|
|
|
}
|