gnu: Add ghc-terminal-size.

* gnu/packages/haskell.scm (ghc-terminal-size): New variable.
This commit is contained in:
David Craven 2016-11-05 18:54:46 +01:00
parent 5e6cafe157
commit 4e05c326ef
No known key found for this signature in database
GPG key ID: C5E051C79C0BECDB

View file

@ -8092,4 +8092,23 @@ (define-public ghc-ieee754
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