From 03f32348f47025b2acc7878533b6613d98e4a0aa Mon Sep 17 00:00:00 2001 From: dev-null-undefined Date: Sat, 14 Jan 2023 00:48:08 +0100 Subject: [PATCH] imhex: 1.19.3 -> 1.26.2 Co-authored-by: x10an14 --- pkgs/applications/editors/imhex/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/editors/imhex/default.nix b/pkgs/applications/editors/imhex/default.nix index b35f9aa06ca4..50693018f081 100644 --- a/pkgs/applications/editors/imhex/default.nix +++ b/pkgs/applications/editors/imhex/default.nix @@ -22,13 +22,13 @@ let # when bumping the version, check if imhex has gotten support for the capstone version in nixpkgs - version = "1.19.3"; + version = "1.26.2"; patterns_src = fetchFromGitHub { owner = "WerWolv"; repo = "ImHex-Patterns"; rev = "ImHex-v${version}"; - hash = "sha256-mukGPN2TugJZLLuZ5FTvZ4DxUsMGfVNhBFAPnBRC0qs="; + hash = "sha256-2+7bJzgwHfXcINM5oxwi3vEbUtq9gGJc/uxFOwT4RnM="; }; in @@ -41,7 +41,7 @@ gcc12Stdenv.mkDerivation rec { owner = "WerWolv"; repo = pname; rev = "v${version}"; - hash = "sha256-SFv5ulyjm5Yf+3Gpx+A74so2YClCJx1sx0LE5fh5eG4="; + hash = "sha256-H2bnRByCUAltngmVWgPW4vW8k5AWecOAzwtBKsjbpTw="; }; nativeBuildInputs = [ cmake llvm python3 perl pkg-config ]; @@ -72,10 +72,8 @@ gcc12Stdenv.mkDerivation rec { "-DUSE_SYSTEM_YARA=ON" ]; - # for reasons unknown, the built-in plugin isn't found unless made available under $out/bin postInstall = '' - ln -s $out/share/imhex/plugins $out/bin/ - + mkdir -p $out/share/imhex for d in ${patterns_src}/{constants,encodings,includes,magic,patterns}; do cp -r $d $out/share/imhex/ done