2021-10-28 06:52:43 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "go-outline";
|
2021-10-28 06:52:43 +00:00
|
|
|
version = "unstable-2021-06-08";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ramya-rao-a";
|
|
|
|
repo = "go-outline";
|
2021-10-28 06:52:43 +00:00
|
|
|
rev = "9736a4bde949f321d201e5eaa5ae2bcde011bf00";
|
|
|
|
sha256 = "sha256-5ns6n1UO9kRSw8iio4dmJDncsyvFeN01bjxHxQ9Fae4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
vendorSha256 = "sha256-jYYtSXdJd2eUc80UfwRRMPcX6tFiXE3LbxV3NAdKVKE=";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Utility to extract JSON representation of declarations from a Go source file";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/ramya-rao-a/go-outline";
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ vdemeester ];
|
2021-10-28 06:52:43 +00:00
|
|
|
license = licenses.mit;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|