Subject: [bug#57389] [PATCH 10/29] gnu: Add vim-hare.

From: "(" <[email-masked]>
Date: Wed, 24 Aug 2022 18:08:37 +0100

* gnu/packages/vim.scm (vim-hare): New variable.
---
 gnu/packages/vim.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index a17fc6b56c..935ec46dc7 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1527,3 +1527,32 @@ (define-public neovim-bats
      (list #:install-plan
            #~'(("after" "share/nvim/site/pack/guix/start/bats/")
                ("ftdetect" "share/nvim/site/pack/guix/start/bats/"))))))
+
+(define-public vim-hare
+  (let ((commit "3be6efa5ef6e43683d6b72a209a90cd090b3ab64")
+        (revision "0"))
+    (package
+      (name "vim-hare")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://git.sr.ht/~sircmpwn/hare.vim")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "181207ccgbj7layf860yfzbx23q65r7azqxhshwb7yi2k4ma7zy8"))))
+      (build-system copy-build-system)
+      (arguments
+       (list #:install-plan
+             #~'(("compiler" "share/vim/vimfiles/")
+                 ("ftdetect" "share/vim/vimfiles/")
+                 ("ftplugin" "share/vim/vimfiles/")
+                 ("indent" "share/vim/vimfiles/")
+                 ("syntax" "share/vim/vimfiles/"))))
+      (home-page "https://sr.ht/~sircmpwn/hare.vim")
+      (synopsis "Vim support for Hare")
+      (description
+       "This package provides syntax highlighting and indentation
+support for the Hare programming language in Vim.")
+      (license license:vim))))
-- 
2.37.2