2023-11-20 04:00:33 +00:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
{
|
2023-12-23 21:53:08 +00:00
|
|
|
pluginGit = rev: repo: pkgs.vimUtils.buildVimPlugin {
|
2023-11-20 04:00:33 +00:00
|
|
|
pname = "${lib.strings.sanitizeDerivationName repo}";
|
|
|
|
version = builtins.substring 0 7 rev;
|
|
|
|
src = builtins.fetchGit {
|
|
|
|
url = "https://github.com/${repo}.git";
|
|
|
|
rev = rev;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|