1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

Merge pull request #20107 from vdemeester/add-godef

godef: init at 20160620-ee532b9
This commit is contained in:
Franz Pletz 2016-11-10 00:58:23 +01:00 committed by GitHub
commit 45124443fa
3 changed files with 26 additions and 0 deletions

View file

@ -459,6 +459,7 @@
vbgl = "Vincent Laporte <Vincent.Laporte@gmail.com>";
vbmithr = "Vincent Bernardoff <vb@luminar.eu.org>";
vcunat = "Vladimír Čunát <vcunat@gmail.com>";
vdemeester = "Vincent Demeester <vincent@sbr.pm>";
veprbl = "Dmitry Kalinkin <veprbl@gmail.com>";
viric = "Lluís Batlle i Rossell <viric@viric.name>";
vizanto = "Danny Wilson <danny@prime.vc>";

View file

@ -0,0 +1,23 @@
{ stdenv, lib, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "godef-${version}";
version = "20160620-${stdenv.lib.strings.substring 0 7 rev}";
rev = "ee532b944160bb27b6f23e4f5ef38b8fdaa2a6bd";
goPackagePath = "github.com/rogpeppe/godef";
excludedPackages = "go/printer/testdata";
src = fetchgit {
inherit rev;
url = "https://github.com/rogpeppe/godef";
sha256 = "1r8c4ijjnwvb9pci4wasmq88yj0ginwly2542kw4hyg2c87j613l";
};
meta = {
description = "Print where symbols are defined in Go source code";
homepage = "https://github.com/rogpeppe/godef/";
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
licence = stdenv.lib.licenses.bsd3;
};
}

View file

@ -11242,6 +11242,8 @@ in
godep = callPackage ../development/tools/godep { };
godef = callPackage ../development/tools/godef { };
goimports = callPackage ../development/tools/goimports { };
govers = callPackage ../development/tools/govers { };