2022-12-17 10:02:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "oapi-codegen";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "1.12.4";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deepmap";
|
|
|
|
repo = pname;
|
2022-12-17 10:02:37 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-VbaGFTDfe/bm4EP3chiG4FPEna+uC4HnfGG4C7YUWHc=";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
vendorHash = "sha256-o9pEeM8WgGVopnfBccWZHwFR420mQAA4K/HV2RcU2wU=";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
# Tests use network
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Go client and server OpenAPI 3 generator";
|
2022-12-17 10:02:37 +00:00
|
|
|
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 ];
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
}
|