zydis: 4.0.0 -> 4.1.0 (#286371)
This commit is contained in:
parent
bc86c058a5
commit
c02e683435
@ -13,33 +13,24 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zydis";
|
||||
version = "4.0.0";
|
||||
version = "4.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zyantific";
|
||||
repo = "zydis";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-/no/8FNa5LlwhZMSMao4/cwZk6GlamLjqr+isbh6tEI=";
|
||||
hash = "sha256-akusu0T7q5RX4KGtjRqqOFpW5i9Bd1L4RVZt8Rg3PJY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ zycore ];
|
||||
cmakeFlags = [
|
||||
"-DZYAN_SYSTEM_ZYCORE=ON"
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ python3 ];
|
||||
checkPhase = ''
|
||||
pushd ../tests
|
||||
python3 ./regression.py test ../build/ZydisInfo
|
||||
python3 ./regression_encoder.py \
|
||||
../build/Zydis{Fuzz{ReEncoding,Encoder},TestEncoderAbsolute}
|
||||
popd
|
||||
'';
|
||||
|
||||
passthru = { inherit zycore; };
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zycore";
|
||||
version = "1.4.1";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zyantific";
|
||||
repo = "zycore-c";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-kplUgrYecymGxz92tEU6H+NNtcN/Ao/tmmqdVo2c7HA=";
|
||||
hash = "sha256-Kz51EIaw4RwrOKXhuDXAFieGF1mS+HL06gEuj+cVJmk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
Loading…
Reference in New Issue
Block a user