mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #299788 from seanrmurphy/update-oapi-codegen
oapi-codegen: 1.13.4 -> 2.1.0
This commit is contained in:
commit
2e94533da9
@ -5,20 +5,24 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "oapi-codegen";
|
||||
version = "1.13.4";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deepmap";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-9uHgc2q3ZNM0hQsAY+1RLAH3NfcV+dQo+WRk4OQ8q4Q=";
|
||||
};
|
||||
hash = "sha256-5Bwe0THxwynuUuw7jI7KBDNC1Q4sHlnWwO2Kx5F/7PA=";
|
||||
} ;
|
||||
|
||||
vendorHash = "sha256-VsZcdbOGRbHfjKPU+Y01xZCBq4fiVi7qoRBY9AqS0PM=";
|
||||
vendorHash = "sha256-SqnFfx9bWneVEIyJS8fKe9NNcbPF4wI3qP5QvENqBrI=";
|
||||
|
||||
# Tests use network
|
||||
doCheck = false;
|
||||
|
||||
subPackages = [ "cmd/oapi-codegen" ];
|
||||
|
||||
ldflags = [ "-X main.noVCSVersionOverride=${version}" ] ;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Go client and server OpenAPI 3 generator";
|
||||
homepage = "https://github.com/deepmap/oapi-codegen";
|
||||
|
Loading…
Reference in New Issue
Block a user