From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 07/23] gnu: Add ghc-haskeline. Date: Fri, 2 Sep 2016 09:39:54 +0000 Message-ID: <20160902094010.11483-7-ng0@we.make.ritual.n0.is> References: <20160902094010.11483-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfkxd-0001BV-ML for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfkxc-0008JY-Io for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:33 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:43131 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfkxc-0008C6-8S for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:32 -0400 In-Reply-To: <20160902094010.11483-1-ng0@we.make.ritual.n0.is> 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-haskeline): New variable. --- gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index f3d43c4..8c6aee0 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6558,4 +6558,29 @@ via bindings to the curses library. Terminfo allows POSIX systems to interact with a variety of terminals using a standard set of capabilities.") (license license:bsd-3))) +(define-public ghc-haskeline + (package + (name "ghc-haskeline") + (version "0.7.2.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/haskeline/haskeline-" + version ".tar.gz")) + (sha256 + (base32 + "09wd6sxgn65xxpk7dhy1cg3ywlbk0ccqq7xylycwk4zazy3gjgkd")))) + (build-system haskell-build-system) + (inputs + `(("ghc-terminfo" ,ghc-terminfo))) + (home-page "https://github.com/judah/haskeline") + (synopsis "A command-line interface for user input, written in Haskell.") + (description + "Haskeline provides a user interface for line input in command-line +programs. This library is similar in purpose to readline, but since it +is written in Haskell it is (hopefully) more easily used in other Haskell +programs.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.9.3