2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2018-01-04 18:02:21 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "go-outline-${version}";
|
2019-03-08 20:50:54 +00:00
|
|
|
version = "unstable-2018-11-22";
|
|
|
|
rev = "7182a932836a71948db4a81991a494751eccfe77";
|
2018-01-04 18:02:21 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/ramya-rao-a/go-outline";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "ramya-rao-a";
|
|
|
|
repo = "go-outline";
|
2019-03-08 20:50:54 +00:00
|
|
|
sha256 = "0p381yvwvff0i4i7mf5v1k2q1lb0rs2xkjgv67n1cw2573c613r1";
|
2018-01-04 18:02:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Utility to extract JSON representation of declarations from a Go source file.";
|
|
|
|
homepage = https://github.com/ramya-rao-a/go-outline;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|