ghidra: 9.2 -> 9.2.1

+ enable on x86_64-darwin
This commit is contained in:
Pavol Rusnak 2020-12-31 16:06:54 +01:00
parent 675d754dc2
commit 688bf1f56c

View file

@ -1,6 +1,15 @@
{ stdenv, fetchzip, lib, makeWrapper, autoPatchelfHook { stdenv
, openjdk11, pam, makeDesktopItem, icoutils , fetchzip
}: let , lib
, makeWrapper
, autoPatchelfHook
, openjdk11
, pam
, makeDesktopItem
, icoutils
}:
let
pkg_path = "$out/lib/ghidra"; pkg_path = "$out/lib/ghidra";
@ -13,23 +22,22 @@
categories = "Development;"; categories = "Development;";
}; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "ghidra"; pname = "ghidra";
version = "9.2"; version = "9.2.1";
versiondate = "20201113"; versiondate = "20201215";
src = fetchzip { src = fetchzip {
url = "https://www.ghidra-sre.org/ghidra_${version}_PUBLIC_${versiondate}.zip"; url = "https://www.ghidra-sre.org/ghidra_${version}_PUBLIC_${versiondate}.zip";
sha256 = "0lcvmbq04qkdsf0bz509frgw79bhyxyixkqg1k712p3576ng3nby"; sha256 = "0rjzmx0nbv9flb666mk3w2dqliyfzjyc4ldjfmb5d29wpgnf9bnz";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
makeWrapper makeWrapper
autoPatchelfHook
icoutils icoutils
]; ]
++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];
buildInputs = [ buildInputs = [
stdenv.cc.cc.lib stdenv.cc.cc.lib
@ -62,7 +70,7 @@ in stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "A software reverse engineering (SRE) suite of tools developed by NSA's Research Directorate in support of the Cybersecurity mission"; description = "A software reverse engineering (SRE) suite of tools developed by NSA's Research Directorate in support of the Cybersecurity mission";
homepage = "https://ghidra-sre.org/"; homepage = "https://ghidra-sre.org/";
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" "x86_64-darwin" ];
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ ck3d govanify ]; maintainers = with maintainers; [ ck3d govanify ];
}; };