diff options
author | Stanisław Pitucha <git@viraptor.info> | 2022-10-11 22:56:26 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 22:56:26 +1100 |
commit | d1dcdeebfa2713d66b6c0841aff13de730c9e0a1 (patch) | |
tree | d3d245ca21c32528da6b439d54b4865aaf728889 | |
parent | 2c874bf57973973b052c8add298dd06065ebdffa (diff) | |
parent | 1fbfdb6bdfe8e0639e8874ee8d1144d08c1c9712 (diff) |
Merge pull request #195274 from rrbutani/feature/utm
utm: init at 3.2.4
-rw-r--r-- | maintainers/maintainer-list.nix | 9 | ||||
-rw-r--r-- | pkgs/os-specific/darwin/utm/default.nix | 53 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 64 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e16d83b26cd88..3d5c0f2067c94 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11694,6 +11694,15 @@ githubId = 373566; name = "Ronuk Raval"; }; + rrbutani = { + email = "rrbutani+nix@gmail.com"; + github = "rrbutani"; + githubId = 7833358; + keys = [{ + fingerprint = "7DCA 5615 8AB2 621F 2F32 9FF4 1C7C E491 479F A273"; + }]; + name = "Rahul Butani"; + }; rski = { name = "rski"; email = "rom.skiad+nix@gmail.com"; diff --git a/pkgs/os-specific/darwin/utm/default.nix b/pkgs/os-specific/darwin/utm/default.nix new file mode 100644 index 0000000000000..7eae819a9736f --- /dev/null +++ b/pkgs/os-specific/darwin/utm/default.nix @@ -0,0 +1,53 @@ +{ lib +, undmg +, fetchurl +, stdenvNoCC +}: + +stdenvNoCC.mkDerivation rec { + pname = "utm"; + version = "3.2.4"; + + src = fetchurl { + url = "https://github.com/utmapp/UTM/releases/download/v${version}/UTM.dmg"; + sha256 = "sha256-ejUfL6UHqMusVfaglGlODKtFfKbNwzZ1LmRkcSzieso="; + }; + + nativeBuildInputs = [ undmg ]; + + sourceRoot = "."; + installPhase = '' + mkdir -p $out/Applications + cp -r *.app $out/Applications + ''; + + meta = with lib; { + description = "Full featured system emulator and virtual machine host for iOS and macOS"; + longDescription = '' + UTM is a full featured system emulator and virtual machine host for iOS + and macOS. It is based off of QEMU. In short, it allows you to run + Windows, Linux, and more on your Mac, iPhone, and iPad. + + Features: + - Full system emulation (MMU, devices, etc) using QEMU + - 30+ processors supported including x86_64, ARM64, and RISC-V + - VGA graphics mode using SPICE and QXL + - Text terminal mode + - USB devices + - JIT based acceleration using QEMU TCG + - Frontend designed from scratch for macOS 11 and iOS 11+ using the + latest and greatest APIs + - Create, manage, run VMs directly from your device + - Hardware accelerated virtualization using Hypervisor.framework and + QEMU + - Boot macOS guests with Virtualization.framework on macOS 12+ + ''; + homepage = "https://mac.getutm.app/"; + changelog = "https://github.com/utmapp/${pname}/releases/tag/v${version}"; + mainProgram = "UTM"; + license = licenses.apsl20; + platforms = platforms.darwin; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; + maintainers = with maintainers; [ rrbutani ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a63f783a98e02..2fa7db54f2101 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32130,6 +32130,8 @@ with pkgs; uwimap = callPackage ../tools/networking/uwimap { }; + utm = callPackage ../os-specific/darwin/utm { }; + utox = callPackage ../applications/networking/instant-messengers/utox { }; valentina = libsForQt5.callPackage ../applications/misc/valentina { }; |