[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30689] [PATCH 01/10] gnu: Add ruby-asciimath.
From: |
Christopher Baines |
Subject: |
[bug#30689] [PATCH 01/10] gnu: Add ruby-asciimath. |
Date: |
Sat, 3 Mar 2018 21:02:59 +0000 |
From: Ben Woodcroft <address@hidden>
* 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
- [bug#30689] [PATCH] Ruby on Rails (web-application framework), Christopher Baines, 2018/03/03
- [bug#30689] [PATCH 01/10] gnu: Add ruby-asciimath.,
Christopher Baines <=
- [bug#30689] [PATCH 05/10] gnu: Add ruby-contest., Christopher Baines, 2018/03/03
- [bug#30689] [PATCH 10/10] gnu: Add ruby-ruby-engine., Christopher Baines, 2018/03/03
- [bug#30689] [PATCH 07/10] gnu: Add ruby-sporkmonger-rack-mount., Christopher Baines, 2018/03/03
- [bug#30689] [PATCH 02/10] gnu: Add ruby-asciidoctor., Christopher Baines, 2018/03/03
- [bug#30689] [PATCH 08/10] gnu: Add ruby-erubis., Christopher Baines, 2018/03/03
- [bug#30689] [PATCH 04/10] gnu: Add ruby-rack-protection., Christopher Baines, 2018/03/03
- [bug#30689] [PATCH 03/10] gnu: Add ruby-rack-test., Christopher Baines, 2018/03/03
- [bug#30689] [PATCH 09/10] gnu: Add ruby-rake., Christopher Baines, 2018/03/03
- [bug#30689] [PATCH 06/10] gnu: Add ruby-creole., Christopher Baines, 2018/03/03
- [bug#30689] [PATCH] Ruby on Rails (web-application framework), Gábor Boskovits, 2018/03/03