10 src = fetchFromGitHub {
14 hash = "sha256-CFqr1laPxKNhaluGmwW7apxLQqkAFKVznDKezH8gjx0=";
16 vendorHash = "sha256-2WvlH69iYqIA3d9aFVec8TZL+pMJItoNKSoDBL/NNyg=";
18 ldflags = [ "-s" "-w" "-X main._version=${version}" ];
20 subPackages = [ "." ];
23 # needs to fetch additional go modules
24 "-skip=TestFinder_ImportedPackage/Modules"
33 homepage = "https://github.com/abhinav/doc2go";
34 changelog = "https://github.com/abhinav/doc2go/blob/${src.rev}/CHANGELOG.md";
35 description = "Your Go project's documentation, to-go";
37 doc2go is a command line tool that generates static HTML documentation
38 from your Go code. It is a self-hosted static alternative to
39 https://pkg.go.dev/ and https://godocs.io/.
41 license = with licenses; [
42 # general project license
44 # internal/godoc/synopsis*.go adapted from golang source
47 maintainers = with maintainers; [ jk ];