|
{ pkgs, lib, ... }:
|
|
{
|
|
pluginGit = rev: repo: pkgs.vimUtils.buildVimPlugin {
|
|
pname = "${lib.strings.sanitizeDerivationName repo}";
|
|
version = builtins.substring 0 7 rev;
|
|
src = builtins.fetchGit {
|
|
url = "https://github.com/${repo}.git";
|
|
rev = rev;
|
|
};
|
|
};
|
|
}
|