10 src = fetchFromGitHub {
14 sha256 = "sha256-YxIVqPGsqxvOY0Qz4Jw5FuO9IbplCICjChosnHrSCgc=";
19 # This package comes with its own version of goimports, gofmt and goreturns
20 # but these binaries are outdated and are offered by other packages.
21 subPackages = [ "cmd/asmfmt" ];
23 ldflags = [ "-s" "-w" ];
29 description = "Go assembler formatter";
30 mainProgram = "asmfmt";
32 This will format your assembler code in a similar way that gofmt formats
35 homepage = "https://github.com/klauspost/asmfmt";
36 changelog = "https://github.com/klauspost/asmfmt/releases/tag/${src.rev}";
37 license = licenses.mit;
38 maintainers = with maintainers; [ kalbasit ];