3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #9900 from LnL7/xhyve-0.2.0

xhyve: xhyve-0.1.0 -> xhyve-0.2.0
This commit is contained in:
Pascal Wittmann 2015-09-17 15:14:01 +02:00
commit 11aa159977

View file

@ -2,14 +2,17 @@
stdenv.mkDerivation rec {
name = "xhyve-${version}";
version = "0.1.0";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/mist64/xhyve/archive/v${version}.tar.gz";
sha256 = "0nbb9zy4iqmdz2dpyvcl1ynimrrpyd6f6cq8y2p78n1lmgqhrgkm";
sha256 = "0g1vknnh88kxc8aaqv3j9wqhq45mm9xxxbn1vcrypj3kk9991hrj";
};
buildFlags = "CFLAGS=-Wno-pedantic -Wno-shift-sign-overflow";
# Don't use git to determine version
buildFlags = ''
CFLAGS=-DVERSION=\"${version}\"
'';
installPhase = ''
mkdir -p $out/bin