Merge pull request #142373 from SuperSandro2000/go-outline

This commit is contained in:
Sandro 2021-10-21 10:17:53 +02:00 committed by GitHub
commit 8c36f998e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 23 deletions

View File

@ -1,24 +1,22 @@
{ lib, buildGoPackage, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec { buildGoModule rec {
pname = "go-outline"; pname = "go-outline";
version = "unstable-2018-11-22"; version = "unstable-2021-06-08";
rev = "7182a932836a71948db4a81991a494751eccfe77";
goPackagePath = "github.com/ramya-rao-a/go-outline";
goDeps = ./deps.nix;
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev;
owner = "ramya-rao-a"; owner = "ramya-rao-a";
repo = "go-outline"; repo = "go-outline";
sha256 = "0p381yvwvff0i4i7mf5v1k2q1lb0rs2xkjgv67n1cw2573c613r1"; rev = "9736a4bde949f321d201e5eaa5ae2bcde011bf00";
sha256 = "sha256-5ns6n1UO9kRSw8iio4dmJDncsyvFeN01bjxHxQ9Fae4=";
}; };
meta = { vendorSha256 = "sha256-jYYtSXdJd2eUc80UfwRRMPcX6tFiXE3LbxV3NAdKVKE=";
meta = with lib; {
description = "Utility to extract JSON representation of declarations from a Go source file"; description = "Utility to extract JSON representation of declarations from a Go source file";
homepage = "https://github.com/ramya-rao-a/go-outline"; homepage = "https://github.com/ramya-rao-a/go-outline";
maintainers = with lib.maintainers; [ vdemeester ]; maintainers = with maintainers; [ SuperSandro2000 vdemeester ];
license = lib.licenses.mit; license = licenses.mit;
}; };
} }

View File

@ -1,11 +0,0 @@
[
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://github.com/golang/tools";
rev = "96b5a5404f303f074e6117d832a9873c439508f0";
sha256 = "1h6r9xyp1v3w2x8d108vzghn65l6ia2h895irypmrwymfcp30y42";
};
}
]