mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
Merge pull request #84925 from NilsIrl/ghidra_9.1.2
ghidra: 9.1 -> 9.1.2
This commit is contained in:
commit
3d902a8263
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, unzip, lib, makeWrapper, autoPatchelfHook
|
||||
{ stdenv, fetchzip, lib, makeWrapper, autoPatchelfHook
|
||||
, openjdk11, pam, makeDesktopItem, icoutils
|
||||
}: let
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue