From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 1/2] gnu: Add ruby-notmuch. Date: Mon, 16 Jan 2017 15:10:40 +0000 Message-ID: <20170116151041.3617-2-ng0@libertad.pw> References: <87vatfx21x.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170116151041.3617-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cT8wd-0001se-SM for guix-devel@gnu.org; Mon, 16 Jan 2017 10:11:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cT8wa-0006TT-Nj for guix-devel@gnu.org; Mon, 16 Jan 2017 10:11:39 -0500 Received: from aibo.runbox.com ([91.220.196.211]:55734) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cT8wa-0006TB-GK for guix-devel@gnu.org; Mon, 16 Jan 2017 10:11:36 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cT8wZ-0006y2-Cw for guix-devel@gnu.org; Mon, 16 Jan 2017 16:11:35 +0100 In-Reply-To: <20170116151041.3617-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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