Merge pull request #4 from dmfrpro/ida9.2

ida-pro: 9.1.0.250226 -> 9.2.0.250908
This commit is contained in:
Moritz Sanft 2025-09-17 18:19:25 +02:00 committed by GitHub
commit b69522edab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@ let
in in
pkgs.stdenv.mkDerivation rec { pkgs.stdenv.mkDerivation rec {
pname = "ida-pro"; pname = "ida-pro";
version = "9.1.0.250226"; version = "9.2.0.250908";
src = runfile; src = runfile;
@ -29,7 +29,7 @@ pkgs.stdenv.mkDerivation rec {
makeWrapper makeWrapper
copyDesktopItems copyDesktopItems
autoPatchelfHook autoPatchelfHook
libsForQt5.wrapQtAppsHook qt6.wrapQtAppsHook
]; ];
# We just get a runfile in $src, so no need to unpack it. # We just get a runfile in $src, so no need to unpack it.
@ -47,7 +47,8 @@ pkgs.stdenv.mkDerivation rec {
libGL libGL
libkrb5 libkrb5
libsecret libsecret
libsForQt5.qtbase qt6.qtbase
qt6.qtwayland
libunwind libunwind
libxkbcommon libxkbcommon
libsecret libsecret
@ -100,7 +101,7 @@ pkgs.stdenv.mkDerivation rec {
--mode unattended --debuglevel 4 --prefix $IDADIR --mode unattended --debuglevel 4 --prefix $IDADIR
# Link the exported libraries to the output. # Link the exported libraries to the output.
for lib in $IDADIR/libida*; do for lib in $IDADIR/*.so $IDADIR/*.so.6; do
ln -s $lib $out/lib/$(basename $lib) ln -s $lib $out/lib/$(basename $lib)
done done
@ -113,11 +114,13 @@ pkgs.stdenv.mkDerivation rec {
# Link the binaries to the output. # Link the binaries to the output.
# Also, hack the PATH so that pythonForIDA is used over the system python. # Also, hack the PATH so that pythonForIDA is used over the system python.
for bb in ida assistant; do for bb in ida; do
wrapProgram $IDADIR/$bb \ wrapProgram $IDADIR/$bb \
--prefix IDADIR : $IDADIR \
--prefix QT_PLUGIN_PATH : $IDADIR/plugins/platforms \ --prefix QT_PLUGIN_PATH : $IDADIR/plugins/platforms \
--prefix PYTHONPATH : $out/opt/idalib/python \ --prefix PYTHONPATH : $out/bin/idalib/python \
--prefix PATH : ${pythonForIDA}/bin --prefix PATH : ${pythonForIDA}/bin:$IDADIR \
--prefix LD_LIBRARY_PATH : $out/lib
ln -s $IDADIR/$bb $out/bin/$bb ln -s $IDADIR/$bb $out/bin/$bb
done done