Merge pull request #195274 from rrbutani/feature/utm

utm: init at 3.2.4

authored by Stanisław Pitucha and committed by GitHub d1dcdeeb 2c874bf5

+64
+9
maintainers/maintainer-list.nix
··· 11694 githubId = 373566; 11695 name = "Ronuk Raval"; 11696 }; 11697 rski = { 11698 name = "rski"; 11699 email = "rom.skiad+nix@gmail.com";
··· 11694 githubId = 373566; 11695 name = "Ronuk Raval"; 11696 }; 11697 + rrbutani = { 11698 + email = "rrbutani+nix@gmail.com"; 11699 + github = "rrbutani"; 11700 + githubId = 7833358; 11701 + keys = [{ 11702 + fingerprint = "7DCA 5615 8AB2 621F 2F32 9FF4 1C7C E491 479F A273"; 11703 + }]; 11704 + name = "Rahul Butani"; 11705 + }; 11706 rski = { 11707 name = "rski"; 11708 email = "rom.skiad+nix@gmail.com";
+53
pkgs/os-specific/darwin/utm/default.nix
···
··· 1 + { lib 2 + , undmg 3 + , fetchurl 4 + , stdenvNoCC 5 + }: 6 + 7 + stdenvNoCC.mkDerivation rec { 8 + pname = "utm"; 9 + version = "3.2.4"; 10 + 11 + src = fetchurl { 12 + url = "https://github.com/utmapp/UTM/releases/download/v${version}/UTM.dmg"; 13 + sha256 = "sha256-ejUfL6UHqMusVfaglGlODKtFfKbNwzZ1LmRkcSzieso="; 14 + }; 15 + 16 + nativeBuildInputs = [ undmg ]; 17 + 18 + sourceRoot = "."; 19 + installPhase = '' 20 + mkdir -p $out/Applications 21 + cp -r *.app $out/Applications 22 + ''; 23 + 24 + meta = with lib; { 25 + description = "Full featured system emulator and virtual machine host for iOS and macOS"; 26 + longDescription = '' 27 + UTM is a full featured system emulator and virtual machine host for iOS 28 + and macOS. It is based off of QEMU. In short, it allows you to run 29 + Windows, Linux, and more on your Mac, iPhone, and iPad. 30 + 31 + Features: 32 + - Full system emulation (MMU, devices, etc) using QEMU 33 + - 30+ processors supported including x86_64, ARM64, and RISC-V 34 + - VGA graphics mode using SPICE and QXL 35 + - Text terminal mode 36 + - USB devices 37 + - JIT based acceleration using QEMU TCG 38 + - Frontend designed from scratch for macOS 11 and iOS 11+ using the 39 + latest and greatest APIs 40 + - Create, manage, run VMs directly from your device 41 + - Hardware accelerated virtualization using Hypervisor.framework and 42 + QEMU 43 + - Boot macOS guests with Virtualization.framework on macOS 12+ 44 + ''; 45 + homepage = "https://mac.getutm.app/"; 46 + changelog = "https://github.com/utmapp/${pname}/releases/tag/v${version}"; 47 + mainProgram = "UTM"; 48 + license = licenses.apsl20; 49 + platforms = platforms.darwin; 50 + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 51 + maintainers = with maintainers; [ rrbutani ]; 52 + }; 53 + }
+2
pkgs/top-level/all-packages.nix
··· 32130 32131 uwimap = callPackage ../tools/networking/uwimap { }; 32132 32133 utox = callPackage ../applications/networking/instant-messengers/utox { }; 32134 32135 valentina = libsForQt5.callPackage ../applications/misc/valentina { };
··· 32130 32131 uwimap = callPackage ../tools/networking/uwimap { }; 32132 32133 + utm = callPackage ../os-specific/darwin/utm { }; 32134 + 32135 utox = callPackage ../applications/networking/instant-messengers/utox { }; 32136 32137 valentina = libsForQt5.callPackage ../applications/misc/valentina { };