10 src = fetchFromGitHub {
14 hash = "sha256-b4L20/9jm+bFGdNsHmcwSnzcmr3Il9XoV20284Ba8PU=";
16 vendorHash = "sha256-d5ZRMFi7GIfDHsYRNvMnDdfnGhTM1sA0WDYD2aDoEd0=";
18 ldflags = [ "-s" "-w" "-X main._version=${version}" ];
20 subPackages = [ "." ];
21 # integration is it's own module
22 excludedPackages = [ "integration" ];
25 # needs to fetch additional go modules
26 "-skip=TestFinder_ImportedPackage/Modules"
35 homepage = "https://github.com/abhinav/doc2go";
36 changelog = "https://github.com/abhinav/doc2go/blob/${src.rev}/CHANGELOG.md";
37 description = "Your Go project's documentation, to-go";
38 mainProgram = "doc2go";
40 doc2go is a command line tool that generates static HTML documentation
41 from your Go code. It is a self-hosted static alternative to
42 https://pkg.go.dev/ and https://godocs.io/.
44 license = with licenses; [
45 # general project license
47 # internal/godoc/synopsis*.go adapted from golang source
50 maintainers = with maintainers; [ jk ];