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

24 lines
620 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "godef-${version}";
2019-02-12 15:21:30 +00:00
version = "1.1.1";
rev = "v${version}";
goPackagePath = "github.com/rogpeppe/godef";
2019-02-12 15:21:30 +00:00
subPackages = [ "." ];
src = fetchgit {
inherit rev;
url = "https://github.com/rogpeppe/godef";
2019-02-12 15:21:30 +00:00
sha256 = "1bpzqnb9fsk1pjjap3gm94pqch1jz02rfah9hg8iqbfm0dzpy31b";
};
meta = {
description = "Print where symbols are defined in Go source code";
homepage = https://github.com/rogpeppe/godef/;
2018-09-16 16:22:44 +00:00
maintainers = with stdenv.lib.maintainers; [ vdemeester rvolosatovs ];
2016-11-20 17:11:29 +00:00
license = stdenv.lib.licenses.bsd3;
};
}