1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 18:12:46 +00:00
nixpkgs/pkgs/applications/virtualization/xhyve/default.nix
Daiderd Jordan d366f5db9a xhyve: init at version 0.1.0
Lightweight Virtualization on OS X Based on bhyve.
2015-07-05 18:54:55 +02:00

26 lines
630 B
Nix

{ 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;
};
}