guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/13: gnu: Add ruby-asciimath.


From: Ben Woodcroft
Subject: 04/13: gnu: Add ruby-asciimath.
Date: Wed, 10 Aug 2016 11:57:35 +0000 (UTC)

benwoodcroft pushed a commit to branch wip-rails
in repository guix.

commit dd54299a7cb75f267376cca70d2aa75156404d74
Author: Ben Woodcroft <address@hidden>
Date:   Thu Dec 31 22:46:49 2015 +1000

    gnu: Add ruby-asciimath.
    
    * gnu/packages/ruby.scm (ruby-asciimath): New variable.
---
 gnu/packages/ruby.scm |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 46588dd..062e35a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -567,6 +567,33 @@ line of code.")
     ;; of the Expat license.
     (license license:bsd-3)))
 
+(define-public ruby-asciimath
+  (package
+    (name "ruby-asciimath")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "asciimath" version))
+       (sha256
+        (base32
+         "0dzwkjn0q4f1vd5v8wr8azzh4b94yrs7ycq7s0r1g9ijdxdlii6k"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* _ (zero? (system* "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 ruby-ci-reporter
   (package
     (name "ruby-ci-reporter")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]