bootc: 1.1.2 -> 1.4.0; follow upstream redirect (#424643)

This commit is contained in:
Wolfgang Walther 2025-07-15 11:54:51 +00:00 committed by GitHub
commit c1bdb17d00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,16 +13,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "bootc"; pname = "bootc";
version = "1.1.2"; version = "1.4.0";
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-/Sb2XtVguj5zpj/OTl90xFHFSaBeLgb8xIlNm4UrnRI="; cargoHash = "sha256-7Fn68bcm8ZyR5eALCMIdcXcZ595EnWFHKdnqI5vMso4=";
doInstallCheck = true; doInstallCheck = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "bootc-dev";
repo = "bootc"; repo = "bootc";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-p1+j62MllmPcvWnijieSZmlgwYy76X17fv12Haetz78="; hash = "sha256-FuU3rQtKpK+ScQ10GivisSJseY2GOFJ/y2HRKIiU0G8=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
@ -35,13 +35,26 @@ rustPlatform.buildRustPackage rec {
ostree-full ostree-full
]; ];
checkFlags = [
# These all require a writable /var/tmp
"--skip=test_cli_fns"
"--skip=test_diff"
"--skip=test_tar_export_reproducible"
"--skip=test_tar_export_structure"
"--skip=test_tar_import_empty"
"--skip=test_tar_import_export"
"--skip=test_tar_import_signed"
"--skip=test_tar_write"
"--skip=test_tar_write_tar_layer"
];
nativeInstallCheckInputs = [ nativeInstallCheckInputs = [
versionCheckHook versionCheckHook
]; ];
meta = { meta = {
description = "Boot and upgrade via container images"; description = "Boot and upgrade via container images";
homepage = "https://containers.github.io/bootc"; homepage = "https://bootc-dev.github.io/bootc";
license = lib.licenses.mit; license = lib.licenses.mit;
mainProgram = "bootc"; mainProgram = "bootc";
maintainers = with lib.maintainers; [ thesola10 ]; maintainers = with lib.maintainers; [ thesola10 ];