From patchwork Mon Jul 24 20:23:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52168 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 EE67727BBEA; Mon, 24 Jul 2023 21:27:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5177827BBE9 for ; Mon, 24 Jul 2023 21:27:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO292-0001kF-EK; Mon, 24 Jul 2023 16:27:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO291-0001ji-0d for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO290-000087-Ob for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO290-00054P-C5 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 01/12] gnu: ghc-quickcheck-instances: Update to 0.3.29. References: <20230724201632.2095-1-distopico@riseup.net> In-Reply-To: <20230724201632.2095-1-distopico@riseup.net> Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023036619285 (code B ref 64840); Mon, 24 Jul 2023 20:27:02 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:06 +0000 Received: from localhost ([127.0.0.1]:44195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO286-00050z-De for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:06 -0400 Received: from mx0.riseup.net ([198.252.153.6]:49956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO280-00050P-RM for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:05 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8s9v0zL7z9tMN for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:25:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230355; bh=1QgXjpoBfEQplN5yK+0Vjlm9+XNisAOh3mI5N5QhKBo=; h=From:To:Cc:Subject:Date:From; b=kiEBQYfnDw0eL59ov9JiENcPhMCfRoVscHmwBLnTLafEfHEH5YOngOmkGleXBBd+q yQHmvaNpMKi7PRVq2GeiUxC12AkojVwv1ySnY+f0ORf/6qdeRfqRwF3/Ol9Vo6TOWz aaQSDnVW5ESTbjaHjPZoCnLW3b4I5jpUHPFkO5nY= X-Riseup-User-ID: F14793AB9E7C189C89B1759F8C6371821A2C745032398B8E73E1BD1CDA8ED4A6 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8s9g2nnwzJq90; Mon, 24 Jul 2023 20:25:43 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:03 -0500 Message-ID: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-check.scm (ghc-quickcheck-instances): Update to 0.3.29. --- gnu/packages/haskell-check.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm index 5447ecec1e..65c5bb460c 100644 --- a/gnu/packages/haskell-check.scm +++ b/gnu/packages/haskell-check.scm @@ -365,13 +365,13 @@ (define-public ghc-tasty-expected-failure (define-public ghc-quickcheck-instances (package (name "ghc-quickcheck-instances") - (version "0.3.28") + (version "0.3.29") (source (origin (method url-fetch) (uri (hackage-uri "quickcheck-instances" version)) (sha256 (base32 - "1jycijv7gaj6qrkp219nllrdv9zd0ifp0mb0rch430fm95xin4f4")))) + "12pxldi6rp40cvfwdaalwr33dr7xgv6azygwbb7s143hhj19gpwb")))) (build-system haskell-build-system) (properties '((upstream-name . "quickcheck-instances"))) (inputs (list ghc-quickcheck @@ -386,6 +386,7 @@ (define-public ghc-quickcheck-instances ghc-scientific ghc-strict ghc-tagged + ghc-data-array-byte ghc-these ghc-time-compat ghc-transformers-compat @@ -868,6 +869,7 @@ (define-public ghc-hedgehog ghc-barbies ghc-concurrent-output ghc-erf + ghc-text ghc-lifted-async ghc-mmorph ghc-monad-control From patchwork Mon Jul 24 20:23:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52173 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 192CA27BBF1; Mon, 24 Jul 2023 21:27:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 32B1327BBE9 for ; Mon, 24 Jul 2023 21:27:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO297-0001l6-3o; Mon, 24 Jul 2023 16:27:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO291-0001jj-3m for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO290-00008A-S4 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO290-00054W-OY for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 02/12] gnu: Add ghc-generically. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023037919324 (code B ref 64840); Mon, 24 Jul 2023 20:27:02 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:19 +0000 Received: from localhost ([127.0.0.1]:44198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28I-00051W-Oi for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:19 -0400 Received: from mx0.riseup.net ([198.252.153.6]:33356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28E-000519-QD for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:16 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sB93S3wz9tMN for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230369; bh=mYuhdreKDYPjzLJReqJUbcudcMSzC0wMspWui1WPfKA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YhjqaLjxMB4kOb+pXwzIajEThBr9t9LSPxwsCeiiy4/JLvBa0Xxo6/iAAeKhErY+Q Y2jCA/hrkDO+LWW/LYD6xL/fVnMs3aC1yxYbemQ7DrVAnlvWzpZXwU3exFzEQhfhPH SZ8WuD/e8JytjfNtMb5gDxYDXSXmJv1w1kvJueDo= X-Riseup-User-ID: D41042D68C6571DE154218C022AB4B59C4CBE0DB3B9B7A638505EC26EB08536E Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sB85W41zJnsj; Mon, 24 Jul 2023 20:26:08 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:04 -0500 Message-ID: <20230724202532.8993-2-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-web.scm (ghc-generically): New variable. --- gnu/packages/haskell-web.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 75b84b10a7..6c6122299d 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2022 Alice Brenon +;;; Copyright © 2023 Camilo Q.S. (Distopico) ;;; ;;; This file is part of GNU Guix. ;;; @@ -1067,6 +1068,28 @@ (define-public ghc-aeson-better-errors @url{http://harry.garrood.me/blog/aeson-better-errors/}.") (license license:expat))) +(define-public ghc-generically + (package + (name "ghc-generically") + (version "0.1.1") + (source (origin + (method url-fetch) + (uri (hackage-uri "generically" version)) + (sha256 + (base32 + "1ks3pi6mpma83xffplz8vmimyhvzpnhmcgvk3bvl3c64pqva9i84")))) + (build-system haskell-build-system) + (properties '((upstream-name . "generically"))) + (arguments + `(#:cabal-revision ("1" + "0pkyhym7q9v03pplpfjg80vmpk0cbgc56panfx9vcbzadvxmx6rb"))) + (home-page "https://hackage.haskell.org/package/generically") + (synopsis "Generically newtype to use with DerivingVia in Haskell") + (description + "This is a compatibility package as @code{Generically} and @code{Generically1} +newtypes are available since base-4.17 in @code{GHC.Generics}.") + (license license:bsd-3))) + (define-public ghc-multipart (package (name "ghc-multipart") @@ -2171,4 +2194,3 @@ (define-public ghc-network-run (description "This package provides a simple network runner library in Haskell.") (license license:bsd-3))) - From patchwork Mon Jul 24 20:23:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52174 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 1503F27BBED; Mon, 24 Jul 2023 21:27:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C031027BBEA for ; Mon, 24 Jul 2023 21:27:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO297-0001m1-Su; Mon, 24 Jul 2023 16:27:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO291-0001jy-R6 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO291-00008L-8F for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO291-00054e-4J for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 03/12] gnu: Add ghc-aeson-2.1. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023038219353 (code B ref 64840); Mon, 24 Jul 2023 20:27:03 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:22 +0000 Received: from localhost ([127.0.0.1]:44204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28M-000524-EF for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:22 -0400 Received: from mx0.riseup.net ([198.252.153.6]:33368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28I-00051D-OU for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:19 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sBF2yPWz9tGy for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230373; bh=Z1r0zWRZu6swGIJkq5INC67j+91Gk5n1QfsMY9G13/0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fkODaaTs2eWr+20MD5hpD80G2a/HOrZHGA9I4V//1rep+BBmdVHp92REN/56KZvmM c0LaBsGRCZ24Tw46Vx2L4hA7CNP9/Qx/96PUQHZw+1WoX6j1CwvtoqQ948e+zw5IVP umMi5cloj27K04XXMthJbjN01js1ADEqlNZ60xfY= X-Riseup-User-ID: 4558136C50D11BA450D74529964E3D397FAE7BB32911F8CE0273F940D5DBB8F9 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBD4vdPzJntF; Mon, 24 Jul 2023 20:26:12 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:05 -0500 Message-ID: <20230724202532.8993-3-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-web.scm (ghc-aeson-2.1): New variable. --- gnu/packages/haskell-web.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 6c6122299d..967ff77eec 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -977,6 +977,22 @@ (define-public ghc-aeson naming: in Greek mythology, Aeson was the father of Jason.)") (license license:bsd-3))) +(define-public ghc-aeson-2.1 + (package + (inherit ghc-aeson) + (version "2.1.2.1") + (source (origin + (method url-fetch) + (uri (hackage-uri "aeson" version)) + (sha256 + (base32 + "1ii26lz9czxqhck11pzhqlhfhm9zgbrhiydv4gh1w66f0fwl4h2x")))) + (inputs (modify-inputs (package-inputs ghc-aeson) + (prepend ghc-generically))) + (arguments + `(#:cabal-revision ("1" + "1yiib3ay9961pzs1bb09waw40qkk8w74553bwjp5gkym3dk3q3zi"))))) + (define-public ghc-aeson-pretty (package (name "ghc-aeson-pretty") From patchwork Mon Jul 24 20:23:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52175 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 791C227BBE2; Mon, 24 Jul 2023 21:27:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C16BE27BBEB for ; Mon, 24 Jul 2023 21:27:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29C-0001mT-DJ; Mon, 24 Jul 2023 16:27:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO291-0001jz-U0 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO291-00008O-Lz for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO291-00054l-I5 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 04/12] gnu: Add ghc-data-array-byte. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023038319367 (code B ref 64840); Mon, 24 Jul 2023 20:27:03 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:23 +0000 Received: from localhost ([127.0.0.1]:44207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28M-000526-Mm for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:23 -0400 Received: from mx1.riseup.net ([198.252.153.129]:46776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28J-00051F-Rv for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:21 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4R8sBG2fXtzDqLB for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230374; bh=jz7WzErOUu+SaNramS8Pv2CVBfiwWDfzWrLmUDhGjxI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZELDO1oBc+CX91PWZDqMUJeV7lTBGlV3/TR6ktFMCaQG/GsBQhuuQJLJ9Ho51BjIK EG7ja5rLC9C8SJaXGZbMuJsElYegi62TrGuCh/vWSYN73LticUaOMYHKsvk9NQqGX0 yPdVe5ih3xGtOsSeJ6AfZUqj7onK1JUdU0uv1eNw= X-Riseup-User-ID: 09C6A741B334C0D6AC93C9774275BEDB3F4334BF6EEB3178E4645CF7DE2F579A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBF4hKczJntF; Mon, 24 Jul 2023 20:26:13 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:06 -0500 Message-ID: <20230724202532.8993-4-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-data-array-byte): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 71df4192dc..4be7bd970c 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2022 jgart ;;; Copyright © 2023 Josselin Poiret ;;; Copyright © 2023 zamfofex +;;; Copyright © 2023 Camilo Q.S. (Distopico) ;;; ;;; This file is part of GNU Guix. ;;; @@ -2612,6 +2613,28 @@ (define-public ghc-csv lingua franca for spreadsheets, and for certain web services.") (license license:expat))) +(define-public ghc-data-array-byte + (package + (name "ghc-data-array-byte") + (version "0.1.0.1") + (source (origin + (method url-fetch) + (uri (hackage-uri "data-array-byte" version)) + (sha256 + (base32 + "002n0af7q08q3fmgsc5b47s1clirxy0lrqglwxzhabg0nfhfrdhv")))) + (build-system haskell-build-system) + (properties '((upstream-name . "data-array-byte"))) + (native-inputs (list ghc-tasty ghc-tasty-quickcheck + ghc-quickcheck-classes-base)) + (home-page "https://hackage.haskell.org/package/data-array-byte") + (synopsis "Haskell compatibility layer for Data.Array.Byte") + (description + "This package provides Haskell compatibility layer for @code{Data.Array.Byte}, +providing boxed wrappers for @code{ByteArray} and @code{MutableByteArray} and relevant +instances for GHC < 9.4.") + (license license:bsd-3))) + (define-public ghc-data-accessor (package (name "ghc-data-accessor") From patchwork Mon Jul 24 20:23:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52170 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 9DA9527BBE9; Mon, 24 Jul 2023 21:27:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DB72027BBE2 for ; Mon, 24 Jul 2023 21:27:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29B-0001mI-47; Mon, 24 Jul 2023 16:27:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO292-0001kE-AY for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO292-00008c-39 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO291-00054t-Va for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 05/12] gnu: Add ghc-pooled-io. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023038419373 (code B ref 64840); Mon, 24 Jul 2023 20:27:03 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:24 +0000 Received: from localhost ([127.0.0.1]:44209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28N-00052K-BK for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:23 -0400 Received: from mx1.riseup.net ([198.252.153.129]:46778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28K-00051J-Lu for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:21 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4R8sBH2NYzzDqgD for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230375; bh=CdUm3g9xskfoqOZLG9VHKnbD+/OZHLO2GsEUfm/Wsg8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hpPsZZisJLQ4KfFgjvTfYPAjaqpeVKNa8IKLRJwr4DP0t3lzUl0cIG0vtKgevgjve 2oAlcAS+EG5lgIZ0GepzeZxc6FsVjJiGOYA0zxeRcEqpbLlzzxcRQc67VYMTVy6pFN 9zqq7lss7u/tYd414WPHauXx3FFRSpCpWDB3GDbs= X-Riseup-User-ID: B6A23C33881E58F511CA748F2450734ED47437DE19D51FDF4B6F9BE3AD0CB353 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBG4K0yzJntF; Mon, 24 Jul 2023 20:26:14 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:07 -0500 Message-ID: <20230724202532.8993-5-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-pooled-io): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 4be7bd970c..879d662da6 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8987,6 +8987,29 @@ (define-public ghc-pipes @end itemize") (license license:bsd-3))) +(define-public ghc-pooled-io + (package + (name "ghc-pooled-io") + (version "0.0.2.3") + (source (origin + (method url-fetch) + (uri (hackage-uri "pooled-io" version)) + (sha256 + (base32 + "0ysgfwlppilj21sqhbcq7xbyc5hnc26mzb58y7mm9rd5piw3v7mc")))) + (build-system haskell-build-system) + (properties '((upstream-name . "pooled-io"))) + (inputs (list ghc-utility-ht ghc-unsafe ghc-concurrent-split)) + (home-page "https://hub.darcs.net/thielema/pooled-io") + (synopsis + "Run jobs on a limited number of threads and support data dependencies") + (description + "This package provide run computations on multiple cores that need to write +intermediate results to disk. The functions restrict the number of simultaneously +running jobs to a user given number or to the number of capabilities the Haskell +program.") + (license license:bsd-3))) + (define-public ghc-pointedlist (package (name "ghc-pointedlist") From patchwork Mon Jul 24 20:23:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52176 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 87A9827BBE2; Mon, 24 Jul 2023 21:27:54 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DE7FC27BBEE for ; Mon, 24 Jul 2023 21:27:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29C-0001mS-Ar; Mon, 24 Jul 2023 16:27:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO292-0001kN-MG for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO292-00008j-F4 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO292-000550-B5 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 06/12] gnu: Add ghc-text. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023039119414 (code B ref 64840); Mon, 24 Jul 2023 20:27:04 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:31 +0000 Received: from localhost ([127.0.0.1]:44217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28U-000533-U3 for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:31 -0400 Received: from mx0.riseup.net ([198.252.153.6]:48050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28L-00051M-Ix for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:22 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sBJ1qg4z9tJW for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230376; bh=TRvlSNR2NmszCz0eJhpYXb9RtUrzMbqKykie4V4zCFU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MNngqQ58di/845pkhuIlBTcWY79tlEEyyc0yTta0K3XYMIVmCuOJ8w4rxOLp4C6Xf Q2vOyRX71b3Yc9OVyZrDAroK8LfubpK0s/Muyc3ji0u/INeJjbJLKo1aFmejgPgkiQ YcWqRjp1KGQLqK28wKe9nK3le4UXhIj/XNLoqVfw= X-Riseup-User-ID: 4C9C061DF6896AC48D241448BBFA1760D8C06DA07DE4FFD8646B7A70899CB16D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBH40BdzJntF; Mon, 24 Jul 2023 20:26:15 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:08 -0500 Message-ID: <20230724202532.8993-6-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-text): New variable. --- gnu/packages/haskell-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 879d662da6..f25fb89950 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -12098,6 +12098,32 @@ (define-public ghc-tar-conduit interface for extracting and creating tar files.") (license license:expat))) +(define-public ghc-text + (package + (name "ghc-text") + (version "2.0.2") + (source (origin + (method url-fetch) + (uri (hackage-uri "text" version)) + (sha256 + (base32 + "1bggb4gq15r7z685w7c7hbm3w4n6day451ickz70d1l919jvwdf7")))) + (build-system haskell-build-system) + (properties '((upstream-name . "text"))) + (arguments + ;; Disable otherwise crate a circular + ;; dependency with tasty + (list #:tests? #f)) + (home-page "https://hackage.haskell.org/package/text") + (synopsis "Haskell library for immutable Unicode text type") + (description + "This package provides a library for immutable Unicode text type +(both strict and lazy). The Text type represents Unicode character +strings, in a time and space-efficient manner. Also provides text +processing capabilities that are optimized for performance critical +use, both in terms of large data quantities and high speed.") + (license license:bsd-2))) + (define-public ghc-temporary (package (name "ghc-temporary") From patchwork Mon Jul 24 20:23:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52169 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 EAFF727BBEA; Mon, 24 Jul 2023 21:27:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 56A9527BBE2 for ; Mon, 24 Jul 2023 21:27:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29B-0001mO-KP; Mon, 24 Jul 2023 16:27:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO294-0001kd-4l for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO292-00008o-Q5 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO292-000557-MM for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 07/12] gnu: Add ghc-relude. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023039119420 (code B ref 64840); Mon, 24 Jul 2023 20:27:04 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:31 +0000 Received: from localhost ([127.0.0.1]:44219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28V-000535-9h for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:31 -0400 Received: from mx0.riseup.net ([198.252.153.6]:48056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28M-00051T-IZ for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:23 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sBK1q2mz9tMN for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230377; bh=WUs4fSTH9pFTEPL/8PiDm0C/UQoxhAw8lVSSxEr7uYk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Pus4SsdEL3zRGZH8uvMneNJQ3lDf+x4Kq0U1/eWjRoN8sNMDP5/MJiEDAcwnTgm1F Run1NvgqBCTq7fkkmdqYWwNL2iPaaJtolZ6YgAu/vQjV/ms+JgxoWe0kUY223APrCm lY6xyCGGT9hQH+1a/UfVVAVWAzFg8Vil9M4lS3Zs= X-Riseup-User-ID: 4E0F909159146CC75301B00017D96741FDF1B6BCA6EEEB92033A2027901A6B63 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBJ3lvNzJntF; Mon, 24 Jul 2023 20:26:16 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:09 -0500 Message-ID: <20230724202532.8993-7-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-relude): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f25fb89950..837c8ade16 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -10052,6 +10052,29 @@ (define-public ghc-regex-tdfa inspired by libtre.") (license license:bsd-3))) +(define-public ghc-relude + (package + (name "ghc-relude") + (version "1.1.0.0") + (source (origin + (method url-fetch) + (uri (hackage-uri "relude" version)) + (sha256 + (base32 + "02dn99v2qmykj0l1qmn15k36hyxccy71b7iqavfk24zgjf5g07dm")))) + (build-system haskell-build-system) + (properties '((upstream-name . "relude"))) + (arguments + (list #:tests? #f)) + (native-inputs (list ghc-doctest ghc-glob)) + (inputs (list ghc-text ghc-hashable ghc-unordered-containers)) + (home-page "https://hackage.haskell.org/package/relude") + (synopsis "Haskell standard library alternative for prelude library") + (description + "This package provide an haskell standard library alternative for +the default haskell prelude library.") + (license license:expat))) + (define-public ghc-repline (package (name "ghc-repline") From patchwork Mon Jul 24 20:23:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52177 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 76E4427BBE2; Mon, 24 Jul 2023 21:27:56 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BC98427BBEB for ; Mon, 24 Jul 2023 21:27:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29H-0001oi-7e; Mon, 24 Jul 2023 16:27:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO294-0001ke-4z for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO293-00008t-5R for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO293-00055F-1Y for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 08/12] gnu: Add ghc-concurrent-split. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023039219430 (code B ref 64840); Mon, 24 Jul 2023 20:27:05 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:32 +0000 Received: from localhost ([127.0.0.1]:44221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28V-00053G-Lj for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:31 -0400 Received: from mx0.riseup.net ([198.252.153.6]:48062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28N-00051U-Gc for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:23 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sBL1Rbjz9tNl for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230378; bh=wAhD2Kkk2rHaFOu3lk534I69ovhf8UZiZYZJVawoU6k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L/rNj6NefjdV4uTpbJGYSSNphOlsAIm4/SaKWJLjK6QmP02TOlXVsodl2Q5Hs5GeO KD1SzWjL9C15tSYNVBE8Swmq/mWABPum7IAaXNpos5hpavDS1iXTxKTopI6Ob2Dyq9 WjFInwH8a7M2L9FsrzgKL9h6flNeXOk/msNhFskM= X-Riseup-User-ID: BFA83D4CEF558DF94C7D388E08213F7D1DEE7024FB13466780A5E12504E6C67C Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBK3VL0zJntF; Mon, 24 Jul 2023 20:26:17 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:10 -0500 Message-ID: <20230724202532.8993-8-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-concurrent-split): New variable. --- gnu/packages/haskell-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 837c8ade16..34a1a32cc7 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13345,6 +13345,26 @@ (define-public ghc-unordered-containers-bootstrap (native-inputs '()) (properties '((hidden? #t))))) +(define-public ghc-concurrent-split + (package + (name "ghc-concurrent-split") + (version "0.0.1.1") + (source (origin + (method url-fetch) + (uri (hackage-uri "concurrent-split" version)) + (sha256 + (base32 + "0i9gak7q3ay8g1kzq7dg0bs36bg88n7kwy3h1r6jrni7mz7jh05f")))) + (build-system haskell-build-system) + (properties '((upstream-name . "concurrent-split"))) + (home-page "https://hub.darcs.net/thielema/concurrent-split") + (synopsis "MVars and Channels with distinguished input and output side") + (description + "This package provides MVars and Channels with distinguished input and +output side around the standard concurrency communication channels that make +the distinction clear and type safe.") + (license license:bsd-3))) + (define-public ghc-commutative-semigroups (package (name "ghc-commutative-semigroups") From patchwork Mon Jul 24 20:23:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52171 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 A6FBB27BBE2; Mon, 24 Jul 2023 21:27:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EDF2527BBEA for ; Mon, 24 Jul 2023 21:27:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29H-0001oM-42; Mon, 24 Jul 2023 16:27:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO294-0001kj-5P for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO293-00008v-GT for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO293-00055M-Ch for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 09/12] gnu: Add ghc-hspec-golden. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023039219437 (code B ref 64840); Mon, 24 Jul 2023 20:27:05 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:32 +0000 Received: from localhost ([127.0.0.1]:44223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28W-00053L-0l for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:32 -0400 Received: from mx0.riseup.net ([198.252.153.6]:48064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28O-00051c-Fi for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:24 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sBM12HXz9tV9 for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230379; bh=l81vUC7cFeLCDiN6KdkxVNVMArQD8m+wPLXfu7qn74k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EspABOwBkxMONKyPgB4Ma8GjNpqIom7rytqRAcK0OuYS+ZZfC4M3n4FXc2eOkTYu8 XLO+s78I7UtypuCNerlUxKf2xz7EuuREqEAn/IGRj0XPzBMDagBHGoPI8gjb3mkI7Z a7hp7lqVKavMfu0AlT6UtGqs/TvW4Pgf86r2DaBs= X-Riseup-User-ID: DB363E9B5E5A15163EC0DBC841F0381B7E60FF34177A2AA16F0EE8114F5134A6 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBL39HQzJntF; Mon, 24 Jul 2023 20:26:18 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:11 -0500 Message-ID: <20230724202532.8993-9-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-hspec-golden): New variable. --- gnu/packages/haskell-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 34a1a32cc7..e3c5d525b1 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16606,6 +16606,32 @@ (define-public ghc-newtype such as ala'.") (license license:bsd-3))) +(define-public ghc-hspec-golden + (package + (name "ghc-hspec-golden") + (version "0.2.1.0") + (source (origin + (method url-fetch) + (uri (hackage-uri "hspec-golden" version)) + (sha256 + (base32 + "07bfwj10n75l5zskwx4yzi86xxp5b4f692bjjkqs5b970h6gw33y")))) + (build-system haskell-build-system) + (properties '((upstream-name . "hspec-golden"))) + (inputs (list ghc-hspec + ghc-hspec-core + ghc-silently + ghc-optparse-applicative + hspec-discover)) + (home-page "https://hackage.haskell.org/package/hspec-golden") + (synopsis "Haskell golden tests for hspec") + (description + "This package provides golden tests store the expected output in a +separated file. +Each time a golden test is executed the output of the subject +under test (SUT) is compared with the expected output.") + (license license:expat))) + (define-public ghc-hspec-hedgehog (package (name "ghc-hspec-hedgehog") From patchwork Mon Jul 24 20:23:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52172 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 59A7A27BBE9; Mon, 24 Jul 2023 21:27:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1DFFD27BBE2 for ; Mon, 24 Jul 2023 21:27:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29F-0001nU-DF; Mon, 24 Jul 2023 16:27:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO294-0001kk-65 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO293-00008z-Rq for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO293-00055T-O2 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 10/12] gnu: Add ghc-bimap. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023039219444 (code B ref 64840); Mon, 24 Jul 2023 20:27:05 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:32 +0000 Received: from localhost ([127.0.0.1]:44225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28W-00053S-Ax for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:32 -0400 Received: from mx0.riseup.net ([198.252.153.6]:48076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28P-00051k-Cp for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:25 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sBN0X6Sz9tGy for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230380; bh=A75npc6NpLMfFJwCgKjQGi/41C5PHfZqy2Exg/IcR8I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WQtxx3NYJwMnDAcGbZSQp08Q92++clmJjHNOQts1V+IIPaTw84hqio1Xm9xIMtRMQ dIndO9uChN5CVhDpk7Fr0PmbF+gyVYZG7ZOIbiKlzVjVXkvxeyziSzAloZUt+aq6XB Sk0MPnjkx1/kzia6ihx8z+RhxVjjJWITxZp+8kDo= X-Riseup-User-ID: 831E306A845EC31924265C4C2CADD7C4607A8E86ABF2AA827725BF5C103C13BF Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBM2pl6zJntF; Mon, 24 Jul 2023 20:26:19 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:12 -0500 Message-ID: <20230724202532.8993-10-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-bimap): New variable. --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index e3c5d525b1..337dcac4d8 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -936,6 +936,27 @@ (define-public ghc-bencode storing and transmitting loosely structured data.") (license license:bsd-3))) +(define-public ghc-bimap + (package + (name "ghc-bimap") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (hackage-uri "bimap" version)) + (sha256 + (base32 + "158cdwk9jwklcfgbn62dqq255i40w13ifggsdps87sxc5q7lpd5h")))) + (build-system haskell-build-system) + (properties '((upstream-name . "bimap"))) + (native-inputs (list ghc-quickcheck)) + (home-page "https://hackage.haskell.org/package/bimap") + (synopsis "Bidirectional mapping between two key types for Haskell") + (description + "This pckage provides data structure representing a bidirectional +mapping between two key types. Each value in the bimap is associated +with exactly one value of the opposite type.") + (license license:bsd-3))) + (define-public ghc-bifunctors (package (name "ghc-bifunctors") From patchwork Mon Jul 24 20:23:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52178 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 C9E5027BBE2; Mon, 24 Jul 2023 21:27:57 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A81A827BBE9 for ; Mon, 24 Jul 2023 21:27:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29E-0001n0-6Y; Mon, 24 Jul 2023 16:27:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO294-0001l5-FQ for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO294-00009J-77 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO294-00055b-2y for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 11/12] gnu: Fix missing required ghc-text dependency. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023039319451 (code B ref 64840); Mon, 24 Jul 2023 20:27:06 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:33 +0000 Received: from localhost ([127.0.0.1]:44227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28W-00053Z-NH for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:33 -0400 Received: from mx1.riseup.net ([198.252.153.129]:55478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28Q-00051s-EZ for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:26 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4R8sBP0XqvzDqch for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230381; bh=Pbt3YrL/uhVfRWA94IqhgIUYodkrzGcUemZ8VH2ITZ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nQrfhm4jC8242+AiiQ9+pRPUWcX6XyP1i/G46oq6IwTanaiOFqBUjlKfEmihkGoY1 3tXTZEAIRLnn+GcyYgXMwdTF5S/JOxdt5GTFhjWA6plV9E54yozbptgRZtIjFt+Jo6 X9FygqDiTQs3e20Z2fcBgHRjAYKXLJ0Pt1WIXrC4= X-Riseup-User-ID: 61C21C031A34B5FF845D198D996588CB5646F3839A97B236A35C2BE09BE1DC65 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBN2V3ZzJntF; Mon, 24 Jul 2023 20:26:20 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:13 -0500 Message-ID: <20230724202532.8993-11-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Several package require `text` haskell library as dependency but those are using the internal haskell type creation a mismatch of types An example of this is https://hackage.haskell.org/package/pretty-show-1.10/dependencies * gnu/packages/haskell-xyz.scm. --- gnu/packages/haskell-xyz.scm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 337dcac4d8..f1955dd1c2 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -425,7 +425,7 @@ (define-public ghc-ansi-wl-pprint `(#:cabal-revision ("2" "1xrv66v5hqchjhj8a0g3awy1qpsswk2jqb4w4yh3mm1py5s0dlr0"))) (inputs - (list ghc-ansi-terminal)) + (list ghc-text ghc-ansi-terminal)) (home-page "https://github.com/ekmett/ansi-wl-pprint") (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output") (description "This is a pretty printing library based on Wadler's paper @@ -1494,7 +1494,7 @@ (define-public ghc-cassava @item Customizable record-conversion instance derivation via GHC generics @item -Low-level @url{https://hackage.haskell.org/package/bytestring), bytestring} +Low-level @url{https://hackage.haskell.org/package/bytestring, bytestring} builders (see @url{https://hackage.haskell.org/package/cassava-0.5.2.0/docs/ Data-Csv-Builder.html, Data.Csv.Builder}) @item @@ -4904,6 +4904,7 @@ (define-public ghc-hashable (build-system haskell-build-system) (properties '((upstream-name . "hashable"))) (native-inputs (list ghc-hunit + ghc-text ghc-quickcheck ghc-random ghc-test-framework @@ -8207,7 +8208,7 @@ (define-public ghc-optparse-applicative "097p1bkvw9r3rvcr65w53yw14drb0s46ldkkl1jbmq5g7m6jwnw2")))) (build-system haskell-build-system) (properties '((upstream-name . "optparse-applicative"))) - (inputs (list ghc-transformers-compat ghc-ansi-wl-pprint)) + (inputs (list ghc-text ghc-transformers-compat ghc-ansi-wl-pprint)) (native-inputs (list ghc-quickcheck)) (home-page "https://github.com/pcapriotti/optparse-applicative") (synopsis "Utilities and combinators for parsing command line options") @@ -9232,7 +9233,7 @@ (define-public ghc-pretty-show (build-system haskell-build-system) (properties '((upstream-name . "pretty-show"))) (inputs - (list ghc-haskell-lexer ghc-happy)) + (list ghc-text ghc-haskell-lexer ghc-happy)) (home-page "https://wiki.github.com/yav/pretty-show") (synopsis "Tools for working with derived `Show` instances") (description @@ -9947,6 +9948,7 @@ (define-public ghc-regex-base "1w9fxad1dwi040r3db9i2cjhhrl86p3hngj13ixbcnqgb27l16bv")))) (build-system haskell-build-system) (properties '((upstream-name . "regex-base"))) + (inputs (list ghc-text)) (arguments `(#:cabal-revision ("1" "1k2gzjm7xz69f7zr08wh2wzb5dhb659cvimsvx0g9p8cf5f45x2g"))) @@ -10816,7 +10818,7 @@ (define-public ghc-semigroups "1qbk6scp1rzb69dy8mz26p6az5vi16g2lzwmwnfshh3br4rjwbch")))) (build-system haskell-build-system) (properties '((upstream-name . "semigroups"))) - (inputs (list ghc-nats ghc-tagged ghc-hashable ghc-unordered-containers + (inputs (list ghc-text ghc-nats ghc-tagged ghc-hashable ghc-unordered-containers ghc-transformers-compat)) (home-page "http://github.com/ekmett/semigroups/") (synopsis "Semigroup operations for Haskell") @@ -14053,6 +14055,7 @@ (define-public ghc-wl-pprint-annotated "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb")))) (build-system haskell-build-system) (properties '((upstream-name . "wl-pprint-annotated"))) + (inputs (list ghc-text)) (native-inputs (list ghc-tasty ghc-tasty-hunit)) (home-page @@ -14224,6 +14227,7 @@ (define-public ghc-xml "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j")))) (build-system haskell-build-system) (properties '((upstream-name . "xml"))) + (inputs (list ghc-text)) (home-page "https://github.com/GaloisInc/xml") (synopsis "Simple XML library for Haskell") (description "This package provides a simple XML library for Haskell.") @@ -16909,4 +16913,3 @@ (define-public ghc-ref-tf ;;; of a merge conflict, place them above by existing packages with similar ;;; functionality or similar names. ;;; - From patchwork Mon Jul 24 20:23:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52179 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 11B5027BBEA; Mon, 24 Jul 2023 21:28:00 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AB22A27BBE2 for ; Mon, 24 Jul 2023 21:27:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29I-0001p1-D4; Mon, 24 Jul 2023 16:27:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO294-0001l7-Q2 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:08 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO294-00009Q-Hu for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO294-00055k-EN for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 12/12] gnu: Add elm-format. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023039419457 (code B ref 64840); Mon, 24 Jul 2023 20:27:06 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:34 +0000 Received: from localhost ([127.0.0.1]:44229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28X-00053g-Ec for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:34 -0400 Received: from mx0.riseup.net ([198.252.153.6]:48082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28R-00051y-CE for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:28 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sBQ02Syz9tVr for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230382; bh=Y5KW/nV4n2loILQ0OvfTyoMFkNCwuIDGPndOgtGPpn8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RdyQRfCVt2fxZNvAiI0mXKZLvONpONRpd/nHi2omc+ByUXAgnb1mBm5qiQTCBF2X8 /ZXkzpgFN6ZqAiNJHw0nB4sCOym20X1Nwxu91JgZEd+CwkqO1jDLoy+5XbPoZFoqHH /DNF/zLuxBRqqBfVTuPnJqu22T6NtrWK6dGC7vgs= X-Riseup-User-ID: 1489D06B7A9FB2A5FB20DF6C417688C1674103A5A37CBA07129DD76A731FCEC9 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBP2Cn4zJnsj; Mon, 24 Jul 2023 20:26:21 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:14 -0500 Message-ID: <20230724202532.8993-12-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/elm.scm (elm-format): New variable. --- gnu/packages/elm.scm | 197 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm index a74d294ae5..5361634abb 100644 --- a/gnu/packages/elm.scm +++ b/gnu/packages/elm.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2019 Robert Vollmert ;;; Copyright © 2022 Philip McGrath ;;; Copyright © 2022 jgart +;;; Copyright © 2023 Camilo Q.S. (Distopico) ;;; ;;; This file is part of GNU Guix. ;;; @@ -384,6 +385,202 @@ (define-public elm-bytes and @code{DataView}.") (license license:bsd-3))) +(define elm-format-avh4-lib + (let ((commit "b5cca4c26b473dab06e5d73b98148637e4770d45")) + (package + (name "elm-format-avh4-lib") + (version "0.0.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/avh4/elm-format") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi")))) + (build-system haskell-build-system) + (properties '((upstream-name . "avh4-lib") (hidden? #t))) + (arguments + ;; Require and use ghc-text but ghc doesn't detect it + `(#:configure-flags (list "--ghc-option=-Wno-error=unused-packages") + #:tests? #f + #:phases (modify-phases %standard-phases + (add-after 'unpack 'enter-lib-subdirectory + (lambda _ + (chdir "avh4-lib")))))) + (inputs (list ghc-pooled-io ghc-text ghc-relude)) + (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-tasty-hspec)) + (home-page "https://github.com/avh4/elm-format/tree/main/avh4-lib") + (synopsis "Common code for elm-format packages") + (description + "This packages provides common code for @command{elm-format} haskell projects.") + (license license:bsd-3)))) + +(define elm-format-test-lib + (let ((commit "b5cca4c26b473dab06e5d73b98148637e4770d45")) + (package + (name "elm-format-test-lib") + (version "0.0.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/avh4/elm-format") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi")))) + (build-system haskell-build-system) + (properties '((upstream-name . "elm-format-test-lib") (hidden? #t))) + (arguments + `(#:tests? #f + #:phases (modify-phases %standard-phases + (add-after 'unpack 'enter-lib-subdirectory + (lambda _ + (chdir "elm-format-test-lib")))))) + (inputs (list elm-format-avh4-lib ghc-split ghc-text)) + (native-inputs (list ghc-hspec-golden ghc-hspec ghc-tasty-hspec + ghc-tasty-hunit)) + (home-page + "https://github.com/avh4/elm-format/tree/main/elm-format-test-lib") + (synopsis "Test helpers used by elm-format") + (description "This package provides elf-format helpers for test used by +@command{elm-format}, elm-format-tests and elm-refactor-tests.") + (license license:bsd-3)))) + +(define elm-format-markdown + (let ((commit "b5cca4c26b473dab06e5d73b98148637e4770d45")) + (package + (name "elm-format-markdown") + (version "0.0.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/avh4/elm-format") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi")))) + (build-system haskell-build-system) + (properties '((upstream-name . "elm-format-markdown") (hidden? #t))) + (arguments + `(#:tests? #f + #:phases (modify-phases %standard-phases + (add-after 'unpack 'enter-lib-subdirectory + (lambda _ + (chdir "elm-format-markdown")))))) + (inputs (list elm-format-avh4-lib ghc-split ghc-text)) + (native-inputs (list ghc-hspec-golden ghc-tasty ghc-tasty-hunit + ghc-tasty-hspec)) + (home-page + "https://github.com/avh4/elm-format/blob/main/elm-format-markdown") + (synopsis "Markdown parsing for Elm documentation comments") + (description "This package provides an markdown parsing for Elm +documentation comments used by @command{elm-format}.") + (license license:bsd-3)))) + +(define elm-format-lib + (let ((commit "b5cca4c26b473dab06e5d73b98148637e4770d45")) + (package + (name "elm-format-lib") + (version "0.0.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/avh4/elm-format") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi")))) + (build-system haskell-build-system) + (properties '((upstream-name . "elm-format-lib") (hidden? #t))) + (arguments + `(#:tests? #f + #:phases (modify-phases %standard-phases + (add-after 'unpack 'enter-lib-subdirectory + (lambda _ + (chdir "elm-format-lib")))))) + (inputs + (list elm-format-avh4-lib + elm-format-markdown + ghc-optparse-applicative + ghc-aeson-2.1 + ghc-bimap + ghc-relude + ghc-text)) + (native-inputs + (list elm-format-test-lib + ghc-split + ghc-hspec + ghc-tasty + ghc-tasty-hspec + ghc-tasty-hunit)) + (home-page "https://github.com/avh4/elm-format/blob/main/elm-format-lib") + (synopsis "Common code used by elm-format") + (description "This package provides elm-format library with common code +used by @command{elm-format} and elm-refactor.") + (license license:bsd-3)))) + +(define-public elm-format + (package + (name "elm-format") + (version "0.8.7") + (source (origin + (method git-fetch) + (file-name (git-file-name name version)) + (uri (git-reference + (url "https://github.com/avh4/elm-format") + (commit version))) + (sha256 + (base32 + "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi")) + (modules '((guix build utils))) + (snippet + '(begin + ;; We don't build these library in this packages. + (delete-file-recursively "avh4-lib") + (delete-file-recursively "elm-format-lib") + (delete-file-recursively "elm-format-test-lib") + (delete-file-recursively "elm-format-markdown"))))) + (build-system haskell-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'configure 'ganerate-build-file + (lambda _ + ;; We need crate manually this build file + ;; because elm-format use `hpack`. + (mkdir "generated") + (let ((f (open-file "generated/Build_elm_format.hs" "a"))) + (display "module Build_elm_format where\n" f) + (display "gitDescribe :: String\n" f) + (display (string-append "gitDescribe = \"" + ,(package-version elm-format) + "\"") f) + (close-port f))))))) + (inputs + (list elm-format-avh4-lib + elm-format-lib + ghc-aeson + ghc-text + ghc-relude + ghc-aeson-2.1 + ghc-ansi-wl-pprint + ghc-quickcheck + ghc-hspec)) + (native-inputs + (list elm-format-test-lib ghc-tasty ghc-tasty-quickcheck + ghc-tasty-hunit ghc-tasty-hspec)) + (home-page "https://github.com/avh4/elm-format") + (synopsis "Source code formatter for Elm programming language") + (description + "Formats @url{https://elm-lang.org/, Elm} programming language +source code according to a standard set of rules based on the +@url{https://elm-lang.org/docs/style-guide, official Elm Style Guide}.") + (license license:bsd-3))) + (define-public elm-file (package (name "elm-file")