Commit bdc77d27 authored by goibhniu's avatar goibhniu
Browse files

Merge pull request #8652 from LnL7/xhyve

xhyve: init at version 0.1.0
parents 1a85f9f1 d366f5db
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
{ stdenv, lib, fetchurl }:

stdenv.mkDerivation rec {
  name = "xhyve-${version}";
  version = "0.1.0";

  src = fetchurl {
    url = "https://github.com/mist64/xhyve/archive/v${version}.tar.gz";
    sha256 = "0nbb9zy4iqmdz2dpyvcl1ynimrrpyd6f6cq8y2p78n1lmgqhrgkm";
  };

  buildFlags = "CFLAGS=-Wno-pedantic -Wno-shift-sign-overflow";

  installPhase = ''
    mkdir -p $out/bin
    cp build/xhyve $out/bin
  '';

  meta = {
    description = "Lightweight Virtualization on OS X Based on bhyve";
    homepage = "https://github.com/mist64/xhyve";
    maintainers = lib.maintainers.lnl7;
    platforms = lib.platforms.darwin;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -14946,6 +14946,8 @@ let

  xboxdrv = callPackage ../misc/drivers/xboxdrv { };

  xhyve = callPackage ../applications/virtualization/xhyve { };

  xinput_calibrator = callPackage ../tools/X11/xinput_calibrator {
    inherit (xlibs) libXi inputproto;
  };