From ac9c12cc522149e1e86a0b1496aa0492678e916b Mon Sep 17 00:00:00 2001 From: chayleaf Date: Sat, 5 Aug 2023 21:11:24 +0700 Subject: [PATCH 1/2] rizin: 0.5.2 -> 0.6.0 --- pkgs/development/tools/analysis/rizin/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/analysis/rizin/default.nix b/pkgs/development/tools/analysis/rizin/default.nix index 276057583f4e..df44b8fbbaab 100644 --- a/pkgs/development/tools/analysis/rizin/default.nix +++ b/pkgs/development/tools/analysis/rizin/default.nix @@ -8,11 +8,12 @@ , perl , zlib , openssl -, libuv , file +, libmspack , libzip , lz4 , xxHash +, xz , meson , python3 , cmake @@ -23,11 +24,11 @@ stdenv.mkDerivation rec { pname = "rizin"; - version = "0.5.2"; + version = "0.6.0"; src = fetchurl { url = "https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz"; - hash = "sha256-cauA/DyKycgKEAANg4EoryigXTGg7hg5AMLFxuNQ7KM="; + hash = "sha256-apJJBu/fVHrFBGJ2f1rdU5AkNuekhi0sDiTKkbd2FQg="; }; mesonFlags = [ @@ -35,9 +36,11 @@ stdenv.mkDerivation rec { "-Duse_sys_magic=enabled" "-Duse_sys_libzip=enabled" "-Duse_sys_zlib=enabled" - "-Duse_sys_xxhash=enabled" "-Duse_sys_lz4=enabled" + "-Duse_sys_lzma=enabled" + "-Duse_sys_xxhash=enabled" "-Duse_sys_openssl=enabled" + "-Duse_sys_libmspack=enabled" "-Duse_sys_tree_sitter=enabled" ]; @@ -77,9 +80,10 @@ stdenv.mkDerivation rec { zlib lz4 openssl - libuv + libmspack tree-sitter xxHash + xz ]; postPatch = '' From 1910e13d6c5c80ba2d53a30ce9994e13c405e99b Mon Sep 17 00:00:00 2001 From: chayleaf Date: Sat, 5 Aug 2023 21:18:43 +0700 Subject: [PATCH 2/2] cutter: 2.2.1 -> 2.3.0 --- pkgs/development/tools/analysis/rizin/cutter.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/analysis/rizin/cutter.nix b/pkgs/development/tools/analysis/rizin/cutter.nix index dd5f43b9d7a4..18ca4e13d843 100644 --- a/pkgs/development/tools/analysis/rizin/cutter.nix +++ b/pkgs/development/tools/analysis/rizin/cutter.nix @@ -4,6 +4,7 @@ # Qt , qtbase, qtsvg, qtwebengine, qttools # buildInputs +, graphviz , rizin , python3 , wrapQtAppsHook @@ -11,24 +12,25 @@ mkDerivation rec { pname = "cutter"; - version = "2.2.1"; + version = "2.3.0"; src = fetchFromGitHub { owner = "rizinorg"; repo = "cutter"; rev = "v${version}"; - hash = "sha256-rzMLPkL382webds7cnfanHy9BsV+8ARkl6aES5ckmO4="; + hash = "sha256-oQ3sLIGKMEw3k27aSFcrJqo0TgGkkBNdzl6GSoOIYak="; fetchSubmodules = true; }; nativeBuildInputs = [ cmake qmake pkg-config python3 wrapQtAppsHook ]; propagatedBuildInputs = [ python3.pkgs.pyside2 ]; - buildInputs = [ qtbase qttools qtsvg qtwebengine rizin python3 ]; + buildInputs = [ graphviz qtbase qttools qtsvg qtwebengine rizin python3 ]; cmakeFlags = [ "-DCUTTER_USE_BUNDLED_RIZIN=OFF" "-DCUTTER_ENABLE_PYTHON=ON" "-DCUTTER_ENABLE_PYTHON_BINDINGS=ON" + "-DCUTTER_ENABLE_GRAPHVIZ=ON" ]; preBuild = ''