* gnu/packages/ruby.scm (ruby-notmuch): New variable. --- gnu/packages/ruby.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index fb89238bd..9d9b87a93 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -41,6 +41,7 @@ #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) + #:use-module (gnu packages mail) #:use-module (gnu packages xml) #:use-module (gnu packages web) #:use-module (guix build-system ruby)) @@ -4231,3 +4232,20 @@ really opens up the email messages you are parsing, if you know what you are doing, you can fiddle with every last bit of your email directly.") (home-page "https://github.com/mikel/mail") (license license:expat))) + +(define-public ruby-notmuch + (package + (inherit notmuch) + (name "ruby-notmuch") + (version (package-version notmuch)) + ;; The bindings are distributed via the notmuch release tarball. + (arguments + `(#:make-flags (list "ruby-bindings") + ,@(package-arguments notmuch))) + (inputs + `(("ruby" ,ruby) + ,@(package-inputs notmuch))) + (synopsis "Ruby bindings of the Notmuch mail indexing library") + (description + "This package provides Ruby bindings to use the Notmuch mail indexing +and search library."))) -- 2.11.0