guix-commits
[Top][All Lists]
Advanced

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

08/08: gnu: Add vim-airline-themes.


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

kkebreau pushed a commit to branch master
in repository guix.

commit b02a141f3e714ac70173ecbf14afe97b9a62eb2f
Author: ng0 <address@hidden>
Date:   Tue Feb 14 13:18:26 2017 +0000

    gnu: Add vim-airline-themes.
    
    * gnu/packages/vim.scm (vim-airline-themes): 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 fbe4b2b..82403fe 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -452,6 +452,47 @@ and powerline symbols, etc.")
     (home-page "https://github.com/vim-airline/vim-airline";)
     (license license:expat)))
 
+;; There are no tarball releases.
+(define-public vim-airline-themes
+  (let ((commit "6026eb78bf362cb3aa875aff8487f65728d0f7d8")
+        (revision "1"))
+    (package
+      (name "vim-airline-themes")
+      (version (string-append "0.0.0-" revision "." (string-take commit 7)))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/vim-airline/vim-airline-themes";)
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "13ijkavh1r0935cn2rjsfbdd1q3ka8bi26kw0bdkrqlrqxwvpss8"))))
+      (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"))
+                      (doc (string-append vimfiles "/doc"))
+                      (plugin (string-append vimfiles "/plugin"))
+                      (autoload (string-append vimfiles "/autoload")))
+                 (copy-recursively "doc" doc)
+                 (copy-recursively "autoload" autoload)
+                 (copy-recursively "plugin" plugin)
+                 #t))))))
+      (synopsis "Collection of themes for Vim-airline")
+      (description
+       "@code{vim-airline-themes} is a collection of themes for 
@code{vim-airline}.")
+      (home-page "https://github.com/vim-airline/vim-airline-themes";)
+      (license license:expat))))
+
 (define-public neovim
   (package
     (name "neovim")



reply via email to

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