From unknown Sat Jun 14 19:45:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#57139] [PATCH] Add package ghc-roman-numerals Resent-From: Alice BRENON Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Aug 2022 13:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57139@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166022287620748 (code B ref -1); Thu, 11 Aug 2022 13:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Aug 2022 13:01:16 +0000 Received: from localhost ([127.0.0.1]:52032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM7oJ-0005OZ-Uy for submit@debbugs.gnu.org; Thu, 11 Aug 2022 09:01:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:57774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM7oG-0005OM-7q for submit@debbugs.gnu.org; Thu, 11 Aug 2022 09:01:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM7oG-0004fa-0J for guix-patches@gnu.org; Thu, 11 Aug 2022 09:01:12 -0400 Received: from lxc-smtp2.ens-lyon.fr ([140.77.167.81]:35938) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oM7o8-0000o1-VC for guix-patches@gnu.org; Thu, 11 Aug 2022 09:01:11 -0400 Received: from localhost (localhost [127.0.0.1]) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTP id 1FEBDE38B1 for ; Thu, 11 Aug 2022 15:01:00 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.11.0 (20160426) (Debian) at ens-lyon.fr Received: from lxc-smtp2.ens-lyon.fr ([127.0.0.1]) by localhost (lxc-smtp2.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E0EP_EQSgDwc for ; Thu, 11 Aug 2022 15:01:00 +0200 (CEST) Received: from localhost (unknown [78.194.167.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTPSA id 0AA38E38AF for ; Thu, 11 Aug 2022 15:01:00 +0200 (CEST) Date: Thu, 11 Aug 2022 15:00:59 +0200 From: Alice BRENON Message-ID: <20220811150059.3e5000cb@ens-lyon.fr> Organization: ENS de Lyon X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/Y9CN2e.xiQQ53IyQ9830nu_" Received-SPF: pass client-ip=140.77.167.81; envelope-from=alice.brenon@ens-lyon.fr; helo=lxc-smtp2.ens-lyon.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=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: -1.6 (-) 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: -2.6 (--) --MP_/Y9CN2e.xiQQ53IyQ9830nu_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello guix, Here is a new haskell package useful to play with roman numerals. The package's synopsis and description from the hackage import seemed complete enough, I left them as they were and only applied styling with the 'format' rule. Best regards, Alice --MP_/Y9CN2e.xiQQ53IyQ9830nu_ Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-ghc-roman-numerals.patch =46rom 564b33c77d1cc00c9bb82729ac6e5abfa3fd1c81 Mon Sep 17 00:00:00 2001 From: Alice BRENON Date: Thu, 11 Aug 2022 14:29:44 +0200 Subject: [PATCH] gnu: Add ghc-roman-numerals. * gnu/packages/haskell-xyz.scm (ghc-roman-numerals): New variable. --- gnu/packages/haskell-xyz.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 0ce47e0902..35eab3028f 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -28,7 +28,7 @@ ;;; Copyright =C2=A9 2020 Alexandru-Sergiu Marton ;;; Copyright =C2=A9 2020 Carlo Holl ;;; Copyright =C2=A9 2020 Christine Lemmer-Webber -;;; Copyright =C2=A9 2021 Alice BRENON +;;; Copyright =C2=A9 2021, 2022 Alice BRENON ;;; Copyright =C2=A9 2021 John Kehayias ;;; ;;; This file is part of GNU Guix. @@ -16105,3 +16105,23 @@ (define-public ghc-singleton-bool "This package provides Type-level booleans.") (license license:bsd-3))) =20 +(define-public ghc-roman-numerals + (package + (name "ghc-roman-numerals") + (version "0.5.1.5") + (source (origin + (method url-fetch) + (uri (hackage-uri "roman-numerals" version)) + (sha256 + (base32 + "10da5vls9l5i255bapms4b2r7dnwmxgsaa1cdll2lrmid5dikixr")))) + (build-system haskell-build-system) + (inputs (list ghc-base-unicode-symbols)) + (home-page "https://github.com/roelvandijk/roman-numerals") + (synopsis "Parsing and pretty printing of Roman numerals") + (description + "This library provides functions for parsing and pretty printing Roma= n numerals. +Because the notation of Roman numerals has varied through the centuries th= is +package allows for some customisation using a configuration that is passed= to +the conversion functions.") + (license license:bsd-3))) --=20 2.37.1 --MP_/Y9CN2e.xiQQ53IyQ9830nu_-- From unknown Sat Jun 14 19:45:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#57139] [PATCH] Add package ghc-roman-numerals Resent-From: Alice BRENON Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Aug 2022 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57139@debbugs.gnu.org Received: via spool by 57139-submit@debbugs.gnu.org id=B57139.166195442414560 (code B ref 57139); Wed, 31 Aug 2022 14:01:02 +0000 Received: (at 57139) by debbugs.gnu.org; 31 Aug 2022 14:00:24 +0000 Received: from localhost ([127.0.0.1]:40020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTOGV-0003mm-Hn for submit@debbugs.gnu.org; Wed, 31 Aug 2022 10:00:23 -0400 Received: from lxc-smtp2.ens-lyon.fr ([140.77.167.81]:50784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTOGQ-0003mR-U6 for 57139@debbugs.gnu.org; Wed, 31 Aug 2022 10:00:21 -0400 Received: from localhost (localhost [127.0.0.1]) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTP id 055B2E44A1 for <57139@debbugs.gnu.org>; Wed, 31 Aug 2022 16:00:17 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.11.0 (20160426) (Debian) at ens-lyon.fr Received: from lxc-smtp2.ens-lyon.fr ([127.0.0.1]) by localhost (lxc-smtp2.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 979xj02UbnKW for <57139@debbugs.gnu.org>; Wed, 31 Aug 2022 16:00:16 +0200 (CEST) Received: from localhost (unknown [78.194.167.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTPSA id E5262E44BD for <57139@debbugs.gnu.org>; Wed, 31 Aug 2022 16:00:16 +0200 (CEST) Date: Wed, 31 Aug 2022 16:00:16 +0200 From: Alice BRENON Message-ID: <20220831160016.2fb7cf83@ens-lyon.fr> In-Reply-To: References: <20220811150059.3e5000cb@ens-lyon.fr> Organization: ENS de Lyon X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/XlA7GSh+2L4UTWdK50NkDCf" X-Spam-Score: 0.0 (/) 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 (-) --MP_/XlA7GSh+2L4UTWdK50NkDCf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Following the advice from @lilyp and @dthompson to insert ghc-roman-numerals alphabetically into haskell-xyz.scm, here's a second version of the previous patch. Le Thu, 11 Aug 2022 13:02:02 +0000, help-debbugs@gnu.org (GNU bug Tracking System) a =C3=A9crit : > Thank you for filing a new bug report with debbugs.gnu.org. >=20 > This is an automatically generated reply to let you know your message > has been received. >=20 > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. >=20 > Your message has been sent to the package maintainer(s): > guix-patches@gnu.org >=20 > If you wish to submit further information on this problem, please > send it to 57139@debbugs.gnu.org. >=20 > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. >=20 --MP_/XlA7GSh+2L4UTWdK50NkDCf Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-ghc-roman-numerals.patch =46rom 8abd49aef89f08c7363b11bb238f603fe1543a92 Mon Sep 17 00:00:00 2001 From: Alice BRENON Date: Thu, 11 Aug 2022 14:29:44 +0200 Subject: [PATCH] gnu: Add ghc-roman-numerals. * gnu/packages/haskell-xyz.scm (ghc-roman-numerals): New variable. --- gnu/packages/haskell-xyz.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 039f4871f2..a01248f355 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -28,7 +28,7 @@ ;;; Copyright =C2=A9 2020 Alexandru-Sergiu Marton ;;; Copyright =C2=A9 2020 Carlo Holl ;;; Copyright =C2=A9 2020 Christine Lemmer-Webber -;;; Copyright =C2=A9 2021 Alice BRENON +;;; Copyright =C2=A9 2021, 2022 Alice BRENON ;;; Copyright =C2=A9 2021 John Kehayias ;;; ;;; This file is part of GNU Guix. @@ -10913,6 +10913,27 @@ (define-public ghc-rio @end itemize") (license license:expat))) =20 +(define-public ghc-roman-numerals + (package + (name "ghc-roman-numerals") + (version "0.5.1.5") + (source (origin + (method url-fetch) + (uri (hackage-uri "roman-numerals" version)) + (sha256 + (base32 + "10da5vls9l5i255bapms4b2r7dnwmxgsaa1cdll2lrmid5dikixr")))) + (build-system haskell-build-system) + (inputs (list ghc-base-unicode-symbols)) + (home-page "https://github.com/roelvandijk/roman-numerals") + (synopsis "Parsing and pretty printing of Roman numerals") + (description + "This library provides functions for parsing and pretty printing Roma= n numerals. +Because the notation of Roman numerals has varied through the centuries th= is +package allows for some customisation using a configuration that is passed= to +the conversion functions.") + (license license:bsd-3))) + (define-public ghc-safe (package (name "ghc-safe") --=20 2.37.1 --MP_/XlA7GSh+2L4UTWdK50NkDCf-- From unknown Sat Jun 14 19:45:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#57139] [PATCH] Add package ghc-roman-numerals Resent-From: "Thompson, David" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Aug 2022 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Alice BRENON Cc: 57139-done@debbugs.gnu.org, 57139@debbugs.gnu.org Received: via spool by 57139-submit@debbugs.gnu.org id=B57139.166197190619586 (code B ref 57139); Wed, 31 Aug 2022 18:52:02 +0000 Received: (at 57139) by debbugs.gnu.org; 31 Aug 2022 18:51:46 +0000 Received: from localhost ([127.0.0.1]:40454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTSoU-00055q-2j for submit@debbugs.gnu.org; Wed, 31 Aug 2022 14:51:46 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]:41889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTSoQ-00055V-Lq for 57139@debbugs.gnu.org; Wed, 31 Aug 2022 14:51:45 -0400 Received: by mail-lf1-f53.google.com with SMTP id m7so12304276lfq.8 for <57139@debbugs.gnu.org>; Wed, 31 Aug 2022 11:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=onkKicjcXeNzkBsLntuhy2YP5hgafPTVDua8VWhg7mQ=; b=MP6NqEboDfFe/byzZiy4+mFyzHAQrx4W1Sb7WtQj0YJZWaFy44qTG61erZYpTppVpq WuQzSBTkuyCr0B2bfCtv7NL3029H5dSw9oAvBNYygTVEtfjYsgEv4Is/HC5VKVFiiKlD qpQtfUEEGovDODcKqiTTzkiztaWU6k6zeNRl5OO5L5FcT2fwcZTlbLniYWt4QsS/OW6A eNJqbIf3PSzYPnqZNn4pihENGzNyJ+awk3IlOXJMTildDU43Z3NWBjAkZISuquvjLAHB 6i63vhVJUkXE0chRSbcQDrYhb5M6QT28p9lR38gaaU8QXH3m2K704jG7dWaIH+E/Qxo/ +hKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=onkKicjcXeNzkBsLntuhy2YP5hgafPTVDua8VWhg7mQ=; b=WpnmM3+W+QzEFivINqVNVAUfJmLQLgQjbuuNjm95mucfJo/QTHXrl2yQra3vNKDenM oVn9O6o2lXfehTQrinG3JM95pWOrdDvuLGl8YxQUi+S1LTB62yZlIenNDpOW4hjun45r P4yakfbU+dF4FdezFTPhJhfXB3z1PIQFHen7q+TszRpmZ0eSm73EW8RCLSv0FwePDPK9 /XX0tbrnS7mVF+adupdGGd3Tpbk89kKaOFfE3zXwQMQh08kyQAMagBafj6AcwV3HeNO6 j7K+o2SZ9OaxKNnZBo4TXxus1RjNvNI0T+izjFfKGaeCv+671f6dNXx6WZMP506GDC38 RkKw== X-Gm-Message-State: ACgBeo0/68Glhox1tc/VeC6teelvr01q5s2L5/jpFWgVeEgZ4w83eC6B tSQ+um9DiB5ENv57g3/3F0LlEgpcBLlYBY9CPbEVNg== X-Google-Smtp-Source: AA6agR7cxOIvxWU13OHtvc1/L/a8fxKbbdoy3ou9dUih19AfbTqHtiJ21ZqtGfMNEBuiemdFfiNwHaQsUjznHfkUVxU= X-Received: by 2002:ac2:4c88:0:b0:494:96d0:334 with SMTP id d8-20020ac24c88000000b0049496d00334mr769015lfl.146.1661971896516; Wed, 31 Aug 2022 11:51:36 -0700 (PDT) MIME-Version: 1.0 References: <20220811150059.3e5000cb@ens-lyon.fr> <20220831160016.2fb7cf83@ens-lyon.fr> In-Reply-To: <20220831160016.2fb7cf83@ens-lyon.fr> From: "Thompson, David" Date: Wed, 31 Aug 2022 14:51:25 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) 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 (-) Hi Alice, On Wed, Aug 31, 2022 at 10:01 AM Alice BRENON wrote: > > Following the advice from @lilyp and @dthompson to insert > ghc-roman-numerals alphabetically into haskell-xyz.scm, here's a second > version of the previous patch. Thank you for the patch! It builds successfully for me and the code looks good, so I pushed it. - Dave From unknown Sat Jun 14 19:45:13 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Alice BRENON Subject: bug#57139: closed (Re: [bug#57139] [PATCH] Add package ghc-roman-numerals) Message-ID: References: <20220811150059.3e5000cb@ens-lyon.fr> X-Gnu-PR-Message: they-closed 57139 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 57139@debbugs.gnu.org Date: Wed, 31 Aug 2022 18:52:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1661971922-19623-1" This is a multi-part message in MIME format... ------------=_1661971922-19623-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #57139: [PATCH] Add package ghc-roman-numerals which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 57139@debbugs.gnu.org. --=20 57139: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57139 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1661971922-19623-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 57139-done) by debbugs.gnu.org; 31 Aug 2022 18:51:58 +0000 Received: from localhost ([127.0.0.1]:40456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTSoe-000567-DC for submit@debbugs.gnu.org; Wed, 31 Aug 2022 14:51:58 -0400 Received: from mail-lf1-f52.google.com ([209.85.167.52]:35577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTSoQ-00055U-Lp for 57139-done@debbugs.gnu.org; Wed, 31 Aug 2022 14:51:45 -0400 Received: by mail-lf1-f52.google.com with SMTP id z25so21234429lfr.2 for <57139-done@debbugs.gnu.org>; Wed, 31 Aug 2022 11:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=onkKicjcXeNzkBsLntuhy2YP5hgafPTVDua8VWhg7mQ=; b=MP6NqEboDfFe/byzZiy4+mFyzHAQrx4W1Sb7WtQj0YJZWaFy44qTG61erZYpTppVpq WuQzSBTkuyCr0B2bfCtv7NL3029H5dSw9oAvBNYygTVEtfjYsgEv4Is/HC5VKVFiiKlD qpQtfUEEGovDODcKqiTTzkiztaWU6k6zeNRl5OO5L5FcT2fwcZTlbLniYWt4QsS/OW6A eNJqbIf3PSzYPnqZNn4pihENGzNyJ+awk3IlOXJMTildDU43Z3NWBjAkZISuquvjLAHB 6i63vhVJUkXE0chRSbcQDrYhb5M6QT28p9lR38gaaU8QXH3m2K704jG7dWaIH+E/Qxo/ +hKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=onkKicjcXeNzkBsLntuhy2YP5hgafPTVDua8VWhg7mQ=; b=ZqR7u0f/P895g8jSBS7ezW2FA5yzd29lgtSkmdpwPFwJHuQ3tSetBF86WNnSoURH1C l2vHy9LrS+nrlCKEcMo2chIIF/sxAp3pgchqq7PX5OtXADI/ozHJRxPXPXbUvrTJwk1q MY+CZ59HeGmzQiahDqA/Ty5IWTXLluUSAimIszWuJxgeIGsoxwMXB/xf+iUYG6A5CjU5 /XLDaB3+qmLudtRI9HadTHJsJJTf+qLATuzniEmFmNYMuYZHQtIXt3IGrLLlG5KSPSnG dIF4hnPJohSD/9OmQVKGHBrw3ZmSKsuAw+0pFGj/XQhiIqzDwUlADW57Uknuw1LScXCc BGFA== X-Gm-Message-State: ACgBeo1NTj64txh/gGsrKcMxMltszHlndglWI0hkvDyYSfCIx8Xbz+DV iLVw4XnKU3PxDG6C0hCECMKOBW8XFT2amAsdj4qGtw== X-Google-Smtp-Source: AA6agR7cxOIvxWU13OHtvc1/L/a8fxKbbdoy3ou9dUih19AfbTqHtiJ21ZqtGfMNEBuiemdFfiNwHaQsUjznHfkUVxU= X-Received: by 2002:ac2:4c88:0:b0:494:96d0:334 with SMTP id d8-20020ac24c88000000b0049496d00334mr769015lfl.146.1661971896516; Wed, 31 Aug 2022 11:51:36 -0700 (PDT) MIME-Version: 1.0 References: <20220811150059.3e5000cb@ens-lyon.fr> <20220831160016.2fb7cf83@ens-lyon.fr> In-Reply-To: <20220831160016.2fb7cf83@ens-lyon.fr> From: "Thompson, David" Date: Wed, 31 Aug 2022 14:51:25 -0400 Message-ID: Subject: Re: [bug#57139] [PATCH] Add package ghc-roman-numerals To: Alice BRENON Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57139-done Cc: 57139-done@debbugs.gnu.org, 57139@debbugs.gnu.org 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 (-) Hi Alice, On Wed, Aug 31, 2022 at 10:01 AM Alice BRENON wrote: > > Following the advice from @lilyp and @dthompson to insert > ghc-roman-numerals alphabetically into haskell-xyz.scm, here's a second > version of the previous patch. Thank you for the patch! It builds successfully for me and the code looks good, so I pushed it. - Dave ------------=_1661971922-19623-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Aug 2022 13:01:16 +0000 Received: from localhost ([127.0.0.1]:52032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM7oJ-0005OZ-Uy for submit@debbugs.gnu.org; Thu, 11 Aug 2022 09:01:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:57774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM7oG-0005OM-7q for submit@debbugs.gnu.org; Thu, 11 Aug 2022 09:01:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM7oG-0004fa-0J for guix-patches@gnu.org; Thu, 11 Aug 2022 09:01:12 -0400 Received: from lxc-smtp2.ens-lyon.fr ([140.77.167.81]:35938) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oM7o8-0000o1-VC for guix-patches@gnu.org; Thu, 11 Aug 2022 09:01:11 -0400 Received: from localhost (localhost [127.0.0.1]) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTP id 1FEBDE38B1 for ; Thu, 11 Aug 2022 15:01:00 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.11.0 (20160426) (Debian) at ens-lyon.fr Received: from lxc-smtp2.ens-lyon.fr ([127.0.0.1]) by localhost (lxc-smtp2.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E0EP_EQSgDwc for ; Thu, 11 Aug 2022 15:01:00 +0200 (CEST) Received: from localhost (unknown [78.194.167.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTPSA id 0AA38E38AF for ; Thu, 11 Aug 2022 15:01:00 +0200 (CEST) Date: Thu, 11 Aug 2022 15:00:59 +0200 From: Alice BRENON To: guix-patches@gnu.org Subject: [PATCH] Add package ghc-roman-numerals Message-ID: <20220811150059.3e5000cb@ens-lyon.fr> Organization: ENS de Lyon X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/Y9CN2e.xiQQ53IyQ9830nu_" Received-SPF: pass client-ip=140.77.167.81; envelope-from=alice.brenon@ens-lyon.fr; helo=lxc-smtp2.ens-lyon.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=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: -1.6 (-) X-Debbugs-Envelope-To: submit 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: -2.6 (--) --MP_/Y9CN2e.xiQQ53IyQ9830nu_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello guix, Here is a new haskell package useful to play with roman numerals. The package's synopsis and description from the hackage import seemed complete enough, I left them as they were and only applied styling with the 'format' rule. Best regards, Alice --MP_/Y9CN2e.xiQQ53IyQ9830nu_ Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-ghc-roman-numerals.patch =46rom 564b33c77d1cc00c9bb82729ac6e5abfa3fd1c81 Mon Sep 17 00:00:00 2001 From: Alice BRENON Date: Thu, 11 Aug 2022 14:29:44 +0200 Subject: [PATCH] gnu: Add ghc-roman-numerals. * gnu/packages/haskell-xyz.scm (ghc-roman-numerals): New variable. --- gnu/packages/haskell-xyz.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 0ce47e0902..35eab3028f 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -28,7 +28,7 @@ ;;; Copyright =C2=A9 2020 Alexandru-Sergiu Marton ;;; Copyright =C2=A9 2020 Carlo Holl ;;; Copyright =C2=A9 2020 Christine Lemmer-Webber -;;; Copyright =C2=A9 2021 Alice BRENON +;;; Copyright =C2=A9 2021, 2022 Alice BRENON ;;; Copyright =C2=A9 2021 John Kehayias ;;; ;;; This file is part of GNU Guix. @@ -16105,3 +16105,23 @@ (define-public ghc-singleton-bool "This package provides Type-level booleans.") (license license:bsd-3))) =20 +(define-public ghc-roman-numerals + (package + (name "ghc-roman-numerals") + (version "0.5.1.5") + (source (origin + (method url-fetch) + (uri (hackage-uri "roman-numerals" version)) + (sha256 + (base32 + "10da5vls9l5i255bapms4b2r7dnwmxgsaa1cdll2lrmid5dikixr")))) + (build-system haskell-build-system) + (inputs (list ghc-base-unicode-symbols)) + (home-page "https://github.com/roelvandijk/roman-numerals") + (synopsis "Parsing and pretty printing of Roman numerals") + (description + "This library provides functions for parsing and pretty printing Roma= n numerals. +Because the notation of Roman numerals has varied through the centuries th= is +package allows for some customisation using a configuration that is passed= to +the conversion functions.") + (license license:bsd-3))) --=20 2.37.1 --MP_/Y9CN2e.xiQQ53IyQ9830nu_-- ------------=_1661971922-19623-1--