How to fetch LFS enabled repo with fetchFromGitHub?

I have been unsuccessful in getting git-lfs to work with fetchgit. The (lack of) progress can be followed here.

The helper I’ve written currently looks like this:

{ # ...
  fetchgitLFS = args:
    let
      args' = args // {
        fetchSubmodules = true;
        leaveDotGit = true;
        deepClone = true;
        postFetch = ''
          cd $out
          git remote add origin ${args.url}
          git lfs install --local
          git lfs fetch
          git lfs checkout ${args.rev}
        '';
      };

    in
      (pkgs.fetchgit args').overrideAttrs (oldAttrs: {
        nativeBuildInputs = oldAttrs.nativeBuildInputs or [] ++ [ pkgs.git-lfs ];
      });
}

but while the commands appear to do their thing, the assets are not actually present in the end.

Any advice on this would be helpful.