···11{ lib
22, pkgs # for passthru.plugins
33, stdenv
44+, fetchpatch
45, fetchurl
56, pkg-config
67, libusb-compat-0_1
···4748 "-Dportable=true"
4849 ];
49505050- # Normally, Rizin only looks for files in the install prefix. With
5151- # portable=true, it instead looks for files in relation to the parent
5252- # of the directory of the binary file specified in /proc/self/exe,
5353- # caching it. This patch replaces the entire logic to only look at
5454- # the env var NIX_RZ_PREFIX
5555- patches = [ ./librz-wrapper-support.patch ];
5151+ patches = [
5252+ # Normally, Rizin only looks for files in the install prefix. With
5353+ # portable=true, it instead looks for files in relation to the parent
5454+ # of the directory of the binary file specified in /proc/self/exe,
5555+ # caching it. This patch replaces the entire logic to only look at
5656+ # the env var NIX_RZ_PREFIX
5757+ ./librz-wrapper-support.patch
5858+ # Fix tree-sitter 0.20.9 build failure: https://github.com/rizinorg/rizin/pull/4165
5959+ (fetchpatch {
6060+ name = "tree-sitter-0.20.9.patch";
6161+ url = "https://github.com/rizinorg/rizin/commit/1bb08712dbc9e062bb439a65dcebeb4221ded699.patch";
6262+ hash = "sha256-mE0eQAFhyxX5bwrz+S1IVl6HNV9ITQ+tRRvGLLif5VI=";
6363+ })
6464+ ];
6565+56665767 nativeBuildInputs = [
5868 pkg-config
···58585959 AusweisApp2 = ausweisapp; # Added 2023-11-08
6060 a4term = a4; # Added 2023-10-06
6161+ adtool = throw "'adtool' has been removed, as it was broken and unmaintained";
6162 aether = throw "aether has been removed from nixpkgs; upstream unmaintained, security issues"; # Added 2023-10-03
6263 airfield = throw "airfield has been removed due to being unmaintained"; # Added 2023-05-19
6364 alertmanager-bot = throw "alertmanager-bot is broken and has been archived by upstream"; # Added 2023-07-28