7 pname = "oapi-codegen";
10 src = fetchFromGitHub {
13 rev = "refs/tags/v${version}";
14 hash = "sha256-21VhHSyfF+NHkXlr2svjwBNZmfS1O448POBP9XUQxak=";
17 vendorHash = "sha256-bp5sFZNJFQonwfF1RjCnOMKZQkofHuqG0bXdG5Hf3jU=";
22 subPackages = [ "cmd/oapi-codegen" ];
24 ldflags = [ "-X main.noVCSVersionOverride=${version}" ] ;
27 description = "Go client and server OpenAPI 3 generator";
28 homepage = "https://github.com/deepmap/oapi-codegen";
29 changelog = "https://github.com/deepmap/oapi-codegen/releases/tag/v${version}";
30 license = licenses.asl20;
31 maintainers = with maintainers; [ j4m3s ];
32 mainProgram = "oapi-codegen";