guix-commits
[Top][All Lists]
Advanced

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

225/257: gnu: Add ghc-echo.


From: Ricardo Wurmus
Subject: 225/257: gnu: Add ghc-echo.
Date: Thu, 27 Sep 2018 15:47:34 -0400 (EDT)

rekado pushed a commit to branch wip-haskell
in repository guix.

commit 175dc0e42af8a91a85e1d7e842cf6e9817870d57
Author: Timothy Sample <address@hidden>
Date:   Sat Sep 22 09:47:49 2018 -0400

    gnu: Add ghc-echo.
    
    * gnu/packages/haskell.scm (ghc-echo): New variable.
---
 gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 85692c4..079d856 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1852,6 +1852,32 @@ Writer monad), where list append quickly becomes too 
expensive.")
 versions of GHC (i.e., < 6.10).")
     (license license:bsd-3)))
 
+(define-public ghc-echo
+  (package
+    (name "ghc-echo")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/echo/echo-";
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
+    (build-system haskell-build-system)
+    (arguments
+     `(#:cabal-revision
+       ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
+    (home-page "https://github.com/RyanGlScott/echo";)
+    (synopsis "Echo terminal input portably")
+    (description "The @code{base} library exposes the @code{hGetEcho} and
address@hidden functions for querying and setting echo status, but
+unfortunately, neither function works with MinTTY consoles on Windows.
+This library provides an alternative interface which works with both
+MinTTY and other consoles.")
+    (license license:bsd-3)))
+
 (define-public cabal-install
  (package
   (name "cabal-install")



reply via email to

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