8 stdenvNoCC.mkDerivation rec {
13 url = "https://github.com/utmapp/UTM/releases/download/v${version}/UTM.dmg";
14 hash = "sha256-SyrqkNWRUKQS3D17XYsC/dcCKlPLGNNsG5obEiHE1Lk=";
17 nativeBuildInputs = [ undmg makeWrapper ];
23 mkdir -p $out/Applications
24 cp -r *.app $out/Applications
27 for bin in $out/Applications/UTM.app/Contents/MacOS/*; do
28 # Symlinking `UTM` doesn't work; seems to look for files in the wrong
30 makeWrapper $bin "$out/bin/$(basename $bin)"
37 description = "Full featured system emulator and virtual machine host for iOS and macOS";
39 UTM is a full featured system emulator and virtual machine host for iOS
40 and macOS. It is based off of QEMU. In short, it allows you to run
41 Windows, Linux, and more on your Mac, iPhone, and iPad.
44 - Full system emulation (MMU, devices, etc) using QEMU
45 - 30+ processors supported including x86_64, ARM64, and RISC-V
46 - VGA graphics mode using SPICE and QXL
49 - JIT based acceleration using QEMU TCG
50 - Frontend designed from scratch for macOS 11 and iOS 11+ using the
51 latest and greatest APIs
52 - Create, manage, run VMs directly from your device
53 - Hardware accelerated virtualization using Hypervisor.framework and
55 - Boot macOS guests with Virtualization.framework on macOS 12+
57 See https://docs.getutm.app/ for more information.
59 homepage = "https://mac.getutm.app/";
60 changelog = "https://github.com/utmapp/${pname}/releases/tag/v${version}";
62 license = licenses.asl20;
63 platforms = platforms.darwin; # 11.3 is the minimum supported version as of UTM 4.
64 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
65 maintainers = with maintainers; [ rrbutani wegank ];