2021-03-20 04:20:00 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "oapi-codegen";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "1.9.0";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deepmap";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-pGkTCOQ2OR/9c5+L9UgESJjSMmz9FjfJw9NB8Nr6gRQ=";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
vendorSha256 = "sha256-hvY64cmfvEeHniscD1WDyaeFpWeBJwsDNwr76e9F6ow=";
|
2021-03-20 04:20:00 +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 ];
|
|
|
|
};
|
|
|
|
}
|