Unverified Commit 19468c1e authored by Michael Daniels's avatar Michael Daniels
Browse files
parent b2a1f8ad
Loading
Loading
Loading
Loading
+16 −3
Original line number Diff line number Diff line
@@ -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";
    repo = "bootc";
    rev = "v${version}";
    hash = "sha256-p1+j62MllmPcvWnijieSZmlgwYy76X17fv12Haetz78=";
    hash = "sha256-FuU3rQtKpK+ScQ10GivisSJseY2GOFJ/y2HRKIiU0G8=";
  };

  nativeBuildInputs = [ pkg-config ];
@@ -35,6 +35,19 @@ 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
  ];