guix-commits
[Top][All Lists]
Advanced

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

61/82: gnu: Add TermReadKey.


From: Eric Bavier
Subject: 61/82: gnu: Add TermReadKey.
Date: Mon, 20 Apr 2015 01:02:47 +0000

bavier pushed a commit to branch master
in repository guix.

commit 70fe0008f7cd011f3f3c685c14341347f6bb5abe
Author: Eric Bavier <address@hidden>
Date:   Tue Apr 7 15:30:18 2015 -0500

    gnu: Add TermReadKey.
    
    * gnu/packages/perl.scm (perl-term-readkey): New variable.
---
 gnu/packages/perl.scm |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 38c6224..a4c666c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4365,6 +4365,28 @@ processing in Perl code.")
 the current terminal expects in various ways.")
     (license (package-license perl))))
 
+(define-public perl-term-readkey
+  (package
+    (name "perl-term-readkey")
+    (version "2.32")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/J/JS/JSTOWE/"
+                           "TermReadKey-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1y79w5cj98w0a1nqxjhmaw01p2hfhzfw340m2qxd11p6124hxfaq"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/TermReadKey";)
+    (synopsis "Simple terminal control")
+    (description "This module, ReadKey, provides ioctl control for terminals
+so the input modes can be changed (thus allowing reads of a single character
+at a time), and also provides non-blocking reads of stdin, as well as several
+other terminal related features, including retrieval/modification of the
+screen size, and retrieval/modification of the control characters.")
+    (license (package-license perl))))
+
 (define-public perl-test-base
   (package
     (name "perl-test-base")



reply via email to

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