From 2e3fdea4415a03455cb3561eaf6502bcce8f7d09 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 29 Aug 2015 22:54:05 -0400 Subject: [PATCH] gnu: Add ruby-coderay. * gnu/packages/ruby.scm (ruby-coderay): New variable. --- gnu/packages/ruby.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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)))