ghidra-bin: 10.1.5 -> 10.2.1

This commit is contained in:
Hubert Jasudowicz 2022-11-04 10:49:11 +01:00
parent 890b241276
commit fb56af45a0

View file

@ -3,7 +3,7 @@
, lib
, makeWrapper
, autoPatchelfHook
, openjdk11
, openjdk17
, pam
, makeDesktopItem
, icoutils
@ -24,12 +24,12 @@ let
in stdenv.mkDerivation rec {
pname = "ghidra";
version = "10.1.5";
versiondate = "20220726";
version = "10.2.1";
versiondate = "20221110";
src = fetchzip {
url = "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_${version}_build/ghidra_${version}_PUBLIC_${versiondate}.zip";
sha256 = "sha256-HjsbOTI+mHSmgFREGuUXKT7gbSSk2Gw/sLzP6eAkUX8=";
sha256 = "sha256-04EZQnSuYtcseamlNBjpm8+9wD5r1WsBseix6yr057k=";
};
nativeBuildInputs = [
@ -65,7 +65,7 @@ in stdenv.mkDerivation rec {
ln -s "${pkg_path}/ghidraRun" "$out/bin/ghidra"
wrapProgram "${pkg_path}/support/launch.sh" \
--prefix PATH : ${lib.makeBinPath [ openjdk11 ]}
--prefix PATH : ${lib.makeBinPath [ openjdk17 ]}
'';
meta = with lib; {