depot/third_party/nixpkgs/pkgs/development/tools/godef/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

27 lines
601 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "godef";
version = "1.1.2";
rev = "v${version}";
subPackages = [ "." ];
vendorSha256 = null;
doCheck = false;
src = fetchFromGitHub {
inherit rev;
owner = "rogpeppe";
repo = "godef";
sha256 = "0rhhg73kzai6qzhw31yxw3nhpsijn849qai2v9am955svmnckvf4";
};
meta = {
description = "Print where symbols are defined in Go source code";
homepage = "https://github.com/rogpeppe/godef/";
maintainers = with lib.maintainers; [ vdemeester rvolosatovs ];
license = lib.licenses.bsd3;
};
}