From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:17:05 2023 Received: (at submit) by debbugs.gnu.org; 24 Jul 2023 20:17:05 +0000 Received: from localhost ([127.0.0.1]:44185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO1zN-0004nk-1z for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:17:05 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO1zI-0004nA-UE for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:17:03 -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 1qO1zC-0007rU-QQ for guix-patches@gnu.org; Mon, 24 Jul 2023 16:16:54 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO1zB-0005hR-75 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:16:54 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (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 4R8rzQ57nHzDqJp for ; Mon, 24 Jul 2023 20:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690229810; bh=Exa53eHy7qXng3GWPryCLcj6olzFvrjpDR3uIUzXMyU=; h=From:To:Cc:Subject:Date:From; b=Ligm4aQjcLs+rQCzasAhAIO9iW6I/FsP6kgMxpYY9L4Mdi026OzxLu85A8Mf8TJPl heP52PeC0JMCFzhEhNjpfTZJSQQ7D2R1jdnbQm7S1ETIJDImJnecaxlu3/d5H98oDy DjNkLupeNgLeZ624h5TjHyRXr7scDtJXehlcv0rw= X-Riseup-User-ID: 0A402CA25F16C01942D86797C954C7F0CAB4BDB112BB6D9F1ADF2C866E80B730 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4R8rzQ06YwzFrHr; Mon, 24 Jul 2023 20:16:49 +0000 (UTC) From: Distopico To: guix-patches@gnu.org Subject: [PATCH 00/12] Add elm-format. Date: Mon, 24 Jul 2023 15:15:37 -0500 Message-ID: <20230724201632.2095-1-distopico@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=distopico@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Adds `elm-format` tool form Elm language and all the depdencies required to build it, Also, this fixes various ghc packages that didn't have 'text' as an explicit dependency and were using the internal type, which created a type conflict manifested when building elm-format, which required a version greater than what the other packages were using. Distopico (12): gnu: ghc-quickcheck-instances: Update to 0.3.29. gnu: Add ghc-generically. gnu: Add ghc-aeson-2.1. gnu: Add ghc-data-array-byte. gnu: Add ghc-pooled-io. gnu: Add ghc-text. gnu: Add ghc-relude. gnu: Add ghc-concurrent-split. gnu: Add ghc-hspec-golden. gnu: Add ghc-bimap. gnu: Fix missing required ghc-text dependency. gnu: Add elm-format. gnu/packages/elm.scm | 197 +++++++++++++++++++++++++++++++++ gnu/packages/haskell-check.scm | 6 +- gnu/packages/haskell-web.scm | 40 ++++++- gnu/packages/haskell-xyz.scm | 177 ++++++++++++++++++++++++++++- 4 files changed, 411 insertions(+), 9 deletions(-) base-commit: cf9904bcc8dd03e73675475bb4d8746dc434e415 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:06 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 01/12] gnu: ghc-quickcheck-instances: Update to 0.3.29. Date: Mon, 24 Jul 2023 15:23:03 -0500 Message-ID: <20230724202532.8993-1-distopico@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:19 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 02/12] gnu: Add ghc-generically. 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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))) - -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:22 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 03/12] gnu: Add ghc-aeson-2.1. 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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:23 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 04/12] gnu: Add ghc-data-array-byte. 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:23 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 05/12] gnu: Add ghc-pooled-io. 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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:31 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 06/12] gnu: Add ghc-text. 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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:31 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 07/12] gnu: Add ghc-relude. 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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:32 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 08/12] gnu: Add ghc-concurrent-split. 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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:32 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 09/12] gnu: Add ghc-hspec-golden. 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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:32 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 10/12] gnu: Add ghc-bimap. 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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:33 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 11/12] gnu: Fix missing required ghc-text dependency. 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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. ;;; - -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 16:26:34 2023 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 To: 64840@debbugs.gnu.org Subject: [PATCH 12/12] gnu: Add elm-format. 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: Distopico X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 13:50:36 2023 Received: (at 64840) by debbugs.gnu.org; 31 Aug 2023 17:50:36 +0000 Received: from localhost ([127.0.0.1]:56971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbloS-0004eD-HI for submit@debbugs.gnu.org; Thu, 31 Aug 2023 13:50:36 -0400 Received: from mx0.riseup.net ([198.252.153.6]:54736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbloQ-0004dy-Ss for 64840@debbugs.gnu.org; Thu, 31 Aug 2023 13:50:35 -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 mx0.riseup.net (Postfix) with ESMTPS id 4Rc7wr24k4z9t8D; Thu, 31 Aug 2023 17:50:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1693504220; bh=YQ6SYpFHyIqh2V2+6Esb5F8F3z2kzI6ou+kYFcc90Gs=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=IEEGTxsJLEg4ZGCjF8TUnB8Nr97OJIpveZwHzDZBhADBfVnjD9WAx/BO/eHzTcdet ikMIpaiZrMfrmJ8pVv/mUbqBY8w+6tO+0fNJAiqPGxG0b223sa5f4W4aaHrMB6b08z HsDNhcyMkwytZb4GOXOmrdJ895ISHqozhee/cOIU= X-Riseup-User-ID: 30B1C2678BC8EEE8CAEE95A136220B95F5D8551B89BDFC1EA6390C7B71A3C263 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4Rc7wq3RsPzJp0d; Thu, 31 Aug 2023 17:50:19 +0000 (UTC) References: <20230724201632.2095-1-distopico@riseup.net> From: Distopico To: 64840@debbugs.gnu.org Subject: Re: [PATCH 00/12] Add elm-format. Date: Thu, 31 Aug 2023 12:48:13 -0500 X-Debbugs-Cc: paren@disroot.org, mail@cbaines.net, ludo@gnu.org, othacehe@gnu.org, rg@raghavgururajan.name, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, jgart@dismail.de In-reply-to: <20230724201632.2095-1-distopico@riseup.net> Message-ID: <87o7ingkyv.fsf@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64840 Cc: lars@6xq.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Hi All, Just a friendly reminder about this one, any feedback? Best! On 2023-07-24, Distopico wrote: > Adds `elm-format` tool form Elm language and all the depdencies required to build it, > > Also, this fixes various ghc packages that didn't have 'text' as an explicit dependency and > were using the internal type, which created a type conflict manifested when building elm-format, > which required a version greater than what the other packages were using. > > Distopico (12): > gnu: ghc-quickcheck-instances: Update to 0.3.29. > gnu: Add ghc-generically. > gnu: Add ghc-aeson-2.1. > gnu: Add ghc-data-array-byte. > gnu: Add ghc-pooled-io. > gnu: Add ghc-text. > gnu: Add ghc-relude. > gnu: Add ghc-concurrent-split. > gnu: Add ghc-hspec-golden. > gnu: Add ghc-bimap. > gnu: Fix missing required ghc-text dependency. > gnu: Add elm-format. > > gnu/packages/elm.scm | 197 +++++++++++++++++++++++++++++++++ > gnu/packages/haskell-check.scm | 6 +- > gnu/packages/haskell-web.scm | 40 ++++++- > gnu/packages/haskell-xyz.scm | 177 ++++++++++++++++++++++++++++- > 4 files changed, 411 insertions(+), 9 deletions(-) > > > base-commit: cf9904bcc8dd03e73675475bb4d8746dc434e415 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEEvYwofabWO6y953lVmAk6gHJUa/MFAmTw0tgVHGRpc3RvcGlj b0ByaXNldXAubmV0AAoJEJgJOoByVGvznTsIAIy3KvM/U627CfFZu876U34LfpME jbpa/TsnrMmBn8v9IPrn1fVAF7+cXDi/K7CEaSIrqlsOW5CEaz8DIu+TvUgyRNdJ jTZ3kdy+dWePGJebLlu2/qR781njOnZNgJSP9lZBeIogv1fBbc3jasECgCFeGRdE N6Dv2Ky6zRL4zae690JWypLTbyLkP5t3g1CugC/cFIkAlff0NM/VnCu/+3GiPGT6 zz/OuykIcI8SIzZ2TPFz3qw3vUbhw8YPtFjSD8F87hLwyiOhPH//TezDjf7ucKqe aqhyhawQXxMlHP/xOpgBDUJ946hDaWr2EM0Jf6AbqgwRBgrV/U3qnUoz07M= =CPzR -----END PGP SIGNATURE----- --=-=-=--