with import <nixpkgs> {};

let
  fetchurl' = args: fetchurl (args // {
    downloadToTemp = true;
    postFetch = ''
      base64 -d < "$downloadedFile" > "$out"
    '';
  });

  fetchpatch' = fetchpatch.override { fetchurl = fetchurl'; };
in fetchpatch' {
  url = "https://chromium.googlesource.com/chromiumos/platform2/+/6325f8ce704a4aa3d61d12fb35a8fefde2af0c29%5E%21/?format=TEXT";
  sha256 = "15pqrpk5kx38rac3v4qyb6pvryxaa2r7k0k9rddmq3hvyk2il5dh";
}