diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/vim-plugins/gemini-syntax.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/vim-plugins/gemini-syntax.nix b/pkgs/vim-plugins/gemini-syntax.nix new file mode 100644 index 0000000..cd8affd --- /dev/null +++ b/pkgs/vim-plugins/gemini-syntax.nix @@ -0,0 +1,22 @@ +{ stdenv, bash, fetchgit }: + +stdenv.mkDerivation { + name = "gemini-vim-syntax"; + + src = fetchgit { + url = "https://tildegit.org/sloum/gemini-vim-syntax"; + rev = "5c206be6d5635500dd2276681050a40ddb0ba5e3"; + sha256 = "0s0yqj85vadlyny0cw0n5gvhdiy537b0fnycpnahwmbwha2p3mc1"; + }; + + buildPhase = '' + rm Makefile + ''; + + installPhase = '' + DEST=$out/share/vim-plugins/gemini-vim-syntax + mkdir -p $DEST + cp -r ftdetect $DEST + cp -r syntax $DEST + ''; +} |