2021-03-25 23:00:38 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "oapi-codegen";
|
2022-07-29 14:49:14 +01:00
|
|
|
version = "1.11.0";
|
2021-03-25 23:00:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deepmap";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-29 14:49:14 +01:00
|
|
|
sha256 = "sha256-KeMtop91aTylBX95ZJQmveHaYDCYqcKMbPO9YDAfYoI=";
|
2021-03-25 23:00:38 +00:00
|
|
|
};
|
|
|
|
|
2022-07-29 14:49:14 +01:00
|
|
|
vendorSha256 = "sha256-Zt4a4riAzmXNn/mawkMqt9f5lmow1zqnWLiLLQsTG9M=";
|
2021-03-25 23:00:38 +00:00
|
|
|
|
|
|
|
# Tests use network
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Go client and server OpenAPI 3 generator";
|
|
|
|
homepage = "https://github.com/deepmap/oapi-codegen";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.j4m3s ];
|
|
|
|
};
|
|
|
|
}
|