rz-ghidra: switch from qt5 to qt6

This commit is contained in:
chayleaf
2023-11-29 07:21:45 +07:00
parent e0a6355d72
commit fd2031b77c
2 changed files with 6 additions and 1 deletions
@@ -109,7 +109,7 @@ let rizin = stdenv.mkDerivation rec {
jsdec = pkgs.callPackage ./jsdec.nix {
inherit rizin openssl;
};
rz-ghidra = pkgs.libsForQt5.callPackage ./rz-ghidra.nix {
rz-ghidra = pkgs.qt6.callPackage ./rz-ghidra.nix {
inherit rizin openssl;
enableCutterPlugin = false;
};
@@ -10,6 +10,7 @@
# optional buildInputs
, enableCutterPlugin ? true
, cutter
, qt5compat
, qtbase
, qtsvg
}:
@@ -40,6 +41,7 @@ stdenv.mkDerivation rec {
rizin
] ++ lib.optionals enableCutterPlugin [
cutter
qt5compat
qtbase
qtsvg
];
@@ -54,9 +56,12 @@ stdenv.mkDerivation rec {
];
meta = with lib; {
# errors out with undefined symbols from Cutter
broken = enableCutterPlugin && stdenv.isDarwin;
description = "Deep ghidra decompiler and sleigh disassembler integration for rizin";
homepage = src.meta.homepage;
license = licenses.lgpl3;
maintainers = with maintainers; [ chayleaf ];
inherit (rizin.meta) platforms;
};
}