depot/third_party/nixpkgs/pkgs/tools/networking/oapi-codegen/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

29 lines
709 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "oapi-codegen";
version = "1.12.4";
src = fetchFromGitHub {
owner = "deepmap";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-VbaGFTDfe/bm4EP3chiG4FPEna+uC4HnfGG4C7YUWHc=";
};
vendorHash = "sha256-o9pEeM8WgGVopnfBccWZHwFR420mQAA4K/HV2RcU2wU=";
# Tests use network
doCheck = false;
meta = with lib; {
description = "Go client and server OpenAPI 3 generator";
homepage = "https://github.com/deepmap/oapi-codegen";
changelog = "https://github.com/deepmap/oapi-codegen/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ j4m3s ];
};
}