2021-10-20 14:57:59 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-01-04 18:02:21 +00:00
|
|
|
|
2021-10-20 14:57:59 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "go-outline";
|
2021-10-20 14:57:59 +00:00
|
|
|
version = "unstable-2021-06-08";
|
2018-01-04 18:02:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ramya-rao-a";
|
|
|
|
repo = "go-outline";
|
2021-10-20 14:57:59 +00:00
|
|
|
rev = "9736a4bde949f321d201e5eaa5ae2bcde011bf00";
|
|
|
|
sha256 = "sha256-5ns6n1UO9kRSw8iio4dmJDncsyvFeN01bjxHxQ9Fae4=";
|
2018-01-04 18:02:21 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-jYYtSXdJd2eUc80UfwRRMPcX6tFiXE3LbxV3NAdKVKE=";
|
2021-10-20 14:57:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "Utility to extract JSON representation of declarations from a Go source file";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "go-outline";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ramya-rao-a/go-outline";
|
2023-07-23 17:30:22 +00:00
|
|
|
maintainers = with maintainers; [ vdemeester ];
|
2021-10-20 14:57:59 +00:00
|
|
|
license = licenses.mit;
|
2018-01-04 18:02:21 +00:00
|
|
|
};
|
|
|
|
}
|