at 23.05-pre 25 lines 618 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "oapi-codegen"; 5 version = "1.12.2"; 6 7 src = fetchFromGitHub { 8 owner = "deepmap"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-ZgYUCfqvKvXsgRziW0A7i4Cvntd4U2q9kKXHwBtAA9k="; 12 }; 13 14 vendorSha256 = "sha256-XFXe02WTtkzIzpcVN1Vwi+7rTKWlrMWCOV/rrDBRliY="; 15 16 # Tests use network 17 doCheck = false; 18 19 meta = with lib; { 20 description = "Go client and server OpenAPI 3 generator"; 21 homepage = "https://github.com/deepmap/oapi-codegen"; 22 license = licenses.asl20; 23 maintainers = [ maintainers.j4m3s ]; 24 }; 25}