├── .assets ├── NGI0_tag.png ├── nlnet-banner.png └── tweag.png ├── .envrc ├── .github ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── .mergify.yml ├── LICENSE ├── README.md ├── default.nix ├── docs ├── getting-started.md └── nix-reference.md ├── flake.lock ├── flake.nix ├── go.mod ├── go.sum ├── gomod2nix.toml ├── internal ├── cmd │ └── root.go ├── generate │ ├── generate.go │ └── temp.go ├── lib │ ├── executor.go │ └── executor_test.go └── schema │ └── schema.go ├── main.go ├── overlay.nix ├── shell.nix ├── templates ├── app │ ├── .gitignore │ ├── default.nix │ ├── flake.nix │ ├── go.mod │ ├── gomod2nix.toml │ ├── main.go │ ├── main_test.go │ └── shell.nix └── container │ ├── .gitignore │ ├── default.nix │ ├── flake.nix │ ├── go.mod │ ├── gomod2nix.toml │ ├── main.go │ ├── main_test.go │ └── shell.nix └── tests ├── Makefile ├── README.md ├── cli-args ├── default.nix └── script ├── cross └── default.nix ├── default.nix ├── ethermint ├── cmd │ └── main.go ├── crypto │ └── hd │ │ └── algorithm.go ├── default.nix ├── go.mod └── go.sum ├── helm ├── default.nix ├── go.mod └── go.sum ├── minikube ├── default.nix ├── go.mod └── go.sum ├── mkgoenv ├── default.nix ├── go.mod ├── go.sum └── tools.go ├── run.go └── vendored-modules ├── default.nix └── script /.assets/NGI0_tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/.assets/NGI0_tag.png -------------------------------------------------------------------------------- /.assets/nlnet-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/.assets/nlnet-banner.png -------------------------------------------------------------------------------- /.assets/tweag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/.assets/tweag.png -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | use nix 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/.gitignore -------------------------------------------------------------------------------- /.mergify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/.mergify.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/README.md -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/default.nix -------------------------------------------------------------------------------- /docs/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/docs/getting-started.md -------------------------------------------------------------------------------- /docs/nix-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/docs/nix-reference.md -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/flake.nix -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/go.sum -------------------------------------------------------------------------------- /gomod2nix.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/gomod2nix.toml -------------------------------------------------------------------------------- /internal/cmd/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/internal/cmd/root.go -------------------------------------------------------------------------------- /internal/generate/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/internal/generate/generate.go -------------------------------------------------------------------------------- /internal/generate/temp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/internal/generate/temp.go -------------------------------------------------------------------------------- /internal/lib/executor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/internal/lib/executor.go -------------------------------------------------------------------------------- /internal/lib/executor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/internal/lib/executor_test.go -------------------------------------------------------------------------------- /internal/schema/schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/internal/schema/schema.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/main.go -------------------------------------------------------------------------------- /overlay.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/overlay.nix -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/shell.nix -------------------------------------------------------------------------------- /templates/app/.gitignore: -------------------------------------------------------------------------------- 1 | /gomod2nix-template 2 | -------------------------------------------------------------------------------- /templates/app/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/app/default.nix -------------------------------------------------------------------------------- /templates/app/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/app/flake.nix -------------------------------------------------------------------------------- /templates/app/go.mod: -------------------------------------------------------------------------------- 1 | module example.com/gomod2nix-template 2 | 3 | go 1.17 4 | -------------------------------------------------------------------------------- /templates/app/gomod2nix.toml: -------------------------------------------------------------------------------- 1 | schema = 1 2 | 3 | [mod] 4 | -------------------------------------------------------------------------------- /templates/app/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/app/main.go -------------------------------------------------------------------------------- /templates/app/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/app/main_test.go -------------------------------------------------------------------------------- /templates/app/shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/app/shell.nix -------------------------------------------------------------------------------- /templates/container/.gitignore: -------------------------------------------------------------------------------- 1 | result 2 | -------------------------------------------------------------------------------- /templates/container/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/container/default.nix -------------------------------------------------------------------------------- /templates/container/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/container/flake.nix -------------------------------------------------------------------------------- /templates/container/go.mod: -------------------------------------------------------------------------------- 1 | module example.com/gomod2nix-template 2 | 3 | go 1.17 4 | -------------------------------------------------------------------------------- /templates/container/gomod2nix.toml: -------------------------------------------------------------------------------- 1 | schema = 1 2 | 3 | [mod] 4 | -------------------------------------------------------------------------------- /templates/container/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/container/main.go -------------------------------------------------------------------------------- /templates/container/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/container/main_test.go -------------------------------------------------------------------------------- /templates/container/shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/templates/container/shell.nix -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | go run ./run.go 3 | -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/cli-args/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/cli-args/default.nix -------------------------------------------------------------------------------- /tests/cli-args/script: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/cli-args/script -------------------------------------------------------------------------------- /tests/cross/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/cross/default.nix -------------------------------------------------------------------------------- /tests/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/default.nix -------------------------------------------------------------------------------- /tests/ethermint/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/ethermint/cmd/main.go -------------------------------------------------------------------------------- /tests/ethermint/crypto/hd/algorithm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/ethermint/crypto/hd/algorithm.go -------------------------------------------------------------------------------- /tests/ethermint/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/ethermint/default.nix -------------------------------------------------------------------------------- /tests/ethermint/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/ethermint/go.mod -------------------------------------------------------------------------------- /tests/ethermint/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/ethermint/go.sum -------------------------------------------------------------------------------- /tests/helm/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/helm/default.nix -------------------------------------------------------------------------------- /tests/helm/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/helm/go.mod -------------------------------------------------------------------------------- /tests/helm/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/helm/go.sum -------------------------------------------------------------------------------- /tests/minikube/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/minikube/default.nix -------------------------------------------------------------------------------- /tests/minikube/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/minikube/go.mod -------------------------------------------------------------------------------- /tests/minikube/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/minikube/go.sum -------------------------------------------------------------------------------- /tests/mkgoenv/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/mkgoenv/default.nix -------------------------------------------------------------------------------- /tests/mkgoenv/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/mkgoenv/go.mod -------------------------------------------------------------------------------- /tests/mkgoenv/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/mkgoenv/go.sum -------------------------------------------------------------------------------- /tests/mkgoenv/tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/mkgoenv/tools.go -------------------------------------------------------------------------------- /tests/run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/run.go -------------------------------------------------------------------------------- /tests/vendored-modules/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nix-community/gomod2nix/HEAD/tests/vendored-modules/default.nix -------------------------------------------------------------------------------- /tests/vendored-modules/script: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # No-op 3 | --------------------------------------------------------------------------------