guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/08: gnu: Add vim-airline.


From: Kei Kebreau
Subject: 07/08: gnu: Add vim-airline.
Date: Tue, 28 Feb 2017 12:26:20 -0500 (EST)

kkebreau pushed a commit to branch master
in repository guix.

commit 7ffcf5c5e063ff65be1f59822f7631c497926000
Author: ng0 <address@hidden>
Date:   Tue Feb 14 13:18:25 2017 +0000

    gnu: Add vim-airline.
    
    * gnu/packages/vim.scm (vim-airline): New variable.
    
    Signed-off-by: Kei Kebreau <address@hidden>
---
 gnu/packages/vim.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index c702b90..fbe4b2b 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -411,6 +411,47 @@ trouble using them, because you do not have to remember 
each snippet name.")
       (home-page "https://github.com/Shougo/context_filetype.vim";)
       (license license:expat)))) ; ??? check again
 
+(define-public vim-airline
+  (package
+    (name "vim-airline")
+    (version "0.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/vim-airline/vim-airline/";
+                           "archive/v" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "053sfq3jmgdc5y7zbg6jrk7r2hp0raj3y3mxa2h1c1bnkb6wvcaz"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (delete 'build)
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (vimfiles (string-append out "/share/vim/vimfiles"))
+                    (autoload (string-append vimfiles "/autoload"))
+                    (doc (string-append vimfiles "/doc"))
+                    (t (string-append vimfiles "/t"))
+                    (plugin (string-append vimfiles "/plugin")))
+               (copy-recursively "autoload" autoload)
+               (copy-recursively "doc" doc)
+               (copy-recursively "plugin" plugin)
+               (copy-recursively "t" t)
+               #t))))))
+    (synopsis "Statusline for Vim")
+    (description
+     "@code{vim-airline} is an extensible statusline for Vim.
+It can be extended and costumized with themes, works with unicode fonts
+and powerline symbols, etc.")
+    (home-page "https://github.com/vim-airline/vim-airline";)
+    (license license:expat)))
+
 (define-public neovim
   (package
     (name "neovim")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]