guix-patches
[Top][All Lists]
Advanced

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

[bug#32535] [PATCH 12/41] gnu: Add ruby-terminfo.


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

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 843d02973..64fe68f8f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -37,6 +37,7 @@
   #:use-module (gnu packages java)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages maths)
+  #:use-module (gnu packages ncurses)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages python)
   #:use-module (gnu packages ragel)
@@ -5263,3 +5264,30 @@ documentation from the command-line.")
     (description "The Listen gem listens to file modifications and notifies you
 about the changes.")
     (license license:expat)))
+
+(define-public ruby-terminfo
+  (package
+    (name "ruby-terminfo")
+    (version "0.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "ruby-terminfo" version))
+        (sha256
+          (base32
+            "0rl4ic5pzvrpgd42z0c1s2n3j39c9znksblxxvmhkzrc0ckyg2cm"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:test-target "test"
+       ;; Rakefile requires old packages and would need modification to
+       ;; work with current software.
+       #:tests? #f))
+    (inputs
+     `(("ncurses" ,ncurses)))
+    (native-inputs
+     `(("ruby-rubygems-tasks" ,ruby-rubygems-tasks)
+       ("ruby-rdoc" ,ruby-rdoc)))
+    (synopsis "terminfo binding for Ruby")
+    (description "ruby-terminfo provides terminfo binding for Ruby.")
+    (home-page "http://ruby-terminfo.rubyforge.org";)
+    (license license:bsd-3)))
-- 
2.18.0






reply via email to

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