diff options
author | James Landrein <github@j4m3s.eu> | 2021-03-26 00:00:38 +0100 |
---|---|---|
committer | James Landrein <github@j4m3s.eu> | 2021-03-26 00:00:38 +0100 |
commit | c516b56942c9712469b711a2c46036d0f397e101 (patch) | |
tree | dee9720000f47555cfd3ac9366e4304253c4fa2b /pkgs/tools | |
parent | 320763c7aa4dc55ce4202a2566a26f564d5f1b9b (diff) |
oapi-codegen: init at 1.5.6
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/oapi-codegen/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/networking/oapi-codegen/default.nix b/pkgs/tools/networking/oapi-codegen/default.nix new file mode 100644 index 000000000000..583189f57db2 --- /dev/null +++ b/pkgs/tools/networking/oapi-codegen/default.nix @@ -0,0 +1,25 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "oapi-codegen"; + version = "1.5.6"; + + src = fetchFromGitHub { + owner = "deepmap"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-edIm1O+LQdmKhH8/5WuSsxVtOcf3VlkObGjIY+30mms="; + }; + + vendorSha256 = "sha256-lhWnPZavtBEa4A76rvr0xw3L5W6HYK1Uw+PW8z8gWuU="; + + # 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 ]; + }; +} |