Skip to content

Commit

Permalink
Merge pull request #84925 from NilsIrl/ghidra_9.1.2
Browse files Browse the repository at this point in the history
ghidra: 9.1 -> 9.1.2
  • Loading branch information
bhipple committed Apr 18, 2020
2 parents 6b9c0ad + ec88246 commit 3d902a8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions pkgs/tools/security/ghidra/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, lib, makeWrapper, autoPatchelfHook
{ stdenv, fetchzip, lib, makeWrapper, autoPatchelfHook
, openjdk11, pam, makeDesktopItem, icoutils
}: let

Expand All @@ -16,23 +16,22 @@

in stdenv.mkDerivation {

name = "ghidra-9.1";
name = "ghidra-9.1.2";

src = fetchurl {
url = "https://ghidra-sre.org/ghidra_9.1_PUBLIC_20191023.zip";
sha256 = "0pl7s59008gvgwz4mxp7rz3xr3vaa12a6s5zvx2yr9jxx3gk1l99";
src = fetchzip {
url = "https://ghidra-sre.org/ghidra_9.1.2_PUBLIC_20200212.zip";
sha256 = "0j48pijypg44bw06azbrgfqjkigb13ljfdxib70sxwyqia3vkbbm";
};

nativeBuildInputs = [
makeWrapper
autoPatchelfHook
unzip
icoutils
];

buildInputs = [
stdenv.cc.cc.lib
pam
icoutils
];

dontStrip = true;
Expand All @@ -42,7 +41,7 @@ in stdenv.mkDerivation {
mkdir -p "${pkg_path}" "$out/share/applications"
cp -a * "${pkg_path}"
ln -s ${desktopItem}/share/applications/* $out/share/applications
icotool -x "${pkg_path}/support/ghidra.ico"
rm ghidra_4_40x40x32.png
for f in ghidra_*.png; do
Expand Down

0 comments on commit 3d902a8

Please sign in to comment.