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