anchor.diff:  
     postInstall = ''
       install -Dm755 ../vendor/avb/avbtool.py -t $out/bin
  -    install -Dm755 ../vendor/mkbootimg/mkbootimg.py $out/bin/mkbootimg
     '';
   
     meta = with lib; {
  
positive.code:       - fastboot
        - mke2fs.android (required by fastboot)
        - simg2img, img2simg, append2simg
      '';
      # https://developer.android.com/studio/command-line#tools-platform
      # https://developer.android.com/studio/releases/platform-tools
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "android-tools";
    version = "31.0.3p1";
  
    src = fetchurl {
      url = "https://github.com/nmeum/android-tools/releases/download/${version}/android-tools-${version}.tar.xz";
      sha256 = "1f2svy381r798hjinrc2xiwz13gkkqxfill343zvv8jqkn8rzxhf";
    };
  
    patches = [
  