nixpkgs/pkgs/development/tools/godef/default.nix
Timothy Stott ba7c0893d4
treewide: remove obsolete attribute goPackagePath in buildGoModule derivations (#95092)
The buildGoModule infrastructure does not make use of goPackagePath it is a residue from buildGoPackage.
2020-08-11 21:04:55 +00:00

28 lines
618 B
Nix

{ stdenv, 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 stdenv.lib.maintainers; [ vdemeester rvolosatovs ];
license = stdenv.lib.licenses.bsd3;
};
}