nixpkgs/pkgs/development/tools/godef/default.nix

24 lines
668 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "godef-${version}";
2018-09-16 17:22:44 +01:00
version = "1.0.0";
rev = "7b4626be9fa8081987905fd4719d2f6628f9d8b5";
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";
};
meta = {
description = "Print where symbols are defined in Go source code";
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;
};
}