anchor.diff:  { stdenv, fetchFromGitHub, buildPackages }:
   
   let
  -  buildArmTrustedFirmware = { targetPlatforms
  -            , filesToInstall
  +  buildArmTrustedFirmware = { filesToInstall
               , installDir ? "$out"
               , platform
               , extraMakeFlags ? []
  
positive.code:       sha256 = "0lbipkxb01w97r6ah8wdbwxir3013rp249fcqhlzh2gjwhp5l1ys";
      };
      platform = "sun50iw1p1";
      targetPlatforms = ["aarch64-linux"];
      filesToInstall = ["build/${platform}/release/bl31.bin"];
    };
  
    armTrustedFirmwareQemu = buildArmTrustedFirmware rec {
      platform = "qemu";
      targetPlatforms = ["aarch64-linux"];
      filesToInstall = [
        "build/${platform}/release/bl1.bin"
        "build/${platform}/release/bl2.bin"
  
negative.code:       description = "A reference implementation of secure world software for ARMv8-A";
        license = licenses.bsd3;
        maintainers = [ maintainers.lopsided98 ];
      } // extraMeta;
    } // builtins.removeAttrs args [ "extraMeta" ]);
  
  