From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 23/43] gnu: ghc-regex-base: New variables. Date: Thu, 15 Oct 2015 14:21:17 +0200 Message-ID: <1444911697-15515-23-git-send-email-paul@denknerd.org> References: <1444911697-15515-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhYE-0002Uy-DF for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmhYD-0007Ax-3N for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:30 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:29325 helo=mx-out02.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhYC-0007Ap-P7 for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:29 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out02.mykolab.com (Postfix) with ESMTPS id AB21D61C9A for ; Thu, 15 Oct 2015 14:22:26 +0200 (CEST) In-Reply-To: <1444911697-15515-1-git-send-email-paul@denknerd.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-regex-base): New variable. * gnu/packages/haskell.scm (ghc-appar): New variable. * gnu/packages/haskell.scm (ghc-safe): New variable. * gnu/packages/haskell.scm (ghc-generic-deriving): New variable. * gnu/packages/haskell.scm (ghc-pcre-light): New variable. * gnu/packages/haskell.scm (ghc-logict): New variable. * gnu/packages/haskell.scm (ghc-xml): New variable. * gnu/packages/haskell.scm (ghc-quickcheck-unicode): New variable. --- gnu/packages/haskell.scm | 190 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 190 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 6ffdf11..328d06e 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages python) + #:use-module (gnu packages pcre) #:use-module (gnu packages xorg)) (define ghc-bootstrap-x86_64-7.8.4 @@ -950,6 +951,171 @@ transformers 0.2 or 0.3 compatibility to run on old versions of the platform, but also need those types.") (license bsd-3))) +(define-public ghc-regex-base + (package + (name "ghc-regex-base") + (version "0.93.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/regex-base/regex-base-" + version + ".tar.gz")) + (sha256 + (base32 + "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10")))) + (build-system haskell-build-system) + (inputs `(("ghc-mtl" ,ghc-mtl))) + (home-page + "http://sourceforge.net/projects/lazy-regex") + (synopsis "Replaces/Enhances Text.Regex") + (description + "Interface API for regex-posix, pcre, parsec, tdfa, dfa.") + (license bsd-3))) + +(define-public ghc-appar + (package + (name "ghc-appar") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/appar/appar-" + version + ".tar.gz")) + (sha256 + (base32 + "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq")))) + (build-system haskell-build-system) + (home-page + "http://hackage.haskell.org/package/appar") + (synopsis "A simple applicative parser") + (description + "A simple applicative parser in Parsec style.") + (license bsd-3))) + +(define-public ghc-safe + (package + (name "ghc-safe") + (version "0.3.9") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/safe/safe-" + version + ".tar.gz")) + (sha256 + (base32 + "1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh")))) + (build-system haskell-build-system) + (home-page + "https://github.com/ndmitchell/safe#readme") + (synopsis + "Library of safe (exception free) functions") + (description + "A library wrapping Prelude/Data.List functions that can throw +exceptions, such as head and !!.") + (license bsd-3))) + +(define-public ghc-generic-deriving + (package + (name "ghc-generic-deriving") + (version "1.8.0") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/generic-deriving/generic-deriving-" + version + ".tar.gz")) + (sha256 + (base32 + "1kc6lhdanls6kgpk8xv5xi14lz1sngcd8xn930hkf7ilq4kxkcr6")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/generic-deriving") + (synopsis "Functionality for generalising the deriving mechanism in +Haskell to arbitrary classes.") + (description "Functionality for generalising the deriving mechanism in +Haskell to arbitrary classes.") + (license bsd-3))) + +(define-public ghc-pcre-light + (package + (name "ghc-pcre-light") + (version "0.4.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/pcre-light/pcre-light-" + version + ".tar.gz")) + (sha256 + (base32 + "0l1df2sk5qwf424bvb8mbdkr2xjg43fi92n5r22yd7vm1zz0jqvf")))) + (build-system haskell-build-system) + (inputs + `(("pcre" ,pcre))) + (home-page + "https://github.com/Daniel-Diaz/pcre-light") + (synopsis + "A small, efficient and portable regex library for Perl 5 compatible +regular expressions") + (description + "A small, efficient and portable regex library for Perl 5 compatible +regular expressions. The PCRE library is a set of functions that implement +regular expression pattern matching using the same syntax and semantics as +Perl 5.") + (license bsd-3))) + +(define-public ghc-logict + (package + (name "ghc-logict") + (version "0.6.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/logict/logict-" + version + ".tar.gz")) + (sha256 + (base32 + "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi")))) + (build-system haskell-build-system) + (inputs `(("ghc-mtl" ,ghc-mtl))) + (home-page "http://code.haskell.org/~dolio/") + (synopsis "A backtracking logic-programming monad.") + (description "A continuation-based, backtracking, logic programming +monad. An adaptation of the two-continuation implementation found in the paper +\"Backtracking, Interleaving, and Terminating Monad Transformers\" available +here: .") + (license bsd-3))) + +(define-public ghc-xml + (package + (name "ghc-xml") + (version "1.3.14") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/xml/xml-" + version + ".tar.gz")) + (sha256 + (base32 + "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j")))) + (build-system haskell-build-system) + (inputs `(("ghc-text" ,ghc-text))) + (home-page "http://code.galois.com") + (synopsis "A simple XML library.") + (description "A simple XML library.") + (license bsd-3))) + (define-public ghc-exceptions (package (name "ghc-exceptions") @@ -1033,6 +1199,30 @@ installed.") "Prevent or capture writing to stdout and other handles.") (license bsd-3))) +(define-public ghc-quickcheck-unicode + (package + (name "ghc-quickcheck-unicode") + (version "1.0.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/quickcheck-unicode/quickcheck-unicode-" + version + ".tar.gz")) + (sha256 + (base32 + "1a8nl6x7l9b22yx61wm0bh2n1xzb1hd5i5zgg1w4fpaivjnrrhi4")))) + (build-system haskell-build-system) + (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page + "https://github.com/bos/quickcheck-unicode") + (synopsis "Generator and shrink functions for testing Unicode-related +software.") + (description "Generator and shrink functions for testing Unicode-related +software.") + (license bsd-3))) + (define-public ghc-quickcheck-io (package (name "ghc-quickcheck-io") -- 2.6.1