Unverified Commit d0607f50 authored by Antoine du Hamel's avatar Antoine du Hamel
Browse files

tart: 2.28.1 -> 2.28.6

parent 6d7ec06d
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
@@ -9,14 +9,16 @@
  # See https://github.com/cirruslabs/softnet#installing
  enableSoftnet ? false,
  softnet,
  nix-update-script,
  versionCheckHook,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "tart";
  version = "2.28.1";
  version = "2.28.6";

  src = fetchurl {
    url = "https://github.com/cirruslabs/tart/releases/download/${finalAttrs.version}/tart.tar.gz";
    hash = "sha256-rV5hAJk46e9PAdEo8Qc6/17WqZ9aihj5+A1nLp3fJro=";
    hash = "sha256-F6bYWVHtzXo6TH4CAvdF6qx7OCVvKACsh2KdRYFsxOw=";
  };
  sourceRoot = ".";

@@ -37,8 +39,14 @@ stdenvNoCC.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  doInstallCheck = true;
  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "macOS VMs on Apple Silicon to use in CI and other automations";
    description = "macOS and Linux VMs on Apple Silicon to use in CI and other automations";
    homepage = "https://tart.run";
    license = licenses.fairsource09;
    maintainers = with maintainers; [
@@ -46,10 +54,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
      aduh95
    ];
    mainProgram = "tart";
    platforms = [
      "aarch64-darwin"
      "x86_64-darwin"
    ];
    platforms = platforms.darwin;
    sourceProvenance = with sourceTypes; [ binaryNativeCode ];
  };
})