oapi-codegen: add changelog to meta
This commit is contained in:
parent
e02d05e962
commit
f264e5e532
|
@ -1,4 +1,7 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "oapi-codegen";
|
pname = "oapi-codegen";
|
||||||
|
@ -7,19 +10,20 @@ buildGoModule rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "deepmap";
|
owner = "deepmap";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-VbaGFTDfe/bm4EP3chiG4FPEna+uC4HnfGG4C7YUWHc=";
|
hash = "sha256-VbaGFTDfe/bm4EP3chiG4FPEna+uC4HnfGG4C7YUWHc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-o9pEeM8WgGVopnfBccWZHwFR420mQAA4K/HV2RcU2wU=";
|
vendorHash = "sha256-o9pEeM8WgGVopnfBccWZHwFR420mQAA4K/HV2RcU2wU=";
|
||||||
|
|
||||||
# Tests use network
|
# Tests use network
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Go client and server OpenAPI 3 generator";
|
description = "Go client and server OpenAPI 3 generator";
|
||||||
homepage = "https://github.com/deepmap/oapi-codegen";
|
homepage = "https://github.com/deepmap/oapi-codegen";
|
||||||
license = licenses.asl20;
|
changelog = "https://github.com/deepmap/oapi-codegen/releases/tag/v${version}";
|
||||||
maintainers = [ maintainers.j4m3s ];
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ j4m3s ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue