diff options
Diffstat (limited to 'pkgs/vim-plugins')
-rw-r--r-- | pkgs/vim-plugins/vim-zettel.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/vim-plugins/vim-zettel.nix b/pkgs/vim-plugins/vim-zettel.nix new file mode 100644 index 0000000..2130d18 --- /dev/null +++ b/pkgs/vim-plugins/vim-zettel.nix @@ -0,0 +1,20 @@ +{ stdenv, bash, fetchgit }: + +stdenv.mkDerivation { + name = "vim-zettel"; + + src = fetchgit { + url = "https://github.com/michal-h21/vim-zettel"; + rev = "929d90eec62e6f693c2702d2b6f76a93f2f1689d"; + sha256 = "07ma6ylvvyncr24pinvlybygddjdi2r835x7q8c52mnz96dcmz6m"; + }; + + buildPhase = '' + ''; + + installPhase = '' + DEST=$out/share/vim-plugins/vim-zettel + mkdir -p $DEST + cp -r * $DEST + ''; +} |