guix-patches
[Top][All Lists]
Advanced

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

bug#25713: [PATCH 08/11] gnu: Add vim-airline-themes.


From: contact . ng0
Subject: bug#25713: [PATCH 08/11] gnu: Add vim-airline-themes.
Date: Tue, 14 Feb 2017 13:18:26 +0000

From: ng0 <address@hidden>

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

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index bd67b083f..ff166a7dc 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -450,6 +450,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")
-- 
2.11.1






reply via email to

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