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