Subject: [PATCH 02/29] gnu: Add vim-gas.

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

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

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index d40bc49d73..d9b8065ffe 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1413,3 +1413,29 @@ (define-public neovim-mini
 @item @code{mini.starter}, a menu that appears on startup
 @end enumerate")
     (license license:expat)))
+
+(define-public vim-gas
+  (let ((commit "2ca95211b465be8e2871a62ee12f16e01e64bd98")
+        (revision "0"))
+    (package
+      (name "vim-gas")
+      (version (git-version "0.16" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/Shirk/vim-gas")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1lc75g9spww221n64pjxwmill5rw5vix21nh0lhlaq1rl2y89vd6"))))
+      (build-system copy-build-system)
+      (arguments
+       (list #:install-plan
+             #~'(("syntax" "share/vim/vimfiles/"))))
+      (home-page "https://github.com/Shirk/vim-gas")
+      (synopsis "GNU Assembler syntax files for Vim")
+      (description
+       "This package provides syntax highlighting and indentation
+support for @command{gas} assembly syntax in Vim.")
+      (license license:bsd-3))))
-- 
2.37.2