parent
5227e82c15
commit
d18476da73
16 changed files with 1 additions and 1 deletions
23
packages/vim-plugins/default.nix
Normal file
23
packages/vim-plugins/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, lib }:
|
||||
|
||||
let
|
||||
pluginsData = builtins.fromJSON (builtins.readFile ./vim-plugins.json);
|
||||
|
||||
mkPlugin =
|
||||
name: attrs:
|
||||
with attrs;
|
||||
with pkgs;
|
||||
vimUtils.buildVimPlugin {
|
||||
inherit name version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit
|
||||
hash
|
||||
owner
|
||||
repo
|
||||
rev
|
||||
;
|
||||
};
|
||||
};
|
||||
in
|
||||
lib.mapAttrs mkPlugin pluginsData
|
18
packages/vim-plugins/vim-plugins.json
Normal file
18
packages/vim-plugins/vim-plugins.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"vim-textobj-indent": {
|
||||
"owner": "kana",
|
||||
"repo": "vim-textobj-indent",
|
||||
"rev": "deb76867c302f933c8f21753806cbf2d8461b548",
|
||||
"version": "0.0.6",
|
||||
"hash": "sha256-oFzUPG+IOkbKZ2gU/kduQ3G/LsLDlEjFhRP0BHBE+1Q="
|
||||
},
|
||||
|
||||
"vim-textobj-xmlattr": {
|
||||
"owner": "whatyouhide",
|
||||
"repo": "vim-textobj-xmlattr",
|
||||
"rev": "694a297f1d75fd527e87da9769f3c6519a87ebb1",
|
||||
"version": "unstable-2016-06-03",
|
||||
"hash": "sha256-+91FVP95oh00flINdltqx6qJuijYo56tHIh3J098G2Q="
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue