From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 5/9] gnu: Add ghc-terminal-size. Date: Sat, 3 Dec 2016 11:42:09 +0100 Message-ID: <20161203104213.8135-5-david@craven.ch> References: <20161203104213.8135-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cD7m4-0008Il-P5 for guix-devel@gnu.org; Sat, 03 Dec 2016 05:42:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cD7m3-00074D-SV for guix-devel@gnu.org; Sat, 03 Dec 2016 05:42:32 -0500 Received: from so254-10.mailgun.net ([198.61.254.10]:17786) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cD7m3-00072A-Nf for guix-devel@gnu.org; Sat, 03 Dec 2016 05:42:31 -0500 In-Reply-To: <20161203104213.8135-1-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-terminal-size): New variable. --- gnu/packages/haskell.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index c5d586d..c9d8234 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 -- 2.9.0