guix-patches
[Top][All Lists]
Advanced

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

[bug#32535] [PATCH 31/41] gnu: Add ruby-rouge.


From: Julien Lepiller
Subject: [bug#32535] [PATCH 31/41] gnu: Add ruby-rouge.
Date: Sun, 26 Aug 2018 18:41:53 +0200

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1271e0075..757377031 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5696,3 +5696,26 @@ parser for writing http servers, clients and proxies.")
 implementation.")
     (home-page "http://github.com/igrigorik/em-websocket";)
     (license #f)))
+
+(define-public ruby-rouge
+  (package
+    (name "ruby-rouge")
+    (version "3.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "rouge" version))
+              (sha256
+               (base32
+                "0h79gn2wmn1wix2d27lgiaimccyj8gvizrllyym500pir408x62f"))))
+    (build-system ruby-build-system)
+    (arguments `(#:tests? #f)); No rakefile
+    (home-page "http://rouge.jneen.net/";)
+    (synopsis "Code highlighter")
+    (description "Rouge is a code highlighter written in Ruby.  It supports 
more
+than 100 languages and outputs HTML or ANSI 256-color text.  Its HTML output
+is compatible with stylesheets designed for pygments.")
+    (license (list
+               ;; rouge is licensed under expat
+               license:expat
+               ;; pygments is licensed under bsd-2
+               license:bsd-2))))
-- 
2.18.0






reply via email to

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