Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 29 lines 709 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "oapi-codegen"; 8 version = "1.12.4"; 9 10 src = fetchFromGitHub { 11 owner = "deepmap"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-VbaGFTDfe/bm4EP3chiG4FPEna+uC4HnfGG4C7YUWHc="; 15 }; 16 17 vendorHash = "sha256-o9pEeM8WgGVopnfBccWZHwFR420mQAA4K/HV2RcU2wU="; 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}