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
, openjdk11, pam, makeDesktopItem, icoutils
}: let
{ stdenv
, fetchzip
, lib
, makeWrapper
, autoPatchelfHook
, openjdk11
, pam
, makeDesktopItem
, icoutils
}:
let
pkg_path = "$out/lib/ghidra";
@ -13,23 +22,22 @@
categories = "Development;";
};
in stdenv.mkDerivation rec {
pname = "ghidra";
version = "9.2";
versiondate = "20201113";
version = "9.2.1";
versiondate = "20201215";
src = fetchzip {
url = "https://www.ghidra-sre.org/ghidra_${version}_PUBLIC_${versiondate}.zip";
sha256 = "0lcvmbq04qkdsf0bz509frgw79bhyxyixkqg1k712p3576ng3nby";
sha256 = "0rjzmx0nbv9flb666mk3w2dqliyfzjyc4ldjfmb5d29wpgnf9bnz";
};
nativeBuildInputs = [
makeWrapper
autoPatchelfHook
icoutils
];
]
++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];
buildInputs = [
stdenv.cc.cc.lib
@ -62,7 +70,7 @@ in stdenv.mkDerivation rec {
meta = with lib; {
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/";
platforms = [ "x86_64-linux" ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];
license = licenses.asl20;
maintainers = with maintainers; [ ck3d govanify ];
};