mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 22:27:30 +03:00
wibo: 0.2.4 -> 0.3.0
Also fix MWCIncludes for unfree checkPhase
This commit is contained in:
parent
4527d89f4e
commit
c2c3bc9085
@ -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"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user