14 src = fetchFromGitHub {
18 hash = "sha256-mJM0uKztX0OUQvynnxeKL9yft7X/Eh28ERg8SbZC5Ws=";
21 vendorHash = "sha256-kJysyxROvB0eMAHbvNF+VXatEicn4ln2Vqkzp7GDWAQ=";
27 "-X main.version=v${version}"
31 # Requires network access (Error: module lookup disabled by GOPROXY=off).
32 "-skip=^TestScript/diagnose$"
36 updateScript = nix-update-script { };
37 tests.version = testers.testVersion {
39 version = "v${version}";
44 description = "Stricter gofmt";
45 homepage = "https://github.com/mvdan/gofumpt";
46 changelog = "https://github.com/mvdan/gofumpt/releases/tag/v${version}";
47 license = licenses.bsd3;
48 maintainers = with maintainers; [
52 mainProgram = "gofumpt";