[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: Add notmuch-vim.
From: |
ng0 |
Subject: |
[PATCH] gnu: Add notmuch-vim. |
Date: |
Sun, 15 Jan 2017 21:29:25 +0000 |
* gnu/packages/vim.scm (notmuch-vim): New variable.
---
gnu/packages/vim.scm | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 7ba4e6ac3..3eba994fa 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <address@hidden>
;;; Copyright © 2016 Efraim Flashner <address@hidden>
-;;; Copyright © 2016 ng0 <address@hidden>
+;;; Copyright © 2016, 2017 ng0 <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -36,6 +36,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
+ #:use-module (gnu packages mail)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -207,3 +208,34 @@ from the @command{vi}-editor:
@end enumerate
With the package comes a plugin to use vifm as a vim file selector.")
(license license:gpl2+)))
+
+(define-public notmuch-vim
+ (package
+ (name "notmuch-vim")
+ (version (package-version notmuch))
+ ;; The vim plugin is distributed via the notmuch release tarball.
+ (source (package-source notmuch))
+ (build-system gnu-build-system)
+ (propagated-inputs
+ ;; XXX: This is a plugin, it will not be functional without
+ ;; vim-full (ruby), ruby-mail, and notmuch.
+ `(("ruby-mail" ,ruby-mail)))
+ (arguments
+ `(#:tests? #f ; no "test" target
+ #:make-flags (list
+ (string-append "prefix="
+ (assoc-ref %outputs "out")
+ "/share/vim/vim80"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ ;; This package lives in a subdirectory of the notmuch source
+ ;; tree, so chdir into it before building.
+ (add-after 'unpack 'enter-vim-dir
+ (lambda _ (chdir "vim") #t)))))
+ (home-page (package-home-page notmuch))
+ (synopsis "Vim plugin of the Notmuch mail indexing library")
+ (description
+ "This package provides a Vim plugin to enable access to the
+Notmuch mail indexing and search library in Vim.")
+ (license license:gpl3+)))
--
2.11.0
- [PATCH 2/2] gnu: Add notmuch-vim., (continued)
Re: [PATCH 2/2] gnu: Add notmuch-vim., Marius Bakke, 2017/01/14
- Re: [PATCH 2/2] gnu: Add notmuch-vim., ng0, 2017/01/14
- Re: [PATCH 2/2] gnu: Add notmuch-vim., Marius Bakke, 2017/01/15
- notmuch-vim ,v2, ng0, 2017/01/15
- [PATCH] gnu: Add notmuch-vim.,
ng0 <=
- Re: [PATCH] gnu: Add notmuch-vim., Marius Bakke, 2017/01/15
- Re: [PATCH] gnu: Add notmuch-vim., ng0, 2017/01/15
- Re: [PATCH] gnu: Add notmuch-vim., Marius Bakke, 2017/01/15
- notmuch-vim, ruby-notmuch., ng0, 2017/01/16
- [PATCH 1/2] gnu: Add ruby-notmuch., ng0, 2017/01/16
- Re: [PATCH 1/2] gnu: Add ruby-notmuch., Marius Bakke, 2017/01/18
- Message not available
- Message not available
- Re: [PATCH 1/2] gnu: Add ruby-notmuch., ng0, 2017/01/18
[PATCH 2/2] gnu: Add notmuch-vim., ng0, 2017/01/16
[PATCH 1/2] gnu: Add ruby-mail., ng0, 2017/01/14