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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
601 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-04-23 08:46:05 +00:00
buildGoModule rec {
pname = "godef";
2020-04-23 08:46:05 +00:00
version = "1.1.2";
2019-02-12 15:21:30 +00:00
rev = "v${version}";
2019-02-12 15:21:30 +00:00
subPackages = [ "." ];
vendorSha256 = null;
2020-04-23 08:46:05 +00:00
doCheck = false;
2019-02-19 19:39:12 +00:00
src = fetchFromGitHub {
inherit rev;
2019-02-19 19:39:12 +00:00
owner = "rogpeppe";
repo = "godef";
2020-04-23 08:46:05 +00:00
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;
};
}