summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-11-05 18:54:46 +0100
committerDavid Craven <david@craven.ch>2016-12-10 21:47:08 +0100
commit4e05c326eff341d273f926ff93b3868b56de14d6 (patch)
tree8c8c2bfbe27b363313b1e0f06745a2fb9791e320
parent5e6cafe157ce354d478fd280c3c5e33b105a706f (diff)
downloadguix-4e05c326eff341d273f926ff93b3868b56de14d6.tar.gz
gnu: Add ghc-terminal-size.
* gnu/packages/haskell.scm (ghc-terminal-size): New variable.
-rw-r--r--gnu/packages/haskell.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2f1652f8db..f9a50cd061 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8092,4 +8092,23 @@ ported from the Tango math library; approximate and exact equality comparisons
 for general types.")
     (license license:bsd-3)))
 
+(define-public ghc-terminal-size
+  (package
+    (name "ghc-terminal-size")
+    (version "0.3.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://hackage.haskell.org/package/terminal-size/"
+                    "terminal-size-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
+    (build-system haskell-build-system)
+    (home-page "http://hackage.haskell.org/package/terminal-size")
+    (synopsis "Get terminal window height and width")
+    (description "Get terminal window height and width without ncurses
+dependency.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here