From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 21/43] gnu: ghc-transformers-compat: New variables. Date: Thu, 15 Oct 2015 14:21:15 +0200 Message-ID: <1444911697-15515-21-git-send-email-paul@denknerd.org> References: <1444911697-15515-1-git-send-email-paul@denknerd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhYE-0002Uv-4g for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmhYB-00079U-1M for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:30 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:38502 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhYA-00078k-Mq for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:26 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out01.mykolab.com (Postfix) with ESMTPS id B4165615F9 for ; Thu, 15 Oct 2015 14:22:24 +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-transformers-compat): New variable. * gnu/packages/haskell.scm (ghc-exceptions): New variable. * gnu/packages/haskell.scm (ghc-temporary): New variable. * gnu/packages/haskell.scm (ghc-silently): New variable. --- gnu/packages/haskell.scm | 106 +++++++++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 106 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 2585c81..adc9d82 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -927,6 +927,112 @@ the paper \"Splittable Pseudorandom Number Generato= rs Using Cryptographic Hashing\" by Claessen, Pa=C5=82ka for details and the rationale of the d= esign.") (license bsd-3))) =20 +(define-public ghc-transformers-compat + (package + (name "ghc-transformers-compat") + (version "0.4.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/transformers-compat" + "/transformers-compat-" version ".tar.gz")) + (sha256 + (base32 + "0lmg8ry6bgigb0v2lg0n74lxi8z5m85qq0qi4h1k9llyjb4in8ym")))) + (build-system haskell-build-system) + (home-page "http://github.com/ekmett/transformers-compat/") + (synopsis "A small compatibility shim exposing the new types from +transformers 0.3 and 0.4 to older Haskell platforms.") + (description "This package includes backported versions of types tha= t were +added to transformers in transformers 0.3 and 0.4 for users who need str= ict +transformers 0.2 or 0.3 compatibility to run on old versions of the plat= form, +but also need those types.") + (license bsd-3))) + +(define-public ghc-exceptions + (package + (name "ghc-exceptions") + (version "0.8.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/exceptions/exceptions-" + version + ".tar.gz")) + (sha256 + (base32 + "1x1bk1jf42k1gigiqqmkkh38z2ffhx8rsqiszdq3f94m2h6kw2h7")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) + (propagated-inputs + `(("ghc-stm" ,ghc-stm) + ("ghc-mtl" ,ghc-mtl) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page + "http://github.com/ekmett/exceptions/") + (synopsis + "Extensible optionally-pure exceptions") + (description + "Extensible optionally-pure exceptions") + (license bsd-3))) + +(define-public ghc-temporary + (package + (name "ghc-temporary") + (version "1.2.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/temporary/temporary-" + version + ".tar.gz")) + (sha256 + (base32 + "0is67bmsjmbbw6wymhis8wyq9gax3sszm573p5719fx2c9z9r24a")))) + (build-system haskell-build-system) + (propagated-inputs `(("ghc-exceptions" ,ghc-exceptions))) + (home-page + "http://www.github.com/batterseapower/temporary") + (synopsis "Portable temporary file and directory support for Windows= and +Unix, based on code from Cabal") + (description "The functions for creating temporary files and directo= ries +in the base library are quite limited. The unixutils package contains so= me +good ones, but they aren't portable to Windows. This library just repack= ages +the Cabal implementations of its own temporary file and folder functions= so +that you can use them without linking against Cabal or depending on it b= eing +installed.") + (license bsd-3))) + +(define-public ghc-silently + (package + (name "ghc-silently") + (version "1.2.5") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/silently/silently-" + version + ".tar.gz")) + (sha256 + (base32 + "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ;; circular dependency with nanospec + (inputs + `(("ghc-temporary" ,ghc-temporary))) + (home-page "https://github.com/hspec/silently") + (synopsis + "Prevent or capture writing to stdout and other handles.") + (description + "Prevent or capture writing to stdout and other handles.") + (license bsd-3))) + (define-public ghc-quickcheck-io (package (name "ghc-quickcheck-io") --=20 2.6.1