mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
27 lines
692 B
Nix
27 lines
692 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "godef";
|
|
version = "1.1.2";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/rogpeppe/godef";
|
|
subPackages = [ "." ];
|
|
|
|
modSha256 = "06mi8f2qs54gk2anxqcf70h96s63a99xhnlm294djyv37wy1yffi";
|
|
|
|
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 stdenv.lib.maintainers; [ vdemeester rvolosatovs ];
|
|
license = stdenv.lib.licenses.bsd3;
|
|
};
|
|
}
|