diff --git a/pkgs/by-name/bo/bootc/package.nix b/pkgs/by-name/bo/bootc/package.nix index a2a7fa796bf3..e0f4f3a0473c 100644 --- a/pkgs/by-name/bo/bootc/package.nix +++ b/pkgs/by-name/bo/bootc/package.nix @@ -13,16 +13,16 @@ rustPlatform.buildRustPackage rec { pname = "bootc"; - version = "1.1.2"; + version = "1.4.0"; useFetchCargoVendor = true; - cargoHash = "sha256-/Sb2XtVguj5zpj/OTl90xFHFSaBeLgb8xIlNm4UrnRI="; + cargoHash = "sha256-7Fn68bcm8ZyR5eALCMIdcXcZ595EnWFHKdnqI5vMso4="; doInstallCheck = true; src = fetchFromGitHub { - owner = "containers"; + owner = "bootc-dev"; repo = "bootc"; rev = "v${version}"; - hash = "sha256-p1+j62MllmPcvWnijieSZmlgwYy76X17fv12Haetz78="; + hash = "sha256-FuU3rQtKpK+ScQ10GivisSJseY2GOFJ/y2HRKIiU0G8="; }; nativeBuildInputs = [ pkg-config ]; @@ -35,13 +35,26 @@ rustPlatform.buildRustPackage rec { 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 = [ versionCheckHook ]; meta = { description = "Boot and upgrade via container images"; - homepage = "https://containers.github.io/bootc"; + homepage = "https://bootc-dev.github.io/bootc"; license = lib.licenses.mit; mainProgram = "bootc"; maintainers = with lib.maintainers; [ thesola10 ];