From patchwork Wed Aug 5 15:57:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 23529 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8E29C27BBE4; Wed, 5 Aug 2020 16:59:54 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4ED4A27BBE3 for ; Wed, 5 Aug 2020 16:59:54 +0100 (BST) Received: from localhost ([::1]:54888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3LpZ-0000Zh-Tn for patchwork@mira.cbaines.net; Wed, 05 Aug 2020 11:59:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3Lnn-0006uh-2b for guix-patches@gnu.org; Wed, 05 Aug 2020 11:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40507) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3Lnm-0006B5-My for guix-patches@gnu.org; Wed, 05 Aug 2020 11:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3Lnm-0003kg-MF for guix-patches@gnu.org; Wed, 05 Aug 2020 11:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42722] [PATCH 4/4] gnu: Add ghc-mtl-prelude. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Aug 2020 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42722 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42722@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 42722-submit@debbugs.gnu.org id=B42722.159664306414377 (code B ref 42722); Wed, 05 Aug 2020 15:58:02 +0000 Received: (at 42722) by debbugs.gnu.org; 5 Aug 2020 15:57:44 +0000 Received: from localhost ([127.0.0.1]:52050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3LnT-0003jj-SR for submit@debbugs.gnu.org; Wed, 05 Aug 2020 11:57:44 -0400 Received: from mout01.posteo.de ([185.67.36.65]:44611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3LnP-0003iz-Di for 42722@debbugs.gnu.org; Wed, 05 Aug 2020 11:57:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BDEEF160060 for <42722@debbugs.gnu.org>; Wed, 5 Aug 2020 17:57:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1596643053; bh=91ttgF1ExXokqR5xEVlR1HGjjuK+FUvqO8xqD1OnNJw=; h=From:To:Cc:Subject:Date:From; b=a6dJojCpYinhXgeYcnIiSL/+OSeKMIY7nfU8faz+b6DGJekOEOuptRSkZn7IKp2Rc pukLYYm191bKconmQkiJzuzo8P0Ipr7/JXZyhv7472SvYfrKNw5fVMP/XUBWcUveZ5 LFFI/mYrGjZr16tM+TgfhKZQRvkbNMn1/h1Yhf8tALJ+Bv9p0JPc8uwL7Hbqd77RA4 m8jTSDLhaLR4KPbIMYD9j9xgSn9kFgGrYGMf4cUP/fyqxSxXtcdZUZFeyW3gj9INwF fm961mUsovqTnRVH5Nt4CmZ9lB6IQoV3uDZRD57S1NaZT1bKzrzhhvr/TVPLJlRQ8k wZ5AATrlSwn9Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BMGV52kPkz6tm6; Wed, 5 Aug 2020 17:57:33 +0200 (CEST) From: Alexandru-Sergiu Marton Date: Wed, 5 Aug 2020 18:57:25 +0300 Message-Id: <20200805155725.19931-4-brown121407@posteo.ro> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200805155725.19931-1-brown121407@posteo.ro> References: <20200805155725.19931-1-brown121407@posteo.ro> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-mtl-prelude): New variable. --- gnu/packages/haskell-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 1c2f863adf..3577b8f1ff 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8026,6 +8026,36 @@ Therefore, you may have to declare @code{import Control.Monad.Except ()} at the top of your file to get all of the ExceptT instances in scope.") (license license:bsd-3))) +(define-public ghc-mtl-prelude + (package + (name "ghc-mtl-prelude") + (version "2.0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/mtl-prelude/mtl-prelude-" + version + ".tar.gz")) + (sha256 + (base32 + "0cqjl0mcnj6qgx46qxjygndzlgch4mc0q0sm3wbd4fynjfhdv9n4")))) + (build-system haskell-build-system) + (home-page + "https://github.com/nikita-volkov/mtl-prelude") + (synopsis + "Reexports of most definitions from \"mtl\" and \"transformers\"") + (description + "This package only exports definitions from the \"mtl\" and +\"transformers\" libraries. Unlike every module of \"mtl\" it does not +reexport @code{Control.Monad} and @code{Control.Monad.Fix}. In combination +with the @url{base-prelude, http://hackage.haskell.org/package/base-prelude} +library, this should give you a quite rich prelude. The @code{2.*} versions +are restricted by the feature set of @code{mtl-2.2} and +@code{transformers-0.4}, however they provide support for newer versions of +those libraries as well.") + (license license:expat))) + (define-public ghc-murmur-hash (package (name "ghc-murmur-hash")