openbao: 2.5.1 -> 2.5.2 (#503485)

This commit is contained in:
Nick Cao
2026-03-25 21:03:12 +00:00
committed by GitHub
+3 -13
View File
@@ -1,7 +1,6 @@
{
lib,
fetchFromGitHub,
fetchpatch2,
buildGoModule,
installShellFiles,
versionCheckHook,
@@ -15,16 +14,16 @@
buildGoModule (finalAttrs: {
pname = "openbao";
version = "2.5.1";
version = "2.5.2";
src = fetchFromGitHub {
owner = "openbao";
repo = "openbao";
tag = "v${finalAttrs.version}";
hash = "sha256-pVFsyNg9ccSFAdHb/fjeVoMBh1nKcjwcFfVBBqFalIo=";
hash = "sha256-fqsCQf9wFlzMWC4XV1BclWlYG649VhhZBKlGrdsbqKc=";
};
vendorHash = "sha256-8F8HCbpk8st1o/64Y442lzzFXBnCs+mEYREYcj/s5KI=";
vendorHash = "sha256-0L+0U4tM7/ObNjXcSZcvIw7Y/RwYs2iRsLA2zSYmexU=";
proxyVendor = true;
@@ -39,15 +38,6 @@ buildGoModule (finalAttrs: {
"-X github.com/openbao/openbao/version.buildDate=1970-01-01T00:00:00Z"
];
patches = [
# Fixes interactive CLI usage that needs stty https://github.com/openbao/openbao/pull/2535
(fetchpatch2 {
name = "pr2535-fix-interactive-cli.patch";
url = "https://github.com/openbao/openbao/commit/e3fec111e3f6fd543c79c08f46d2256cd93f78e7.patch?full_index=1";
hash = "sha256-ixpWKfVT1dPAjF7RKS2tBpAr1YAqNkvf4/L7Be/C8Es=";
})
];
postConfigure = lib.optionalString withUi ''
cp -r --no-preserve=mode ${finalAttrs.passthru.ui} http/web_ui
'';