xhyve: init at version 0.1.0

Lightweight Virtualization on OS X Based on bhyve.
This commit is contained in:
Daiderd Jordan
2015-07-05 16:03:01 +02:00
parent af3d395cfe
commit d366f5db9a
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{ 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;
};
}