forked from mirrors/nixpkgs
Merge pull request #33427 from vdemeester/init-go-symbols
go-symbols: init at 2017-02-06
This commit is contained in:
commit
7fd8e8b40e
23
pkgs/development/tools/go-symbols/default.nix
Normal file
23
pkgs/development/tools/go-symbols/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, lib, buildGoPackage, fetchgit }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "go-symbols-${version}";
|
||||
version = "unstable-2017-02-06";
|
||||
rev = "5a7f75904fb552189036c640d04cd6afef664836";
|
||||
|
||||
goPackagePath = "github.com/acroca/go-symbols";
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/acroca/go-symbols";
|
||||
sha256 = "0qh2jjhwwk48gi8yii0z031bah11anxfz81nwflsiww7n426a8bb";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A utility for extracting a JSON representation of the package symbols from a go source tree.";
|
||||
homepage = https://github.com/acroca/go-symbols;
|
||||
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
11
pkgs/development/tools/go-symbols/deps.nix
Normal file
11
pkgs/development/tools/go-symbols/deps.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "golang.org/x/tools";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/golang/tools";
|
||||
rev = "96b5a5404f303f074e6117d832a9873c439508f0";
|
||||
sha256 = "1h6r9xyp1v3w2x8d108vzghn65l6ia2h895irypmrwymfcp30y42";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -13328,6 +13328,8 @@ with pkgs;
|
|||
|
||||
go-protobuf = callPackage ../development/tools/go-protobuf { };
|
||||
|
||||
go-symbols = callPackage ../development/tools/go-symbols { };
|
||||
|
||||
gocode = callPackage ../development/tools/gocode { };
|
||||
|
||||
goconvey = callPackage ../development/tools/goconvey { };
|
||||
|
|
Loading…
Reference in a new issue