1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "oapi-codegen";
8 version = "1.13.4";
9
10 src = fetchFromGitHub {
11 owner = "deepmap";
12 repo = pname;
13 rev = "refs/tags/v${version}";
14 hash = "sha256-9uHgc2q3ZNM0hQsAY+1RLAH3NfcV+dQo+WRk4OQ8q4Q=";
15 };
16
17 vendorHash = "sha256-VsZcdbOGRbHfjKPU+Y01xZCBq4fiVi7qoRBY9AqS0PM=";
18
19 # Tests use network
20 doCheck = false;
21
22 meta = with lib; {
23 description = "Go client and server OpenAPI 3 generator";
24 homepage = "https://github.com/deepmap/oapi-codegen";
25 changelog = "https://github.com/deepmap/oapi-codegen/releases/tag/v${version}";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ j4m3s ];
28 };
29}