mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
cd30356b2e
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
24 lines
704 B
Nix
24 lines
704 B
Nix
{ stdenv, lib, buildGoPackage, fetchgit }:
|
|
|
|
buildGoPackage rec {
|
|
name = "godef-${version}";
|
|
version = "20170920-${stdenv.lib.strings.substring 0 7 rev}";
|
|
rev = "b692db1de5229d4248e23c41736b431eb665615d";
|
|
|
|
goPackagePath = "github.com/rogpeppe/godef";
|
|
excludedPackages = "go/printer/testdata";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/rogpeppe/godef";
|
|
sha256 = "0xqp9smfyznm8v2iy4wyy3kd24mga12fx0y0896qimac4hj2al15";
|
|
};
|
|
|
|
meta = {
|
|
description = "Print where symbols are defined in Go source code";
|
|
homepage = https://github.com/rogpeppe/godef/;
|
|
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
|
license = stdenv.lib.licenses.bsd3;
|
|
};
|
|
}
|