Unverified Commit c02e6834 authored by Joel Höner's avatar Joel Höner Committed by GitHub
Browse files

zydis: 4.0.0 -> 4.1.0 (#286371)

parent bc86c058
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -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; {
+2 −2
Original line number Diff line number Diff line
@@ -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 ];