summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-08-29 22:54:05 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-09-06 09:08:48 -0400
commit2e3fdea4415a03455cb3561eaf6502bcce8f7d09 (patch)
treee412174950d027ce480a9e3e1250ed5bb1384982 /gnu/packages
parent30b0b725ff358e7d8e645d005f02a0a6e06cfbe9 (diff)
downloadguix-2e3fdea4415a03455cb3561eaf6502bcce8f7d09.tar.gz
gnu: Add ruby-coderay.
* gnu/packages/ruby.scm (ruby-coderay): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 35b63cf6ac..9fd531663e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -866,3 +866,23 @@ Additionally, it can extract source code from Proc and Lambda objects or just
 extract comments.")
     (home-page "https://github.com/banister/method_source")
     (license license:expat)))
+
+(define-public ruby-coderay
+  (package
+    (name "ruby-coderay")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "coderay" version))
+       (sha256
+        (base32
+         "059wkzlap2jlkhg460pkwc1ay4v4clsmg1bp4vfzjzkgwdckr52s"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:tests? #f)) ; missing test files
+    (synopsis "Ruby syntax highlighting library")
+    (description "Coderay is a Ruby library that provides syntax highlighting
+for select languages.")
+    (home-page "http://coderay.rubychan.de")
+    (license license:expat)))