wibo: 0.2.4 -> 0.3.0

Also fix MWCIncludes for unfree checkPhase
This commit is contained in:
Ryan Burns 2022-12-30 14:54:41 -08:00
parent 4527d89f4e
commit c2c3bc9085

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wibo"; pname = "wibo";
version = "0.2.4"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "decompals"; owner = "decompals";
repo = "wibo"; repo = "wibo";
rev = version; rev = version;
hash = "sha256-dpfKSiIWE9L5BLPH2t8RsUz7Ufkdo/5zn1dewaEgJl0="; hash = "sha256-J5h/RpF+twb5fBjSDQMVB5SoTWWs8VD/EUuikuj73YA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
meta.license = lib.licenses.unfree; meta.license = lib.licenses.unfree;
}; };
in lib.optionalString doCheck '' in lib.optionalString doCheck ''
MWCIncludes=. ./wibo ${gc}/GC/2.7/mwcceppc.exe -c ../test/test.c MWCIncludes=../test ./wibo ${gc}/GC/2.7/mwcceppc.exe -c ../test/test.c
file test.o | grep "ELF 32-bit" file test.o | grep "ELF 32-bit"
''; '';