anchor.diff:      meta = with lib; {
         homepage = "https://github.com/ARM-software/arm-trusted-firmware";
         description = "A reference implementation of secure world software for ARMv8-A";
  -      license = (if unfreeIncludeHDCPBlob then [ licenses.unfreeRedistributable ] else []) ++ [ licenses.bsd3 ];
  +      license = [ licenses.bsd3 ] ++ lib.optionals (!deleteHDCPBlobBeforeBuild) [ licenses.unfreeRedistributable ];
         maintainers = with maintainers; [ lopsided98 ];
       } // extraMeta;
     } // builtins.removeAttrs args [ "extraMeta" ]);
  
positive.code:   buildArmTrustedFirmware = { filesToInstall
              , installDir ? "$out"
              , platform ? null
              , extraMakeFlags ? []
              , extraMeta ? {}
              , version ? "2.6"
              , ... } @ args:
             stdenv.mkDerivation ({
  
      pname = "arm-trusted-firmware${lib.optionalString (platform != null) "-${platform}"}";
  
negative.code:     platform = "rk3399";
      extraMeta.platforms = ["aarch64-linux"];
      filesToInstall = [ "build/${platform}/release/bl31/bl31.elf"];
      platformCanUseHDCPBlob = true;
    };
  
    armTrustedFirmwareS905 = buildArmTrustedFirmware rec {
  