diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2015-12-31 22:46:49 +1000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-01-27 13:41:18 +0000 |
commit | b0004e1e46f3374dba2bc3cdf82f16959e138c30 (patch) | |
tree | 590ec3eaea02c719003a01a4ea170731a2c7256b | |
parent | dd1f60ecbe7e5161fe1690da5dad6232c509e32d (diff) | |
download | guix-b0004e1e46f3374dba2bc3cdf82f16959e138c30.tar guix-b0004e1e46f3374dba2bc3cdf82f16959e138c30.tar.gz |
gnu: Add ruby-asciimath.
* gnu/packages/ruby.scm (ruby-asciimath): New variable.
-rw-r--r-- | gnu/packages/ruby.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ac852f54b8..466a7a9edc 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -627,6 +627,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") |