about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-11-09 13:20:02 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-11-09 13:20:02 +0100
commitc74d04c029ba3459d648fa7e9d3cc05e78ca216f (patch)
tree8861895957dfeafbd4c7d398165cb0ce5dd2cee2 /pkgs
parent2e0e9de80c9dd47780ec34db4074f942da1befb6 (diff)
downloadpnpkgs-c74d04c029ba3459d648fa7e9d3cc05e78ca216f.tar.gz
pnpkgs-c74d04c029ba3459d648fa7e9d3cc05e78ca216f.zip
Add gemini-vim-syntax
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/vim-plugins/gemini-syntax.nix22
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
+  '';
+}