diff options
-rw-r--r-- | default.nix | 1 | ||||
-rw-r--r-- | pkgs/vim-plugins/vim-zettel.nix | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 5dc806a..07dc34c 100644 --- a/default.nix +++ b/default.nix @@ -43,6 +43,7 @@ ## VIM PLUGINS gemini-vim-syntax = pkgs.callPackage ./pkgs/vim-plugins/gemini-syntax.nix { }; + vim-zettel = pkgs.callPackage ./pkgs/vim-plugins/vim-zettel.nix { }; #fx = (pkgs.callPackage ./pkgs/fx { }).package; # xcb-util = pkgs.callPackage ./pkgs/xcb-util { }; #unknown error 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 + ''; +} |