From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esEK7-0007Vf-41 for guix-patches@gnu.org; Sat, 03 Mar 2018 16:04:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esEK2-0003Aq-5x for guix-patches@gnu.org; Sat, 03 Mar 2018 16:04:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35190) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1esEK2-0003Am-2F for guix-patches@gnu.org; Sat, 03 Mar 2018 16:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1esEK1-0003Kk-KR for guix-patches@gnu.org; Sat, 03 Mar 2018 16:04:01 -0500 Subject: [bug#30689] [PATCH 01/10] gnu: Add ruby-asciimath. References: <87r2p0ri8x.fsf@cbaines.net> In-Reply-To: <87r2p0ri8x.fsf@cbaines.net> Resent-Message-ID: From: Christopher Baines Date: Sat, 3 Mar 2018 21:02:59 +0000 Message-Id: <20180303210308.15500-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30689@debbugs.gnu.org From: Ben Woodcroft * gnu/packages/maths.scm (ruby-asciimath): New variable. --- gnu/packages/maths.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 8d0c10697..6cd41278d 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -52,6 +52,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system ocaml) #:use-module (guix build-system r) + #:use-module (guix build-system ruby) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) #:use-module (gnu packages bison) @@ -1912,6 +1913,34 @@ special functions. It uses Matlab function names where appropriate to simplify porting.") (license license:gpl3+))) +(define-public ruby-asciimath + (package + (name "ruby-asciimath") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "asciimath" version)) + (sha256 + (base32 + "1d80kiph5mc78zps7si1hv48kv4k12mzaq8jk5kb3pqpjdr72qmc")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* _ + (invoke "rspec" "test/parser_spec.rb")))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec))) + (synopsis "AsciiMath parsing and conversion library") + (description + "A pure Ruby AsciiMath parsing and conversion library. AsciiMath is an +easy-to-write markup language for mathematics.") + (home-page "https://github.com/pepijnve/asciimath") + (license license:expat))) + (define-public superlu (package (name "superlu") -- 2.16.0