anchor.diff:    };
   
     ubootPine64 = buildUBoot rec {
  -    extraPatches = [sunxiPatch];
       defconfig = "pine64_plus_defconfig";
       extraMeta.platforms = ["aarch64-linux"];
       BL31 = "${armTrustedFirmwareAllwinner}/bl31.bin";
  
positive.code: { stdenv, fetchurl, fetchpatch, bc, dtc, openssl, python2, swig
  , armTrustedFirmwareAllwinner
  , hostPlatform, buildPackages
  }:
  
  let
    # Various changes for 64-bit sunxi boards, (hopefully) destined for 2018.05
    sunxiPatch = fetchpatch {
      name = "sunxi.patch";
      url = "https://github.com/u-boot/u-boot/compare/v2018.05...dezgeg:2018-05-sunxi.patch";
      sha256 = "1dfv4s1f71iv80vjxgyghv4pcwjv4mjphk75a8hfl3jdbpd66d36";
    };
  
    buildUBoot = { filesToInstall
              , installDir ? "$out"
              , defconfig
  
negative.code:            stdenv.mkDerivation (rec {
  
      name = "uboot-${defconfig}-${version}";
      version = "2018.07";
  
      src = fetchurl {
        url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";
        sha256 = "1m7nw64mxflpc6sqvnz2kb5fxfkb4mrpy8b1wi15dcwipj4dy44z";
      };
  
      patches = [
        (fetchpatch {
          url = https://github.com/dezgeg/u-boot/commit/pythonpath-2018-07.patch;
          sha256 = "096zqrlr8m9lxjma0iv7y6x78qswfs3q1w2irjkbmcvniz1azbs8";
        })
        (fetchpatch {
          url = https://github.com/dezgeg/u-boot/commit/extlinux-path-length-2018-03.patch;
  