This is my flakeless configuration for macOS using nix
{ pkgs, ... }:

pkgs.vimUtils.buildVimPlugin {
  name = "edge";
  src = pkgs.fetchFromGitHub {
    owner = "sainnhe";
    repo = "edge";
    rev = "7506891a93dd0954d59b556ae5bb4c85403150ed";
    hash = "sha256-46p8Xnc6rLL5JIFPw6meiLOLZHNGVSccrPBt0Pn/SIg=";
  };
}