radicle-ci-broker: 0.21.0 -> 0.22.0

Changelog: https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/tree/NEWS.md
This commit is contained in:
Defelo
2025-11-13 08:16:02 +00:00
parent bb0cd35187
commit 910abb1555

View File

@@ -13,14 +13,14 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "radicle-ci-broker";
version = "0.21.0";
version = "0.22.0";
src = fetchFromRadicle {
seed = "seed.radicle.xyz";
repo = "zwTxygwuz5LDGBq255RA2CbNGrz8";
node = "z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV";
tag = "v${finalAttrs.version}";
hash = "sha256-c0Qo6dnR9rP4mLXODkNZp+AnhKS0tqJeh1KgzfHBRV4=";
hash = "sha256-ylgOnDQRjQrG9Dngo/N6nGOnNcKgFtN9hT96yryHn0I=";
leaveDotGit = true;
postFetch = ''
git -C $out rev-parse --short HEAD > $out/.git_head
@@ -28,11 +28,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
'';
};
cargoHash = "sha256-9MkZh1hlHgLC9rGmLx5ehtLtZfhXsCqrJrCJNr1edBU=";
cargoHash = "sha256-Ykf8vk/5KcZcudbKkU/Ht4gPtmG45b60IorKL90RjAA=";
postPatch = ''
substituteInPlace build.rs \
--replace-fail "let hash = " "let hash = \"$(<$src/.git_head)\"; "
substituteInPlace ci-broker.md \
--replace-fail 'PATH: /bin' "" \
--replace-fail '"PATH": "/bin"' ""
'';
preCheck = ''
@@ -46,12 +50,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
radicle-node
];
checkFlags = [
"--skip=acceptance_criteria_for_upgrades"
"--skip=logs_adapter_stderr_output"
"--skip=process_queued_events"
"--skip=runs_adapter_with_configuration"
];
checkFlags = [ "--skip=acceptance_criteria_for_upgrades" ];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";