anchor.diff:      zlib
       openssl
       libuv
  +    python3
  +    lz4
     ] ++ lib.optionals useX11 [ gtkdialog vte gtk2 ]
       ++ lib.optionals rubyBindings [ ruby ]
  -    ++ lib.optionals pythonBindings [ python3 ]
       ++ lib.optionals luaBindings [ lua ];
   
     propagatedBuildInputs = [
  
positive.code:   };
  
    preBuild = ''
      cp -r ${arm64} libr/asm/arch/arm/v35arm64/arch-arm64
      chmod -R +w libr/asm/arch/arm/v35arm64/arch-arm64
  
      cp -r ${armv7} libr/asm/arch/arm/v35arm64/arch-armv7
      chmod -R +w libr/asm/arch/arm/v35arm64/arch-armv7
    '';
  
    postFixup = lib.optionalString stdenv.isDarwin ''
      for file in $out/bin/rasm2 $out/bin/ragg2 $out/bin/rabin2 $out/lib/libr_asm.${version}.dylib $out/lib/libr_anal.${version}.dylib; do
        install_name_tool -change libcapstone.4.dylib ${capstone}/lib/libcapstone.4.dylib $file
      done
    '';
  
    makeFlags = [
      "WITHOUT_PULL=1"
      "R2_GITTAP=${version}"
      "RANLIB=${stdenv.cc.bintools.bintools}/bin/${stdenv.cc.bintools.targetPrefix}ranlib"
      "CC=${stdenv.cc.targetPrefix}cc"
      "HOST_CC=${stdenv.cc.targetPrefix}cc"
    ];
  
    configureFlags = [
      "--with-sysmagic"
      "--with-syszip"
      "--with-sysxxhash"
      "--with-syscapstone"
      "--with-openssl"
    ];
  
    enableParallelBuilding = true;
    depsBuildBuild = [ buildPackages.stdenv.cc ];
  
    nativeBuildInputs = [ pkg-config ];
    buildInputs = [
      capstone
      file
  
negative.code: , fetchFromGitHub
  , buildPackages
  , pkg-config
  , meson
  , ninja
  , libusb-compat-0_1
  , readline
  , libewf
  