-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22222,6 +22222,14 @@ | |
github = "wuyoli"; | ||
githubId = 104238274; | ||
}; | ||
wwmoraes = { | ||
email = "[email protected]"; | ||
github = "wwmoraes"; | ||
githubId = 682095; | ||
keys = [ { fingerprint = "32B4 330B 1B66 828E 4A96 9EEB EED9 9464 5D7C 9BDE"; } ]; | ||
matrix = "@wwmoraes:hachyderm.io"; | ||
name = "William Artero"; | ||
}; | ||
wykurz = { | ||
email = "[email protected]"; | ||
github = "wykurz"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
buildGoModule, | ||
fetchFromGitHub, | ||
lib, | ||
pkgs, | ||
}: | ||
|
||
buildGoModule rec { | ||
pname = "goutline"; | ||
version = "1.0.1"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "1pkg"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
hash = "sha256-YZM+pQobuFGlxX+t1rgiM8JMc4n1AWveQr0W3LE9yPc="; | ||
postFetch = '' | ||
export GOCACHE=$TMPDIR/go-build | ||
export GOPATH=$TMPDIR/go | ||
export GOMODCACHE=$TMPDIR/go/pkg/mod | ||
cd $out | ||
${pkgs.go}/bin/go mod init github.com/1pkg/goutline | ||
${pkgs.go}/bin/go mod tidy | ||
''; | ||
}; | ||
|
||
vendorHash = "sha256-RNRvYpbAqKoKPnF1acIX3wbuSvu3k0tppi6ncWd6hIM="; | ||
|
||
meta = with lib; { | ||
description = "Go AST Declaration Extractor"; | ||
homepage = "https://github.com/1pkg/goutline"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ wwmoraes ]; | ||
}; | ||
} |