From unknown Fri Aug 15 12:53:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44174 <44174@debbugs.gnu.org> To: bug#44174 <44174@debbugs.gnu.org> Subject: Status: [PATCH 00/16] Add hledger and its dependencies. Reply-To: bug#44174 <44174@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:53:56 +0000 retitle 44174 [PATCH 00/16] Add hledger and its dependencies. reassign 44174 guix-patches submitter 44174 Carlo Holl severity 44174 normal tag 44174 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 08:07:35 2020 Received: (at submit) by debbugs.gnu.org; 23 Oct 2020 12:07:35 +0000 Received: from localhost ([127.0.0.1]:56237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVvr5-0008MB-95 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 08:07:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:56888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVrmz-0007OW-Hw for submit@debbugs.gnu.org; Fri, 23 Oct 2020 03:47:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVrmz-0001Y0-AR for guix-patches@gnu.org; Fri, 23 Oct 2020 03:47:05 -0400 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:36664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVrmx-000823-Iu for guix-patches@gnu.org; Fri, 23 Oct 2020 03:47:04 -0400 Received: by mail-pl1-x62d.google.com with SMTP id r10so427821plx.3 for ; Fri, 23 Oct 2020 00:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IG8KV+jQV9qM7952XSHUL+ZMcd0VAgOP1Jt25vk08gk=; b=hK7JkUj2zfN592qhgsYOaQYJG3f9iKw6LKLqx5Vw0Iaxia5pK8HrM3bwM1H8Vu3dKE sYB1K2yGe5r+0pLbjmf8jyc7YPelyulxJJGYTJ9uo5fo7MaHf4PMlNVzcLfvjq4o2NYg fUGYbtxce5kZP2gp9f0DQh/eNqUb3q6AUP+ZkaHaazG0Y5Ck1hu4TnMh9uE4Q7Nvx5iq PPQpy2kWv+L5CA/XlAqqx9Uq0y8rbSuztMvuphgeEfcxttaZ5LvGt4HubBu9H/zgQd0z xfcR49/O2DaQJJBTe5U958NzME5KwGIo9hjphEuSN3xFRIgXRFWOFISIBkSMb7Ync5wS rQxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IG8KV+jQV9qM7952XSHUL+ZMcd0VAgOP1Jt25vk08gk=; b=E9yChSjW0lTgKlu40kdO1n83L5FOF/iqCGzamfkhyT3qgSrAFPWMR4W+vq1eqCFFYJ gvIN3DVVI95XylItlhBAc47CNaLkdk0wkiQWHZUSJvI0zSBmhMNNyGgGN5344LQXY0RR uJ7dWbFvZzXdipHAu/yAY2SVbEfGGE4ASDb23PcraR2NXX6agzEhKGgfsYtKb4u4a6CT mZcApVRnCUGnoL7T9s1j7HQoPH2fFFS7+6Um4Ae7xOYb+oBktn0T6LblkM4NE9eI9TKa ul8PcDdNE8kDUbrN8IHngZXEaqtpIOJwl3+Im48s9FCN3eMa+xc9vS2nng3vGaUK+0gX KG6g== X-Gm-Message-State: AOAM533Rbo3arendc5Bx6EU861tNDscfF1dcU5NbprGHSAMGf/VcEvAh ZP03fGJAhLhToMoTs4CmRs5OiVpC/Sw= X-Google-Smtp-Source: ABdhPJwhgZoG3FIXZlG21+Hfo/iE588FpCurOFLjxMVTjPbvbrKTYo7Rd+M6iq/To7Af51ptY4w05A== X-Received: by 2002:a17:902:b945:b029:d5:f385:237e with SMTP id h5-20020a170902b945b02900d5f385237emr1132006pls.84.1603439221239; Fri, 23 Oct 2020 00:47:01 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id x4sm1001703pfj.114.2020.10.23.00.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 00:47:00 -0700 (PDT) From: Carlo Holl To: guix-patches@gnu.org Subject: [PATCH 00/16] Add hledger and its dependencies. Date: Fri, 23 Oct 2020 00:46:53 -0700 Message-Id: <20201023074653.8885-1-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=carloholl@gmail.com; helo=mail-pl1-x62d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 23 Oct 2020 08:07:34 -0400 Cc: Carlo Holl 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.3 (--) Guix, This patch series adds hledger, a plaintext accounting program. hledger started as a Haskell reimplementation of Ledger CLI. I use hledger regularly to manage personal finances and those of several businesses, and would not be suprised to find other hledger users in the Guix community. More information is available at https://hledger.org. A couple of notes: 1. The hledger package is placed in (gnu packages finance), and its dependencies in (gnu packages haskell-xyz). 2. The hledger package is *not* prefixed with 'ghc', but its dependencies are. 3. The package ghc-doctest was bumped (minor version), affecting several dependent packages. I was able to build most of these affected packages (querying guix refresh --list-dependents), but it was taking forever so I cut that effort short. I consider this a rough heuristic to determine that there are no substantial changes associated with this version bump. 4. I'm not terribly familiar with the Texinfo format, so there are likely some rough edges there. 5. I am able to build hledger and its dependencies without error, but was unsuccessful building on different architectures with qemu. I wasn't even able to build GHC under qemu so I didn't bother digging any further. This is my first contribution to Guix, and I'm also not a Haskell expert, so expect some headaches. I am happy to attend to any issues as best I am able. Carlo Carlo Holl (16): gnu: Add ghc-control-monad-free. gnu: Add ghc-csv. gnu: Add ghc-decimal. gnu: Upgrade ghc-doctest. gnu: Add ghc-hspec-megaparsec. gnu: Add ghc-lucid. gnu: Add ghc-only. gnu: Add ghc-text-short. gnu: Add ghc-tabular. gnu: Add ghc-uglymemo. gnu: Add ghc-wizards. gnu: Add ghc-cassava. gnu: Add ghc-cassava-megaparsec. gnu: Add ghc-hledger-lib. gnu: Add hledger. Add attribution. gnu/packages/finance.scm | 64 ++++ gnu/packages/haskell-xyz.scm | 579 ++++++++++++++++++++++++++++++++++- 2 files changed, 628 insertions(+), 15 deletions(-) -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:40 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:40 +0000 Received: from localhost ([127.0.0.1]:58263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0os-0000Bo-D9 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:40 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:33510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0Vo-00083r-3u for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:05:57 -0400 Received: by mail-pl1-f193.google.com with SMTP id b19so1252326pld.0 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6sgxJzi7tF9LO3KdYZ4oMVlIUj3TT7F905USN03OmCM=; b=qwxzJ+RmZVibiz2vukGCaUvlJ6gv/aqNMOxaurwrQaJOlw22pudHWc/Dfm0DIEOUjl w3vhGuF1w5wFW65yQN+5Vqc/BYDdUaGZoakv7WSionHaP5uMGQlJtsZaiEokW9ZGgLP8 kaUpA17dZ+2QnbEhM9zUuqR5wiyOvuqRZJbwPdd76OeZdbzPO18HKWiH6ZsOvl6LWiqD XzGKjxr6dg5ves6Aw/KaFZxTSaj5Bnli4t2ipDNwDeMxaFF7GeanmXEDQ36QgPhwwSQ1 LAaXsQI3PujxJ5Gca6557ZhWItcTXd2RCwIHimWZQoqOVRP09nEJsqYcsw6J/KQbDRbb 6kaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6sgxJzi7tF9LO3KdYZ4oMVlIUj3TT7F905USN03OmCM=; b=gptDT61BlG0OsflFHuwL4HjTS3vRx+Ob+wFmTKPTKn6zAZuNXU64Tj6PIseDYTsI5C do5Bi4FgWBYbkxMDE4SBQhO9EqAkeS5fa7wGXyc7O1/BSskasiDB9Abh2EFsTTnE2bpw ZLIVYSYR9kDXFTb+Qw53r7hRGqTJTC5JxARcZCTO8aNRLrfmXTZakWkHBi1caazGtjWc cjGg1rW7P6nXKRq+T78KHKYntpx/4hZEQy9ikDMLHDt/qtVrKyVem9lop9F1K1EzMIOw 2Z/gcMyqCvEnGiGdUS4i02MNYQHlBFZdm1OPQsglEdEBweJmf/VVC3D0X9pwPQpz0OHj uikw== X-Gm-Message-State: AOAM530GEqcM4LqrhHptRiYp/UUG+97j+S8353DrPF9gwkytXXXa1dPQ HJB/Sf1850YnLo/EPyWw+jAoUSyCYmI= X-Google-Smtp-Source: ABdhPJy/OvqBq2+ntny6EVEwFvJJGkO9Pg5+GxS+6nROzl/k7SUhuvQWVPzasQdKLgbwaghpgZAD3A== X-Received: by 2002:a17:902:ea8c:b029:d2:8abd:c8de with SMTP id x12-20020a170902ea8cb02900d28abdc8demr3330173plb.21.1603472750003; Fri, 23 Oct 2020 10:05:50 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:05:49 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 01/16] gnu: Add ghc-control-monad-free. Date: Fri, 23 Oct 2020 10:05:29 -0700 Message-Id: <20201023170544.9860-1-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:37 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 5b9da15630..ccbe026142 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -2608,6 +2608,37 @@ a vocabulary for working with them.") @code{ghc-contravariant} package.") (license license:expat))) +(define-public ghc-control-monad-free + (package + (name "ghc-control-monad-free") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/control-monad-free/control-monad-free-" + version + ".tar.gz")) + (sha256 + (base32 + "1habgf7byffqf1rqjkzpihvdhclaafgqsqpfpwp3fgpj5ayk1j33")))) + (build-system haskell-build-system) + (home-page + "https://github.com/pepeiborra/control-monad-free") + (synopsis "Free monads and monad transformers") + (description "This package provides datatypes to construct Free monads, +Free monad transformers, and useful instances. In addition it provides the +constructs to avoid quadratic complexity of left associative bind, as explained in: + +@itemize @bullet +@item +Janis Voigtlander, @cite{Asymptotic Improvement of Computations over +Free Monads, MPC'08} +@end itemize + +") + (license license:public-domain))) + (define-public ghc-convertible (package (name "ghc-convertible") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:43 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:43 +0000 Received: from localhost ([127.0.0.1]:58265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0ow-0000C0-Rd for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:43 -0400 Received: from mail-pg1-f177.google.com ([209.85.215.177]:44348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0Vt-00083w-1I for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:01 -0400 Received: by mail-pg1-f177.google.com with SMTP id o3so1709399pgr.11 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PdXNN2ZGqzTbOncW2toSp2pIrT0hugmWrcuMdSKs9JQ=; b=WS2o7PyvonmD272TPCoSq/XfBxQQig4Iatb68o7ybWIB2o56HclGvJSlEP3KYkd+78 nZKDvnJK29LEmnFwaYlEHWQDWAf9FIB5SWGe7tgMUNhdNiChoO3fQwyyWw73FHaNQhBq 7tQEel7IMmoOXGY9MB13a+SIDLcMni7MDOye/D/pdo5kqsgPSvrPKe/Q5fAUu9XykYzM Xp5PaPafa7pifVtnqXig4YzsdZ33tK2tu8wigBMZUF7sWobBQ3jerWdSPseI+zZA4SMH xfGgiu3GSLsybTLt33U7s9N3eEqfrJJqsKDEAFP1EBYX4eJFT7SMLAHERvH3HwB4mzH+ q0Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PdXNN2ZGqzTbOncW2toSp2pIrT0hugmWrcuMdSKs9JQ=; b=ESkTnKHlL8XPS9/MNkIOvKQWNnULqPANsjSlJf7/lkutdNZNThgaNAIn/YC6D07/1K G4OK4aMPEH7xr2KOO9Xd6HIybvvyZymGt7shoN9Ny1i39VVJ8M7A1UTup5sPb1X9KHEH DKKkrNFsBnX+BMPDQAJa/8XwGFCS196Qnh44eRnOVlPqnCo3dDgBfFjMNDg7nW+KAs9v WdxHqxioC9UQTGeLDRZ5hDRcRASEN3fVJko9vnqRzmJBD4nud1nCL2fCcYqP9aLhSuPb rED+870avNRbfNzAupU6ArJjSeEkdt/k1JKNda2cakj9nY6BeLNpeQLsEULkFoIQwQ0S V22w== X-Gm-Message-State: AOAM533wnNgftuYZXwV5rnro26/uMbWpUE/8Jms29y5Yv1dYuNC7bsXp VoKjtnqMwnSdYZvcOe9AE5C6LH+UuSg= X-Google-Smtp-Source: ABdhPJyYr2FpXwDvKqsPugonvtWdFgleKgzInp1GPufba8+NfIFGt2rxeIb9wPhdbHxNT6Z30Ki5DA== X-Received: by 2002:a17:90a:e556:: with SMTP id ei22mr3632981pjb.43.1603472754870; Fri, 23 Oct 2020 10:05:54 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:05:54 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 02/16] gnu: Add ghc-csv. Date: Fri, 23 Oct 2020 10:05:30 -0700 Message-Id: <20201023170544.9860-2-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- 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 ccbe026142..952e24cd55 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -2665,6 +2665,32 @@ pure @code{Either} value. This means that you need not remember which specific function performs the conversion you desire.") (license license:bsd-3))) +(define-public ghc-csv + (package + (name "ghc-csv") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/csv/csv-" + version + ".tar.gz")) + (sha256 + (base32 + "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c")))) + (build-system haskell-build-system) + (home-page + "http://hackage.haskell.org/package/csv") + (synopsis "CSV loader and dumper") + (description "CSV loader and dumper + +This library parses and dumps documents that are formatted according +to RFC 4180, @cite{The common Format and MIME Type for Comma-Separated +Values (CSV) Files}. This format is used, among many other things, +as a lingua franca for spreadsheets, and for certain web services.") + (license license:expat))) + (define-public ghc-data-accessor (package (name "ghc-data-accessor") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:44 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:44 +0000 Received: from localhost ([127.0.0.1]:58267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0ox-0000C3-52 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:44 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:39746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0Vz-00084z-Un for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:08 -0400 Received: by mail-pf1-f173.google.com with SMTP id e15so1820373pfh.6 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6JFJb/hRE6qp+scbOyR9MNBLQNdoQ0OOZsGlR2dAJVI=; b=p6f4z2p61ZO4JzLP2yzK3qW4aLav7X02ci5hx53a57AsjRZIA8qf+pzCsD7HYcc35G UDDhr/8iG2DcDa5BMU2fx8rdyqrkp3AFVfYBXUiQgckRsxAnGXIax4WKboPRiMzQ4vim pRDY85uhdC8EtdHBHTi12YZEIQZgY6J5NfeqsZfD6LM9UqfQMc3QwYxpT/XawhMimKoY SRsJRWDSC/RCj3KpEVhP8fHTAkxHscgWtyuntAuH5yh1kfQljEvul8T06tXYs8y+zJX4 WbwJt/2AFGlBFTCXgFyvCeyMdAPXMHoyDWm+RhZlpdWiJ9e5/1YnvPKfNQ15MrdVq6AQ VjDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6JFJb/hRE6qp+scbOyR9MNBLQNdoQ0OOZsGlR2dAJVI=; b=JUlcLvNyCI7Gvb89uN1UQrDZ0KAzRoC3xozUiA17WlrQKfhmXX2+veOtCYGTM0Oi5f ZGec7/byazvr5e1yNDjsiv+O6RM9V6WCHfZQbojnV1qF5behQFhuDTTOM+DH7ZTIU8ks C6AAEuoep9yaPz8XTrAPCw2j+jmQKn4KehbuoThiMnYx44psKBCZ6ot7uEKbisTDLsA6 Il5OuZru+zImBciLdrq47wQ6zYSyehfFEnn0skB15bcJzCKmBGg15ihgdU/BQuygbciP ddZU5y2F2hVKUCF12bE6vAMzVNsjBuuF+xMbXpwn//6c92/1ZyX6M7ClnH9y6A2ZeIQ+ RbAQ== X-Gm-Message-State: AOAM530DBzLexcHEDMYIlR2beULpQZ19Pl1Nr1pKlNfOnG3UmTZMYK+z 2eF1edW50eJae/3UHdM01dbhzTtTOrw= X-Google-Smtp-Source: ABdhPJxhla2iqQ+itMEawz+gNkFoGASlhOsiQ1DGS5Fcm7JTAQH76rfsQjlqCKbrFNeeQfCTMv//mg== X-Received: by 2002:a17:90a:fb92:: with SMTP id cp18mr3806377pjb.228.1603472762051; Fri, 23 Oct 2020 10:06:02 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:01 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 03/16] gnu: Add ghc-decimal. Date: Fri, 23 Oct 2020 10:05:31 -0700 Message-Id: <20201023170544.9860-3-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 952e24cd55..803ee995c0 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -2989,6 +2989,37 @@ to add D-Bus support to Haskell applications, without the awkward interfaces common to foreign bindings.") (license license:asl2.0))) +(define-public ghc-decimal + (package + (name "ghc-decimal") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/Decimal/Decimal-" + version + ".tar.gz")) + (sha256 + (base32 + "0k7kh05mr2f54w1lpgq1nln0h8k6s6h99dyp5jzsb9cfbb3aap2p")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" + ,ghc-test-framework-quickcheck2) + ("ghc-test-framework-hunit" + ,ghc-test-framework-hunit))) + (home-page + "https://github.com/PaulJohnson/Haskell-Decimal") + (synopsis + "Decimal numbers with variable precision") + (description "A decimal number has an integer mantissa and a negative exponent. +The exponent can be interpreted as the number of decimal places in the value.") + (license license:bsd-3))) + (define-public ghc-deepseq-generics (package (name "ghc-deepseq-generics") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:44 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:44 +0000 Received: from localhost ([127.0.0.1]:58269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0oy-0000CC-4B for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:44 -0400 Received: from mail-pf1-f174.google.com ([209.85.210.174]:44202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0W0-000856-W8 for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:10 -0400 Received: by mail-pf1-f174.google.com with SMTP id f19so1804786pfj.11 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2d+iww1wqMMi15Sc0QD2n2m7XIJ5naN+dAoSV2jyUGo=; b=Mj1bW0DwOck3Q2BJ4GXKvSg8HMvxb/au2+GZn5ycR1VEgzSCUshb8MyCDO3R/mw8+1 g8BjqRwuT76qXnN4WffSgjhzpd+8wrJGAfkg27vbDyDuj2ZbFIapNWfFoKK5eOnSlqb0 X49p+Si9nLFUcdBgDzBKuZZBSMvADDy2pauvYXCfjAuZzfZZaBa3YAYpabt3joZhNZVf IuqEtK9LoaK85PbuPe3LUYztdjommE8MID3J1Vct147GKDFOLlwG5L3m2V1yvMH4T9uV OjdnbFbwZ5NsGf0U3xM1eANEzdAC/yGzKKPJ7xSL4lVWQPb722Z5dydPpxGtaVjujg5n /FaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2d+iww1wqMMi15Sc0QD2n2m7XIJ5naN+dAoSV2jyUGo=; b=Iep/Y93PyM3lmilOU+tDKHUVUlCKBrA29Y6hhjxFnz5fvNNtHXhC2sbZhFR8IvO0h+ gTut62HjLbXl4iNgwY6T2eXgHPBr9AmUMpZR64PMkgH2/r/NV6FyoK/YUQLpAPh6w07Q l3Zib3Xfea5djheX0nSq/B9SFUvrOy1tmppMlNIlbmGHWTbjmTeQYVPwDjz3ayTwqAih nmA4DoPx4oJtQJ3kto9NaCEOIPTBJCJ3WQbtR7Sal8p+gK87Xll0lyJg2AMSdgSxckM/ kqM2xa1SOL7QlXGz4OLfCVgEs2snM4AVimt88AMra8ij3J/xkGbqAhQXDQjt2q7Qv/E1 /bLQ== X-Gm-Message-State: AOAM533IyK8W8kQW3fHpOXZWjnk+r6oxsM3RFUKOw4Wl32T3ramgszzB Iz/gTC1NEEwXE3m7ZpBdsYn7EEJl2/Q= X-Google-Smtp-Source: ABdhPJyvduiM2bP/oFV0V+u4JUBCfWTZSZDsVGorX4+AHkdkoGiGUubEjQJSG/NJHIqSvr3lxYQSxg== X-Received: by 2002:a17:90a:7802:: with SMTP id w2mr3765550pjk.160.1603472763141; Fri, 23 Oct 2020 10:06:03 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:02 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 04/16] gnu: Upgrade ghc-doctest. Date: Fri, 23 Oct 2020 10:05:32 -0700 Message-Id: <20201023170544.9860-4-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 803ee995c0..ad9c49ddeb 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -3416,7 +3416,7 @@ Writer monad), where list append quickly becomes too expensive.") (define-public ghc-doctest (package (name "ghc-doctest") - (version "0.16.2") + (version "0.16.3") (source (origin (method url-fetch) @@ -3426,26 +3426,31 @@ Writer monad), where list append quickly becomes too expensive.") ".tar.gz")) (sha256 (base32 - "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag")))) + "1y1l7aa80qkib1z8lsizgg7fpfdmdwhxvi5m255a42jdkjgn5sfg")))) (build-system haskell-build-system) (arguments `(#:tests? #f)) ; FIXME: missing test framework (inputs - `(("ghc-syb" ,ghc-syb) - ("ghc-paths" ,ghc-paths) - ("ghc-base-compat" ,ghc-base-compat) - ("ghc-code-page" ,ghc-code-page) - ("ghc-hunit" ,ghc-hunit) - ("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-stringbuilder" ,ghc-stringbuilder) - ("ghc-silently" ,ghc-silently) - ("ghc-setenv" ,ghc-setenv))) + `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-code-page" ,ghc-code-page) + ("ghc-paths" ,ghc-paths) + ("ghc-syb" ,ghc-syb))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("ghc-hspec-core" ,ghc-hspec-core) + ("ghc-mockery" ,ghc-mockery) + ("ghc-setenv" ,ghc-setenv) + ("ghc-silently" ,ghc-silently) + ("ghc-stringbuilder" ,ghc-stringbuilder))) (home-page "https://github.com/sol/doctest#readme") (synopsis "Test interactive Haskell examples") - (description "The doctest program checks examples in source code comments. -It is modeled after doctest for Python, see -@uref{https://docs.python.org/library/doctest.html, the Doctest website}.") + (description + "The doctest program checks examples in source code comments. It is modeled +after doctest for Python (@url{http://docs.python.org/library/doctest.html}). + +Documentation is at @url{https://github.com/sol/doctest#readme}.") (license license:expat))) (define-public ghc-dotgen -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:45 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:45 +0000 Received: from localhost ([127.0.0.1]:58271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0oy-0000CK-I9 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:45 -0400 Received: from mail-pf1-f170.google.com ([209.85.210.170]:38040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0W2-000859-3V for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:12 -0400 Received: by mail-pf1-f170.google.com with SMTP id 10so1827855pfp.5 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I+SJ5MBqnPtg/T2NuABc/4jO93uPogFTl3MYTZ/ayXg=; b=sMH2CrDd7Z1gZ1s6ZmbzCcYY+f2EP+elZmQGgKnSZdTWrzYSLq4TaWtHsRPfasBLe8 KD5PCkNhi3dtb7ewv70Yc72rFiP16jQtzx3GtP3fi5P3gABqGN9RH1DT9BRpufI14n82 CeeoQTctihjRfcMYn+i08iZJaMJXY3jOkhS2IkWHWhqmYPnztN5NKGckLuFBZcp+TWg+ UVIyyK3jY3rgRzKRm5MvcIjFKxz4sw7EuA7W0TEOnnyXjVjZuREKOVBUxFK2i2bMEb3P P2oNZeCNKEeQB/liMoM6GGIKbkNnv+SO0FAe3t+abTLxl1jOVlNDmgMwApqUmHGED+eL u1lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I+SJ5MBqnPtg/T2NuABc/4jO93uPogFTl3MYTZ/ayXg=; b=iPMqZVafVW2H9yaK7btGKmVAnBZEVYOynPjlCaK+K38Ez6nyHG9CESoP5P2y/5XMHO PG/ziG75j3OrEk/n0FmcN1fNTV+i0nqJ3m5ttXtyjXUuYlS++IKeWEwT0rYxVywa64I6 EufDBFCoPvBabMcqMGqtkh5Xf3I1kRAEle81LUBdjAY7/3/baob9eUwgrF7qnBeFoQNO rUWOMGRmz+/dMkp+hYKiqUmKTrosb5VcNVhKNy4b+5SBlzkjgZx0QKZzR9TTQRN1nTiD +jgkWrwoAxlKJBiZEWHuRlHUEjVX1hD7ugE5IJET20yf6BWOtEkXTRy5XARnKfGgpw4R ixGA== X-Gm-Message-State: AOAM5308ouGUrxKwQz9tYJAHHjo1kLmODh75AQdOzzmLqQsalTvKQopB ok1z0Kr03kFxAlmLQkAI7reCjqzz3qI= X-Google-Smtp-Source: ABdhPJw7Amirupy0sX6HDU1yit2UIYCEtlUjUK8AnHsxOWJlP2CCy258odMnyP3LYTrU8ZBXOaxfAQ== X-Received: by 2002:a17:90b:4b90:: with SMTP id lr16mr3805539pjb.0.1603472764251; Fri, 23 Oct 2020 10:06:04 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:03 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 05/16] gnu: Add ghc-hspec-megaparsec. Date: Fri, 23 Oct 2020 10:05:33 -0700 Message-Id: <20201023170544.9860-5-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index ad9c49ddeb..84f28ee5a5 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -5934,6 +5934,34 @@ are described in a file named @code{package.yaml}. Both @code{cabal2nix} and @code{package.yaml}.") (license license:expat))) +(define-public ghc-hspec-megaparsec + (package + (name "ghc-hspec-megaparsec") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hspec-megaparsec/hspec-megaparsec-" + version + ".tar.gz")) + (sha256 + (base32 + "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hspec-expectations" + ,ghc-hspec-expectations) + ("ghc-megaparsec" ,ghc-megaparsec))) + (native-inputs `(("ghc-hspec" ,ghc-hspec))) + (home-page + "https://github.com/mrkkrp/hspec-megaparsec") + (synopsis + "Utility functions for testing Megaparsec parsers with Hspec") + (description + "Utility functions for testing Megaparsec parsers with Hspec.") + (license license:bsd-3))) + (define-public ghc-hs-bibutils (package (name "ghc-hs-bibutils") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:46 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:46 +0000 Received: from localhost ([127.0.0.1]:58273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0oz-0000CS-OK for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:46 -0400 Received: from mail-pf1-f181.google.com ([209.85.210.181]:33338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0W4-00085G-01 for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:13 -0400 Received: by mail-pf1-f181.google.com with SMTP id j18so1840411pfa.0 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RbX/QDQUTnvXfNRWg6hPpVwr+XbFOIB5e5T5eZdcW0U=; b=jZrIJ9Z2kKP9E6nnU05aZ3hySnoxrUy3JCmIYEsa5RMKIteds2LvjsvhUBO3VX8lF9 wPs+dfm9ja9LpZ8/kLzqFoW0HOs7Pw7TweAaCk0PfBcoM+nObZRbTynALKFH0qfGLrEl yNXsUIOuTJk3iVvCM8TlTG1hWVcvWl7eJVK+F6ZBMZQpZi583130iXDsXmCsUMh9xHQp tlyFXGwobv17qq9fPUB4jAhPbV3sxJthTX/xogQ6NJTBAS7n5K6LrD4xe+FdsqpnZVak 4tDPiS1VVzIPr993u+euoEeik85uYXaKGhgpCNp4z7qtuZmYI9GrFGTo00Emmp9PYk+Z G0Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RbX/QDQUTnvXfNRWg6hPpVwr+XbFOIB5e5T5eZdcW0U=; b=CeejaUV1iLZazJox3KJxjSqUrtZ0anhl+My0z2qOXb+ASv8fh2vd+pJApVU0nLCXnX oSJLYkC2+YDTwIAASLu0WGJrasCjazY0bADHMODrn6wGVSy9tAR/51WpX8i/cOrMftdl 0duKtR9Ex39RDBz8WsyyR3CuBnxKs+3kQXmxJUCq/rcxnXZQKyO53BTvIFJu0VAGdmDU ymyKhutlUVeYsleQReE9DQd+FeWaXg7vUhIpse0Lk+V+QWuYcsxQX26dkRlt0547yj25 iJA/QACF78fpFmfFiYPkCdsAGrjuopzP2gX8EiynhtFFuknwzWqNmNd9ClQa9fL6AzoQ HiDA== X-Gm-Message-State: AOAM530Jkjm6s7UWgW/rL+ucYcqR7xt4PLsktmKSUwfmPSS+JiLeC+TW vpLgGgD0Sjp8MfFDrrkISK6P61OQ/io= X-Google-Smtp-Source: ABdhPJwGWPsXZZ0X5SVE+JBYtDRdWYsUoWuE19sLIMhpCSil6VB4wp4+m51tcwajm7NoczT8g11EKw== X-Received: by 2002:a17:90a:2842:: with SMTP id p2mr3530432pjf.220.1603472765548; Fri, 23 Oct 2020 10:06:05 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:04 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 06/16] gnu: Add ghc-lucid. Date: Fri, 23 Oct 2020 10:05:34 -0700 Message-Id: <20201023170544.9860-6-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 84f28ee5a5..f090f62b86 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -7290,6 +7290,54 @@ Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf, online}.") (license license:bsd-3))) +(define-public ghc-lucid + (package + (name "ghc-lucid") + (version "2.9.12") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/lucid/lucid-" + version + ".tar.gz")) + (sha256 + (base32 + "156wniydd1hlb7rygbm95zln8ky8lai8rn2apkkv0rax9cdw6jrh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-hashable" ,ghc-hashable) + ("ghc-mmorph" ,ghc-mmorph) + ("ghc-unordered-containers" + ,ghc-unordered-containers))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-hspec" ,ghc-hspec) + ("ghc-bifunctors" ,ghc-bifunctors))) + (arguments + `(#:cabal-revision + ("1" + "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9"))) + (home-page "https://github.com/chrisdone/lucid") + (synopsis + "Clear to write, read and edit DSL for HTML") + (description "Clear to write, read and edit DSL for HTML. + +@itemize @bullet +@item +Names are consistent, and do not conflict with base or are keywords +(all have suffix @code{-}). +@item +Same combinator can be used for attributes and elements +(e.g. @code{style_}). +@item +For more, read . +@end itemize + +See the \"Lucid\" module for more documentation.") + (license license:bsd-3))) + (define-public ghc-lzma (package (name "ghc-lzma") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:47 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:47 +0000 Received: from localhost ([127.0.0.1]:58275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p0-0000Cb-Lw for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:46 -0400 Received: from mail-pg1-f179.google.com ([209.85.215.179]:38144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0W5-00085J-3h for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:13 -0400 Received: by mail-pg1-f179.google.com with SMTP id i26so1390114pgl.5 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tUq5SGm+D4HzTziuk5dOKmPh7Jqg3osTJJQTP8y1g1w=; b=t6KAXdpP/tl2EomRWIOFdGHSJ9Ggy+O1H4cjnQ7O1xZWyAdX36UjBrNjhrdhOop2wb NnIC68l0Yud1+1551emZRG8Yw6CD9l0sLyP34E6VE/fuEKQnGbTEO0cBelUEu74KmP7/ QGPtQgCS/8zmpqCgXyjFFyMJ7Yr5dhbf+TY183ldhsboUQcnhj63GU+ch6mcRH9YzH9/ ArPafh9GmZza5nY3sUyNzjGUnjKfG3dRpIZdLnngXDi6fkRFvJPF10wqjwTZLanLPIBp Bfr5CnPn0w29zdiNoEiF82QLXSn3zfFzQgNSMq+ZP0KU1fZuGceZ2t2BxkvfRhHPQbGp XDYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tUq5SGm+D4HzTziuk5dOKmPh7Jqg3osTJJQTP8y1g1w=; b=O7cwyn+hSa3X9QOg6KbF/ma120ejeVySJzhBuZHdEPvOrqte3rYHkTdflqDxAPoIHV c4n7g+C6JMPImM43tzGMJOkfmpQDtEmI/mvy+H6QYuhjG+5WRRiFAMbxSZjRdzWd5/Qs RW/w4Nx2IWkXLpYt2HYtkKlozSghFj45LE0eX5+vHHC5R+JjwwzSVaowPhpIYlb7UNTG MWrSzPNpd7hV4z3SRbGQSlssSlSauNPm/KQru6WlV30i3eV/I4++kdNObyQMEk/LwdPe wN25TJK2MtjyfD8DwKKI5ABjn/oeKDfWQ7l+1t3b/UxgpZn3hfzjBfqmfK1vJj0F0k/S j+6A== X-Gm-Message-State: AOAM5327Lc8tH01h9pYfqDoPyfKfg0CtNKsvFo+B/6NTebHLfaw0SDvw Nool30dkGMz5Si/IEWw0Nu5kDm+M/ls= X-Google-Smtp-Source: ABdhPJyMkGvNO1puvF/cTF+h61q+Ht1vOBSW+PYi+8+RkVU3SaxTqK90HtTfg7T4iA/EJq0tiw5ikg== X-Received: by 2002:a17:90a:67cb:: with SMTP id g11mr3823097pjm.226.1603472767286; Fri, 23 Oct 2020 10:06:07 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:06 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 07/16] gnu: Add ghc-only. Date: Fri, 23 Oct 2020 10:05:35 -0700 Message-Id: <20201023170544.9860-7-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f090f62b86..e831c12160 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8610,6 +8610,39 @@ old @code{time} library. For new projects, the newer @uref{https://hackage.haskell.org/package/time, time library} is recommended.") (license license:bsd-3))) +(define-public ghc-only + (package + (name "ghc-only") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/Only/Only-" + version + ".tar.gz")) + (sha256 + (base32 + "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" + "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr"))) + (home-page + "https://hackage.haskell.org/package/Only") + (synopsis + "The 1-tuple type or single-value \"collection\"") + (description "This package provides a canonical anonymous 1-tuple +type missing from Haskell for attaching typeclass instances. + +NOTE: There is also the @url{https://hackage.haskell.org/package/OneTuple, +OneTuple package} which by using a boxed @code{data}-type provides a 1-tuple +type which has laziness properties which are more faithful to the ones of +Haskell's native tuples; whereas the primary purpose of @code{Only} is to provide +the traditionally so named type-wrapper for attaching typeclass instances.") + (license license:bsd-3))) + (define-public ghc-opengl (package (name "ghc-opengl") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:47 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:47 +0000 Received: from localhost ([127.0.0.1]:58277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p0-0000Ci-Vd for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:47 -0400 Received: from mail-pg1-f180.google.com ([209.85.215.180]:45314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0W6-00085Q-6x for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:14 -0400 Received: by mail-pg1-f180.google.com with SMTP id 19so1708237pge.12 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1BMcl3mtGsogR683zqpjNxqTAJC66CShJ7r6NUh+yIc=; b=ravwqeG7CAek8PIs1YbdYyyA8FOS8DmNP1YISwc0Q0VgGXdLaftGHq+Cdh+zfnD9xb JuvToS67NeiEU4QsNCz6WaTyGWlzsEHMR5S9PnO/e5KzWTAco5LzYv2dNrDQ4Aut2/0L 6BL/LE5+FwgqIotCmQhXRS10dvv/VOZUatL865tf/0rQujcfGJfFMX52hxSl6HQnFgif ASkDfx5kUZrUPtv9YTrYbY0afmerGKOBcivgEZidmmLXwcktKbjKW17E/TSU8LSVQ7zO x4YFtAEDa87NHIk8U4S4fIuo6M8FWNdGG1CuH+Dbi2RxP2lDwI1sz+ZhRizqCdU2HrE+ exWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1BMcl3mtGsogR683zqpjNxqTAJC66CShJ7r6NUh+yIc=; b=B/OilDLBeKxXbOWIOFpkLDje5pRUquAZm2iJEqzUJgmgWsanJYg4OhYTzu/aytvahp AJUOPefzFExu86sKQFs1HZLnqcqxAHxalTkCAL3RV/kjU4YmMcuC1bbm8SE4Fycz6JcA gtksnytogU498SoX7ZjExNoM4Ex6O2rI1Bv4aYBG4yanXFRiXj9/eURBhtlsU0bi0SLf No4oNMLEpmvSm7bhcWzZrVSYWBUSSeVyL6T6ofO5rqwxMRAxst32GZQi+wYC9MuM+MsR +VET3V7ccmBNeshVN23UsEsn8vb8aWyGPO7iFE2eoFUVBANYMkB3QwqODuywvJB+fVm0 ++gw== X-Gm-Message-State: AOAM532oHu4z/AvSp8jE1p0ZyRjL052Qoa8bmU1AvU5/HiFd+3YgAB5G oRKrZS4j+PjXzEZjJfOFNcyJyKP1TVA= X-Google-Smtp-Source: ABdhPJwgyjX5ah3TVfJuJaYx48o66REUKO/nZzg5GLoo7TN8UW5mbIdxchFB34jnNVJoR12IB9gELQ== X-Received: by 2002:a17:90a:7023:: with SMTP id f32mr3808864pjk.87.1603472768402; Fri, 23 Oct 2020 10:06:08 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:07 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 08/16] gnu: Add ghc-text-short. Date: Fri, 23 Oct 2020 10:05:36 -0700 Message-Id: <20201023170544.9860-8-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index e831c12160..c4a8d4c208 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8924,6 +8924,47 @@ require aeson (description "Safe conversions between textual types") (license license:isc))) +(define-public ghc-text-short + (package + (name "ghc-text-short") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/text-short/text-short-" + version + ".tar.gz")) + (sha256 + (base32 + "0xyrxlb602z8bc9sr2y1fag0x56a20yj5qrkvy7iwc6hnznrynxz")))) + (build-system haskell-build-system) + (inputs `(("ghc-hashable" ,ghc-hashable))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-quickcheck-instances" + ,ghc-quickcheck-instances))) + (arguments + `(#:cabal-revision + ("2" + "17cb7p0qywf2dsrq3g8qb3ssknd9wl5k0nc2pxz9gc3l8rxpkw51"))) + (home-page + "https://hackage.haskell.org/package/text-short") + (synopsis + "Memory-efficient representation of Unicode text strings") + (description "This package provides the @code{ShortText} type which +is suitable for keeping many short strings in memory. This is similiar +to how @code{ShortByteString} relates to @code{ByteString}. + +The main difference between @code{Text} and @code{ShortText} is that +@code{ShortText} uses UTF-8 instead of UTF-16 internally and also doesn't +support zero-copy slicing (thereby saving 2 words). Consequently, the memory +footprint of a (boxed) @{ShortText} value is 4 words (2 words when unboxed) +plus the length of the UTF-8 encoded payload.") + (license license:bsd-3))) + (define-public ghc-doclayout (package (name "ghc-doclayout") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:47 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:47 +0000 Received: from localhost ([127.0.0.1]:58279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p1-0000Cp-Bt for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:47 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:41814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0W7-00085T-Fk for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:15 -0400 Received: by mail-pf1-f182.google.com with SMTP id c20so1816225pfr.8 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HgfZmyERQgZtrMnKJGgjB7ACNZL+5FMCmOWa1YENdtM=; b=PKGHhztbnk1//H1rUJmyPbOhNaJt7Biv0RdXBZXxb7fKLYzhtPtDpru7HuZcvkU2sa aR5jipzrzlZDAAWEOiyt4sDE2jaYVmltwuxe2uwYZilH18lwxMBuREjJQon9DTmRlya/ ARU4p3eBQt57UGOkFqc0gsm8DleNZitCAygzpCuAbR9mce0po4Zwvb0gGLFw00A/6pQ5 bWP9cSM/i2ZFeGvCX9UOA43OBzG6FSWYEx7uaEcqSQYJK5jXB4xgxWwan3fRgllXDFhp NXMReM8huRRfEF1EFUhcszvZkPUxvRHP2S6O2ZrhXw3Y46HG7xxeOTdI2sALjYGpV44U uldQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HgfZmyERQgZtrMnKJGgjB7ACNZL+5FMCmOWa1YENdtM=; b=i7t9699sxXZoolwCKVA9xfyq86/LrFV8JK2E6dyWIM636MKL/w1gwKSBc3svgqPnhO sokzGRa0F2LP20neOGAfUxUxAMAGtspNhVA55uyv6JpBTJIOYjAJMf9ix1Xb9GwsZz4Q k+NMIKwtBFU0YramIiD+/f8YwI9nCfMVglYagy6iswfRTdZxoroDQnKxpML+GfEwiiNw Z9oI9ygn1/WalZWVuLGda+EpXs4GLTubxBlDEet7aXYj8k06xWS81LsJ1w7HyBsAGG6L eXJVSY2EuvlTQEW8ydCBCdTJV5JNGH5rKUoCFMIDFWvlW23ydUi2NkO1NIkCz7eM6fNd H+3w== X-Gm-Message-State: AOAM53328TTqMf3z6VHN7sTSQiu3SUmqgq7eb2IeRIcSUXWv9IQZcjEW rnq/mkoQupueavd8s706t0kiw0d1NDc= X-Google-Smtp-Source: ABdhPJzhPyHBVc/szRG6q9Rzm0ObMXlF707bYIs3N5f8c0Rc2ZcH/V8jSMHuVBC8k4ABzd+6qe8JXQ== X-Received: by 2002:a05:6a00:2a5:b029:152:5652:7191 with SMTP id q5-20020a056a0002a5b029015256527191mr3104163pfs.7.1603472769543; Fri, 23 Oct 2020 10:06:09 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:08 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 09/16] gnu: Add ghc-tabular. Date: Fri, 23 Oct 2020 10:05:37 -0700 Message-Id: <20201023170544.9860-9-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index c4a8d4c208..0cce72e9f5 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -12813,6 +12813,46 @@ Unlike the filepath package, this package does not simply reuse String, increasing type safety.") (license license:expat))) +(define-public ghc-tabular + (package + (name "ghc-tabular") + (version "0.2.2.8") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/tabular/tabular-" + version + ".tar.gz")) + (sha256 + (base32 + "0z936gh8n8i8qdkagyxwd9gqq13skd5fv013vdvwsibrxkm0czfb")))) + (build-system haskell-build-system) + (inputs + `(("ghc-csv" ,ghc-csv) ("ghc-html" ,ghc-html))) + (home-page "https://github.com/bgamari/tabular") + (synopsis + "Two-dimensional data tables with rendering functions") + (description "Tabular provides a Haskell representation of +two-dimensional data tables, the kind that you might find in a +spreadsheet or or a research report. It also comes with some +default rendering functions for turning those tables into ASCII +art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX. + +Below is an example of the kind of output this library produces. +The tabular package can group rows and columns, each group having +one of three separators (no line, single line, double line) between +its members. + + || memtest 1 | memtest 2 || time test | time test 2 +====++===========+===========++=============+============ +A 1 || hog | terrible || slow | slower +A 2 || pig | not bad || fast | slowest +----++-----------+-----------++-------------+------------ +B 1 || good | awful || intolerable | bearable +B 2 || better | no chance || crawling | amazing +B 3 || meh | well... || worst ever | ok") + (license license:bsd-3))) (define-public ghc-tagged (package -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:48 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:48 +0000 Received: from localhost ([127.0.0.1]:58281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p1-0000Cy-N2 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:48 -0400 Received: from mail-pg1-f173.google.com ([209.85.215.173]:33678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0W8-00085h-Hk for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:16 -0400 Received: by mail-pg1-f173.google.com with SMTP id l18so1746958pgg.0 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oC5FBpKWm8qTc0fZujWZI5L5igc5L4xOdvo8LJRRVg8=; b=HIL92empUVUotmxPrRbxmodpP+hxU60PJkqS8LYCoikXZlynoDARJzFArS2EszlUsB 5lv6I1ajWNmTIJdKSsL7tXNX2PJB5QdVCuX4Sjk0xVWPdiyVbUVxa7FP2dSuL2lQ+k5R MfhRgBQF0XrY3ok1OW+8unKsFCU2QF+542V2xzz9FHdvXJW7sumQkyVl7fHozsFndbil nPLrh3zaRI7LFNK0BiOvZhZpP3o/VFcRfoReXzYeyqZef1jUqXPB9kc3p/0rHAfaL1xO whds1SeK8RD5vxz1NdshtJdRr9+kQsPOkurjwgZRJlKStaC4XDloEhZdJp/eUsckTL91 4mvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oC5FBpKWm8qTc0fZujWZI5L5igc5L4xOdvo8LJRRVg8=; b=BZmvvATOaYfO2M4iTJb6GjHUZMa5ivI6mUGvqR74aNAvcIWm3xNiDYtk905Tfl2Wp7 lcKqIP1KAIRPdOfJD7hWjUx+crwajg2gfxC0LPwb3sNNPAwwCnKLpZl7m29/xqe+rysU iC3bmGI42XZwtnp2474EVu415K/VBlNeZrPHjRW7/SxMDkOfFWIg8LAPs9iYAWLrOPN+ t669y0r+H6y+ZYCm20bGYC0NzW/ajMw1QTs+Bpg3QWF5iYiq/55I0pCJUOKi883uUdpf OhNFLscmVzqxVd7dJNo7/E1j9sHSFMlFKmK402lOqS1ortFH3uniaLmSlllakkHWERYb 26gA== X-Gm-Message-State: AOAM533Vohmh8FoeXmy22OoyIZYAtY772x3+1m224v62eSjS6ZWxunfD kvFgeDbhFbUgE2ipx7mJdu3W8R0XvSY= X-Google-Smtp-Source: ABdhPJwP7jxXAC5H3yJ+HXev03girSjdF/FX11obxdRGQ08DQe/Mpi+3xCZ4Q7r8Qs+3i6t0vPfg/Q== X-Received: by 2002:a63:1e5e:: with SMTP id p30mr2846604pgm.159.1603472770712; Fri, 23 Oct 2020 10:06:10 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:10 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 10/16] gnu: Add ghc-uglymemo. Date: Fri, 23 Oct 2020 10:05:38 -0700 Message-Id: <20201023170544.9860-10-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 0cce72e9f5..269ba898b3 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13875,6 +13875,35 @@ processes. It wraps around the @code{process} library, and intends to improve upon it.") (license license:expat))) +(define-public ghc-uglymemo + (package + (name "ghc-uglymemo") + (version "0.1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/uglymemo/uglymemo-" + version + ".tar.gz")) + (sha256 + (base32 + "0ixqg5d0ly1r18jbgaa89i6kjzgi6c5hanw1b1y8c5fbq14yz2gy")))) + (build-system haskell-build-system) + (home-page + "https://hackage.haskell.org/package/uglymemo") + (synopsis + "Simple (but internally ugly) memoization function") + (description "Simple (but internally ugly) memoization function. + +@itemize @bullet +@item +New in 0.1.0.1: Make it exception safe. +@end itemize + +") + (license license:public-domain))) + (define-public ghc-unagi-chan (package (name "ghc-unagi-chan") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:50 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:50 +0000 Received: from localhost ([127.0.0.1]:58283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p2-0000D8-RE for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:49 -0400 Received: from mail-pg1-f181.google.com ([209.85.215.181]:41678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0W9-000862-TR for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:18 -0400 Received: by mail-pg1-f181.google.com with SMTP id g12so929111pgm.8 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LC1UgN6eCwHPDGqeG5ZV2XzKHkYGdQxEA+/kptytdUM=; b=Xnt7qgfeUaBdQ442R8q64GEkLHTlPohL1Rc8eQSVFEdxMuVBsSbpd/P62HnnbHdmCI HkM1ZtVS1dl8ZHY5UFWDhv1Kq/Ybp7Bc8oXo+ODAxeAa+SLtgfz3tMiR6s4bKIwFHpBC oazvgL7xjwe7Kz82sSNp1pGLA47VW2ALq1TNVLmF0mMKg2lBxj4zdwxEnbKc0vzTN/KY Luhlzt8kFec4+sli5qXoh+HbT5IT/c8GDMdsw7ZH7vaNwJ8SeS30LfipEGqc26iutrAj 5HcOm3z9WSSf+XXXEQfKxSk3BnNNtScY3FFmH3m+OkxeyWFkfAak6mI7LMUzKg8Gll7u yK5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LC1UgN6eCwHPDGqeG5ZV2XzKHkYGdQxEA+/kptytdUM=; b=aiIZkN96Ihqhzeb0sU9sn3YM6XELHhSbmqe6EIk5mJuxmaWA9jFORIPbyzi05CefhS Qg9d4xIwdJ8KKdesinKb/Dxrs4t4I0+SBxDL+DmLm6692dQ8QIU5pxHXwe21KuxTpMga /ldFh4zbPYB179VttPMeIjbYBl0xKpdm6DOSpl1ktMV2W6rkORZjyBjlj2T2xwGHlPXV wH+ehtqMYFVUEMNk/UqH1+/LaoRAHZZuj0X09TszLOkSup89BUb6pV8KVUr74t1yMIjH Rij0g5YWWkRFpBwkEjASfMJm+c1hN/l9nosargcYut1kWtMp/0EtqWDanagBisHxpMEc 2bvg== X-Gm-Message-State: AOAM531XdlJtzAPhyRNq70eKf4WujHvMmw7vaSE/weMb2S9Gc0t0WjBM qsR4ujNEu7xGS5p6lE8lKO/xEPuwnxg= X-Google-Smtp-Source: ABdhPJzJbOHV/4EV/F9rsw2mqzHP1C/sujtV3rktVgqeyzt4W7x/G0kcdutcz+eMmxHyLjy/DOlyIg== X-Received: by 2002:a65:5606:: with SMTP id l6mr2885776pgs.49.1603472771904; Fri, 23 Oct 2020 10:06:11 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:11 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 11/16] gnu: Add ghc-wizards. Date: Fri, 23 Oct 2020 10:05:39 -0700 Message-Id: <20201023170544.9860-11-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 269ba898b3..bfbe601ed7 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -14780,6 +14780,56 @@ widths to the Char type.") Haskell value or function.") (license license:bsd-3))) +(define-public ghc-wizards + (package + (name "ghc-wizards") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wizards/wizards-" + version + ".tar.gz")) + (sha256 + (base32 + "1clvbd1ckhvy29qrbmpkn7bya7300fq6znnps23nn3nxyrxhsr85")))) + (build-system haskell-build-system) + (inputs + `(("ghc-control-monad-free" + ,ghc-control-monad-free))) + (arguments + `(#:cabal-revision + ("1" + "095qd17zrdhqmcvmslbyzfa5sh9glvvsnsvnlz31gzsmi8nnsgim"))) + (home-page + "http://hackage.haskell.org/package/wizards") + (synopsis + "High level, generic library for interrogative user interfaces") + (description "@code{wizards} is a package designed for the quick +and painless development of @emph{interrogative} programs, which revolve around +a \"dialogue\" with the user, who is asked a series of questions in a +sequence much like an installation wizard. + +Everything from interactive system scripts, to installation wizards, to full-blown +shells can be implemented with the support of @code{wizards}. + +It is developed transparently on top of a free monad, which separates out the +semantics of the program from any particular interface. A variety of backends +exist, including console-based @code{System.Console.Wizard.Haskeline} and +@code{System.Console.Wizard.BasicIO}, and the pure @code{System.Console.Wizard.Pure}. +It is also possible to write your own backends, or extend existing back-ends with +new features. While both built-in IO backends operate on a console, there is no +reason why @code{wizards} cannot also be used for making GUI wizard interfaces. + +See the github page for examples on usage: + +@url{http://www.github.com/liamoc/wizards} + +For creating backends, the module @code{System.Console.Wizard.Internal} has a brief +tutorial.") + (license license:bsd-3))) + (define-public ghc-wl-pprint (package (name "ghc-wl-pprint") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:51 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:51 +0000 Received: from localhost ([127.0.0.1]:58285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p4-0000DG-17 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:51 -0400 Received: from mail-pf1-f176.google.com ([209.85.210.176]:38058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0WB-00086Q-Ab for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:20 -0400 Received: by mail-pf1-f176.google.com with SMTP id 10so1828191pfp.5 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=U0wYD/fNg5YVfEfeTRb2AWKy0w/k0SBU3jkS6AuWptk=; b=LCM9abzxdUBA5DXs1h2NKjo93vHwENjNb87dJfe+6VffzR/ncky7SRPeJSS4ojdT+1 4iIdc7xFaMXXMWvFupUCeONjXXEc80SfZAfq4hfSMN+Mk78fKRLBFCLgi+u7Zn7yL82d Nmx2wYyk5+DWVxvHR1zek/RqtFbElHRg9IYuZVFggmm6iAusgI24TKhtgfVGU8CXCvEe mKMLlBUJT4vWzi9qF5sTOx7c3IDA/NM5dpbwfBE0zzH+drz+4MDBAMficZU+BQ56Wlns lOAxGceGlKNUxXT7f2vuNaLCFJGSlvu/D1w73CfZ8/oOCYQvc3rbLmA1ZNZHiT2P90Yi AisQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=U0wYD/fNg5YVfEfeTRb2AWKy0w/k0SBU3jkS6AuWptk=; b=W0F90j81olI+ciQTBzA8OB4gLoXn/1Xoxz6qFGOcPXvXyM6EtVaNvFNOk9V29gYru6 2X7EMH093arRTagcRUnetgG3YSQgWEXT8IGDLh1WQ92hl385xppbS/eTQbyPgXcb43DE AMuQapwZiHTFSG/oyNDSCzKY+o417FAphppJAxgNoTUCsp9HRz5yLgV8fSHO/JvcgiJe CSIq4/qHB/g4QFmCK9hPl7OUZj903A40LpDiTA56tADc2VJSt0EzAtx7O2ljGvk4H/iA 34a1gZrHw7aqvyNCOZDv7mGsHTtviz+i0Kj2kKQXPsDXpRJEWJS/cnlBogZAh4vUNa4Y FjYw== X-Gm-Message-State: AOAM531ebCZOJ0u0cGtOuQeZuvtiDOYiWhWeD2PHFLLFHW/dlh18FJiN 8AU9eiGbG7cxn4KG7xFvz7t8gLLAzlI= X-Google-Smtp-Source: ABdhPJzmDN8FzQIWJkI9u8o3+0bsvjQdo1yKS9+Il7CwgEhAWkwVxs6IIdGi3R3Fzcm7/4Bug/DlXw== X-Received: by 2002:a63:e44b:: with SMTP id i11mr2926985pgk.431.1603472773202; Fri, 23 Oct 2020 10:06:13 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:12 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 12/16] gnu: Add ghc-cassava. Date: Fri, 23 Oct 2020 10:05:40 -0700 Message-Id: <20201023170544.9860-12-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 89 ++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index bfbe601ed7..8060c2f034 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -1551,6 +1551,95 @@ constructor which can be parameterised by a string-like type like: the resulting type will be insensitive to cases.") (license license:bsd-3))) +(define-public ghc-cassava + (package + (name "ghc-cassava") + (version "0.5.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cassava/cassava-" + version + ".tar.gz")) + (sha256 + (base32 + "01h1zrdqb313cjd4rqm1107azzx4czqi018c2djf66a5i7ajl3dk")))) + (build-system haskell-build-system) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-hashable" ,ghc-hashable) + ("ghc-scientific" ,ghc-scientific) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-only" ,ghc-only) + ("ghc-text-short" ,ghc-text-short) + ("ghc-bytestring-builder" + ,ghc-bytestring-builder))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-quickcheck-instances" + ,ghc-quickcheck-instances) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" + ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" + ,ghc-test-framework-quickcheck2))) + (arguments + `(#:cabal-revision + ("1" + "1ph8rf91z4nf1ryrh9s4gd1kq98jlgk2manwddkpch8k0n9xvfk4") + #:configure-flags '("--flags=-bytestring--lt-0_10_4"))) + (home-page "https://github.com/haskell-hvr/cassava") + (synopsis "CSV parsing and encoding library") + (description "@code{cassava} is a library for parsing and encoding +@url{https://tools.ietf.org/html/rfc4180, RFC 4180} compliant @url{https:// +en.wikipedia.org/wiki/Comma-separated_values, comma-separated values (CSV)} +data, which is a textual line-oriented format commonly used for exchanging +tabular data. + +@code{cassava}'s API includes support for + +@itemize @bullet + +@item +Index-based record-conversion +@item +Name-based record-conversion +@item +Typeclass directed conversion of fields and records +@item +Built-in field-conversion instances for standard types +@item +Customizable record-conversion instance derivation via GHC generics +@item +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 +Incremental decoding and encoding API (see @url{https://hackage.haskell.org/ +package/cassava-0.5.2.0/docs/Data-Csv-Incremental.html, Data.Csv.Incremental}) +@item +Streaming API for constant-space decoding (see @url{https://hackage.haskell.org/ +package/cassava-0.5.2.0/docs/Data-Csv-Streaming.html, Data.Csv.Streaming}) +@end itemize + +Moreover, this library is designed to be easy to use; for instance, here's a +very simple example of encoding CSV data: + +@verbatim +>>> Data.Csv.encode [(\"John\",27),(\"Jane\",28)] +\"John,27\r\nJane,28\r\n\" +@end verbatim + +Please refer to the documentation in @url{https://hackage.haskell.org/package/ +cassava-0.5.2.0/docs/Data-Csv.html, Data.Csv} and the included @url{https:// +hackage.haskell.org/package/cassava-0.5.2.0/#readme, README} for more usage +examples.") + (license license:bsd-3))) + (define-public ghc-cborg (package (name "ghc-cborg") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:51 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:51 +0000 Received: from localhost ([127.0.0.1]:58287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p5-0000DS-8K for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:51 -0400 Received: from mail-pf1-f175.google.com ([209.85.210.175]:36885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0WD-00086f-2A for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:21 -0400 Received: by mail-pf1-f175.google.com with SMTP id 126so1402710pfu.4 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KllnsXG2Qe1IrxL8LuF/85Z4xxkl4Z5WV1uZzxOYIcE=; b=Whly5XC+TCnZ5H5+WP/dLNNOvUKejul1r8cD0q4hBiNBBXBptZ5ml/7hp6AAoV5D+l cX4pGcKFFm7o5lMPlBQKmYq+OT2cm8/lhQCRPC7FrsgkkhpSFK3EhuwpchHtKEx/8II5 8hbC+2Bfk1vtLa22GYnF+W8X87Iv2i79rHtWKExm3NkRaTPLwmSaRiBRG6WUf3VzTimr +vg62coYERasnTgrfu+1dP4OIIZn8BLvquRosNEKgyD2BGKoPT14r3Az4cNlq4csR3eU JLEGIqF3nC5F4iT4ubo+OCNCTyiRyhxSYlG50z9N2Q8NmDy/RtjeK6bp3UzxW1qcrgel 4DMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KllnsXG2Qe1IrxL8LuF/85Z4xxkl4Z5WV1uZzxOYIcE=; b=I07d7+h4j3AylYsYlx+kS4mkUHXcH0Z++rzoHC0WzzDDmNL94V3u/i5aXLuNXUFaro 3VjlZCBi9uNDPT73MEMn7eua01EZWhQuP10XkhTOSu73yX6kg5jQRqOQeX5WV5029Npn GN/8DhonYB1hExoONk1DpXlLyLPgjt1APmrP77ZM3rft3WEiQZ0h3qSdlcdRqtlUAqT/ Ce/g486YNE4FNOb0/Y/SOYcE4JlgOD3whc1C+1XggKYLxUdGMDh/QkJZo4PGnQ+8SU98 k35Q/61mgTPNiVT0e89Cm/VaviG0VIQdkcP+wmp2YGFIBoIjaytQSRurvduY4fOysUpH Ucog== X-Gm-Message-State: AOAM5334FNyi84pSXU5LBn+ReZ3PcbOm2wasgRlS+bF6Tr23Qt/MyDBd SS/VXu1s69j5AfzyGgReTjg38folgVA= X-Google-Smtp-Source: ABdhPJz7idmA/RDVVTLRRRCGntVjl0GVASXpj4xIDwX8yMXysXCDyPtR992zzbQ2pCM5RPSVfoix0A== X-Received: by 2002:aa7:90cf:0:b029:156:2bff:5a87 with SMTP id k15-20020aa790cf0000b02901562bff5a87mr119129pfk.63.1603472775237; Fri, 23 Oct 2020 10:06:15 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:14 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 13/16] gnu: Add ghc-cassava-megaparsec. Date: Fri, 23 Oct 2020 10:05:41 -0700 Message-Id: <20201023170544.9860-13-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 8060c2f034..46ed95d607 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -1640,6 +1640,39 @@ hackage.haskell.org/package/cassava-0.5.2.0/#readme, README} for more usage examples.") (license license:bsd-3))) +(define-public ghc-cassava-megaparsec + (package + (name "ghc-cassava-megaparsec") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cassava-megaparsec/" + "cassava-megaparsec-" + version + ".tar.gz")) + (sha256 + (base32 + "03x1462agrfdagklp8c89b8p4z2hd8nbf6d3895sz770zjkawda7")))) + (build-system haskell-build-system) + (inputs + `(("ghc-cassava" ,ghc-cassava) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-hspec-megaparsec" ,ghc-hspec-megaparsec))) + (home-page + "https://github.com/stackbuilders/cassava-megaparsec") + (synopsis + "Megaparsec parser of CSV files that plays nicely with Cassava") + (description + "Megaparsec parser of CSV files that plays nicely with Cassava.") + (license license:expat))) + (define-public ghc-cborg (package (name "ghc-cborg") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:52 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:52 +0000 Received: from localhost ([127.0.0.1]:58289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p5-0000DV-K1 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:52 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:38009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0WE-00086z-51 for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:22 -0400 Received: by mail-pg1-f195.google.com with SMTP id i26so1390453pgl.5 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3OXbA4SFwyM15g0Nemb9cghz2XhNEi5shWr/d5LgEbQ=; b=pLNroTgXiByF9NjSm6VbWHAX11JxZbMdFbK5MVciY86JSW9cxOjtfPn2ukSVOrNG8b /YTOQuQ0uJ35vu7940ntqyLqrlAgxF7Bh8HZBOB8TTdyE/chkrWMyqBW5nO6iXGA/rKJ lxOFm8TLTDdGUxMgJioAJ1oLfdaYbo/LIoMrlZi5bHNPE7Baxw4ZzngJgcoGTqiMKWWP v3vEv1GPOJHl6Lmcw0ljd4qnpAXf8eTYX/ASwqdyET9l2MpzKZOV+93lkIjTTvUXUkEB fMGcseZROEXLhWpie16/Z908Hht0A7HBA+CYy96NOBrROj6EppSgnwc89Bc/8ETpnYhJ 8L+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3OXbA4SFwyM15g0Nemb9cghz2XhNEi5shWr/d5LgEbQ=; b=EJTszTABjs2/WU8zBIAO5QCTMU+KQ4I9B3VgXXWvh66ViMxRrErJtI0PxiFAyg38t5 nl/PlNvnFZJoaeE/IzMyoQvrUAavM627sMUiYt+u6V9rhR7dZEfI3ciipEwgmEgb6A/i hT5cFe/xo95NkvaakmjUPyb9OgCN6uy6na+GosEc6wCYYc5wnlBnhBLJ1ocXSK/JRCiZ deTHYy5Xzwy1InlcQPfR32OYAuf/KlYQ8qjs8jxwDWLeMt0OGCdYnLAxt9UrmTjRCzUn j2f2lCdlAIJ8ukL7c6z1PH4CMuqNg1KO/ZroKX96M+i4NQH5onr+qx67JuNCSPP5VXfi jdxg== X-Gm-Message-State: AOAM532eqqJAhbTQ8sqFt3tA/cMXtnbletESS+PTee528qDidK8rxixW 2gkis7vWWYNCG1xcWxUaB66V7Fsa3iA= X-Google-Smtp-Source: ABdhPJzgQubPaeOvHTUYagLvgh0+UFfZj+lmiwHBtnLB4CBBHXUjenWnnCJ53hLKTBXFZh2ReNW0mQ== X-Received: by 2002:a17:90a:6f05:: with SMTP id d5mr3756815pjk.162.1603472776332; Fri, 23 Oct 2020 10:06:16 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:15 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 14/16] gnu: Add ghc-hledger-lib. Date: Fri, 23 Oct 2020 10:05:42 -0700 Message-Id: <20201023170544.9860-14-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/haskell-xyz.scm | 64 ++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 46ed95d607..eaba188e97 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -5853,6 +5853,70 @@ feature, allowing applications to subscribe to notifications when a file is accessed or modified.") (license license:bsd-3))) +(define-public ghc-hledger-lib + (package + (name "ghc-hledger-lib") + (version "1.19.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hledger-lib/hledger-lib-" + version + ".tar.gz")) + (sha256 + (base32 + "0py11011r358nmnvwwkc8mlx6mpy36jm8sqlr4i8ihx3x0zjdgya")))) + (build-system haskell-build-system) + (inputs + `(("ghc-decimal" ,ghc-decimal) + ("ghc-glob" ,ghc-glob) + ("ghc-aeson" ,ghc-aeson) + ("ghc-aeson-pretty" ,ghc-aeson-pretty) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-base-compat-batteries" + ,ghc-base-compat-batteries) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-call-stack" ,ghc-call-stack) + ("ghc-cassava" ,ghc-cassava) + ("ghc-cassava-megaparsec" + ,ghc-cassava-megaparsec) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-data-default" ,ghc-data-default) + ("ghc-extra" ,ghc-extra) + ("ghc-fgl" ,ghc-fgl) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-hashtables" ,ghc-hashtables) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-old-time" ,ghc-old-time) + ("ghc-parser-combinators" + ,ghc-parser-combinators) + ("ghc-pretty-show" ,ghc-pretty-show) + ("ghc-regex-tdfa" ,ghc-regex-tdfa) + ("ghc-safe" ,ghc-safe) + ("ghc-split" ,ghc-split) + ("ghc-tabular" ,ghc-tabular) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-timeit" ,ghc-timeit) + ("ghc-uglymemo" ,ghc-uglymemo) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string))) + (native-inputs `(("ghc-doctest" ,ghc-doctest))) + (home-page "https://hledger.org") + (synopsis "Reusable library providing the core functionality of hledger") + (description "A reusable library containing hledger's core functionality. +This is used by most hledger* packages so that they support the same common +file formats, command line options, reports etc. + +hledger is a robust, cross-platform set of tools for tracking money, time, +or any other commodity, using double-entry accounting and a simple, editable +file format, with command-line, terminal and web interfaces. It is a Haskell +rewrite of Ledger, and one of the leading implementations of Plain Text Accounting. +Read more at: @url{https://hledger.org}") + (license license:gpl3))) + (define-public ghc-hmatrix (package (name "ghc-hmatrix") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:52 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:52 +0000 Received: from localhost ([127.0.0.1]:58291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p6-0000Dd-2K for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:52 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:41983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0WF-000878-8Z for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:23 -0400 Received: by mail-pg1-f196.google.com with SMTP id g12so929300pgm.8 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EzWTlNDRv5xaftkFm40pYAsI27s78OAzWGfrrx6V95k=; b=jCKD7xvxHCtFH9a3+/dhaRaOqNlc5ql114HlaaJbhbNde2pXI+ZCzxHCycjodamsP4 K8cUJKFWd9IDcScDaFBD0NnhXmM0Q2ikCfs+NAGT+nWAiiT8vuI/sc2fTmvEyAHdG+BB 9RrxfzSU8L8cYtscy2FROH06mYd3xDHb6zm5AQqUZwa1cevEXZFtxe1agAy35shKFIgb hXyn/GdCaEYuiHAQ+8zmOwsk0XULXnQ+JaXkhkmd4N9j/hJUTr1uJYk6B3ZP/G0BzKZV e4/DkziWPxsuuygkiceJwhAokergZVYXAmAaTIemTgK3yAjxDxlIH7RrY/YjgnxKEO9G 04/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EzWTlNDRv5xaftkFm40pYAsI27s78OAzWGfrrx6V95k=; b=Kp0W3hXZ4xQAd6003JOguBLLlP9/8ygGawG7iW+rUOgc+JgksySjR6/UJafrnUjErp P/ds++s2hpXARHwKkP0ffndN1xINqfVU4wvZK7u+wnUPC/FtNGtPZMTWkEsAAvM7t31Z tP0EOWBDh/HTHNYmJVS+FSRmvKPmwSgUdgzotdTzYwrKrnMNhRR2rcds7zb2sXXL5sFK z9S1T7FQtck5DL+7FUYPxod75KJRuvI6ERNaWVB7HzOdr3iJqqDaxyknQeo/OE5fOhQt /PA6cmj7YDmmfYHxEZznMaXymc4e+a/4kekuTNk332hwz0A9K/lyiB7sce8VFQTFwbKy WbEA== X-Gm-Message-State: AOAM531J3uzQ4y9iQvvwdALWKClRay3UQbT13T6MRn6uXaZkFf3rZtBF n/N68rQNjw+x63bcYtiUmYsrXO7x3ts= X-Google-Smtp-Source: ABdhPJzbNDaWmsCgo3Qe5gKfhUE/hpl+UOd+9DfdZwhPFood8GaVotTcyDCSecBRO7Ui+dL4pGS/+Q== X-Received: by 2002:a17:90a:3e4e:: with SMTP id t14mr3706970pjm.217.1603472777422; Fri, 23 Oct 2020 10:06:17 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:16 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 15/16] gnu: Add hledger. Date: Fri, 23 Oct 2020 10:05:43 -0700 Message-Id: <20201023170544.9860-15-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/finance.scm | 63 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 4397cf8ba8..15a86b8688 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -45,6 +45,7 @@ #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system emacs) + #:use-module (guix build-system haskell) #:use-module (guix build-system python) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system go) @@ -72,6 +73,9 @@ #:use-module (gnu packages graphviz) #:use-module (gnu packages groff) #:use-module (gnu packages gtk) + #:use-module (gnu packages haskell-check) + #:use-module (gnu packages haskell-web) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages jemalloc) #:use-module (gnu packages libedit) #:use-module (gnu packages libevent) @@ -170,6 +174,65 @@ of the bitcoin protocol. This package provides the Bitcoin Core command line client and a client based on Qt.") (license license:expat))) +(define-public hledger + (package + (name "hledger") + (version "1.19.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hledger/hledger-" + version + ".tar.gz")) + (sha256 + (base32 + "0wfsyf2q1kf90mj3lxs0m5ghj153axmpkc8xfy12vkz5imnyphfm")))) + (build-system haskell-build-system) + (inputs + `(("ghc-decimal" ,ghc-decimal) + ("ghc-diff" ,ghc-diff) + ("ghc-aeson" ,ghc-aeson) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-base-compat-batteries" + ,ghc-base-compat-batteries) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-data-default" ,ghc-data-default) + ("ghc-extra" ,ghc-extra) + ("ghc-hashable" ,ghc-hashable) + ("ghc-hledger-lib" ,ghc-hledger-lib) + ("ghc-lucid" ,ghc-lucid) + ("ghc-math-functions" ,ghc-math-functions) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-old-time" ,ghc-old-time) + ("ghc-pretty-show" ,ghc-pretty-show) + ("ghc-regex-tdfa" ,ghc-regex-tdfa) + ("ghc-safe" ,ghc-safe) + ("ghc-shakespeare" ,ghc-shakespeare) + ("ghc-split" ,ghc-split) + ("ghc-tabular" ,ghc-tabular) + ("ghc-tasty" ,ghc-tasty) + ("ghc-temporary" ,ghc-temporary) + ("ghc-timeit" ,ghc-timeit) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-utility-ht" ,ghc-utility-ht) + ("ghc-wizards" ,ghc-wizards))) + (home-page "https://hledger.org") + (synopsis + "Command-line interface for the hledger accounting system") + (description "The command-line interface for the hledger accounting +system. Its basic function is to read a plain text file describing financial +transactions and produce useful reports. + +hledger is a robust, cross-platform set of tools for tracking money, time, +or any other commodity, using double-entry accounting and a simple, editable +file format, with command-line, terminal and web interfaces. It is a Haskell +rewrite of Ledger, and one of the leading implementations of Plain Text Accounting. +Read more at: @url{https://hledger.org}") + (license license:gpl3))) + (define-public homebank (package (name "homebank") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 13:25:53 2020 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:53 +0000 Received: from localhost ([127.0.0.1]:58293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p6-0000Dk-GT for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:53 -0400 Received: from mail-pf1-f178.google.com ([209.85.210.178]:46692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0WG-00087P-C4 for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:24 -0400 Received: by mail-pf1-f178.google.com with SMTP id y14so1799672pfp.13 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EzBuIKpfVNl+Aw7Y8vznWQByJBqGjY4uyzl35l5mpXw=; b=Rod1BPwHzJOk7yRoeIi+wqspFTeEVTRaCtZD8hJZASioghZoFPbv/1NcOpTWAuA5UW L/VucVKCmtw+d5i7xqBwbs55v4qb1XlIj6i6Rpm8y6HbF5LKJQkb/4W/ndBQMsQMHXRY XN0bq2A/GXpWQIYBkzZsamvw2pE92Jx2aSpmHutw2JHJWOxGcnm8w3EJQqg+BttGlQsY 9H7GWrZDLMZmSQqVRUVLBQIPyMk91F0rheRKuloDeWAdK2klZ7FW0yntHaV7lsVGVIhX UdYf3xQl668XrWxw2AnHmQMUmg6BR6Wjnua1is6c9AgCkZHHuPd4yLHkPik6oLPAQLfq qwQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EzBuIKpfVNl+Aw7Y8vznWQByJBqGjY4uyzl35l5mpXw=; b=VDQECaYk7bbuEj0OBwDpItU7VA6voVqZHb+9lTwds5+hvZiRzMgG37v+xkYS3DFuXi 4ni4rrOky5Dp/VGJzpz+ZmVE4MP4XeQpD3VSJACDm/mXJH58BHDWZukkFIt0ubXMDZ+I EPJG0A41gJKYC4X8BDDoHDTEZWovHkeiS8ljGwsOpDrxppm5xxD+tU21gSkP5VcnOhrl sfsNCGjcFF16ujO2oexpBx/UMyWlokDdC1vjMz6veJxRgFF/mmUSCCwLJpfrKrm6nIkR ukxVipRLO8o4wBzvgNcQ/72w3woRwJLjToMPMfgmRvRZlCDp4J3UF8CajkqF/VpVhj28 Vvrw== X-Gm-Message-State: AOAM532zrBrdoyv8QlU+QSvVU+Qv8El5s5y05nMx5X5doesuiyRMDR4d TziBWwxmy0gM9xGUKffzBU7n772wuMk= X-Google-Smtp-Source: ABdhPJx7HnBG2HKkZvUX5zeeUFv7uKER1CbZu5r6eTcq6gPjAge/KQ+wPyIYIpRS3RhaVvq3eE+EMw== X-Received: by 2002:a17:90a:4684:: with SMTP id z4mr3622440pjf.97.1603472778542; Fri, 23 Oct 2020 10:06:18 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:18 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH 16/16] Add attribution. Date: Fri, 23 Oct 2020 10:05:44 -0700 Message-Id: <20201023170544.9860-16-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 Cc: Carlo Holl 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 (-) --- gnu/packages/finance.scm | 1 + gnu/packages/haskell-xyz.scm | 1 + 2 files changed, 2 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 15a86b8688..fe033e9494 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2020 Tom Zander ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020 Carlo Holl ;;; ;;; This file is part of GNU Guix. ;;; diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index eaba188e97..53770ec01d 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -26,6 +26,7 @@ ;;; Copyright © 2020 JoJo ;;; Copyright © 2020 Nicolas Goaziou ;;; Copyright © 2020 Alexandru-Sergiu Marton +;;; Copyright © 2020 Carlo Holl ;;; ;;; This file is part of GNU Guix. ;;; -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 17:26:50 2020 Received: (at 44174) by debbugs.gnu.org; 24 Oct 2020 21:26:50 +0000 Received: from localhost ([127.0.0.1]:35325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWR3q-00076r-5F for submit@debbugs.gnu.org; Sat, 24 Oct 2020 17:26:50 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWR3p-00076j-9i for 44174@debbugs.gnu.org; Sat, 24 Oct 2020 17:26:49 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id F417D27BBF0; Sat, 24 Oct 2020 22:26:47 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 51e9152c; Sat, 24 Oct 2020 21:26:45 +0000 (UTC) References: <20201023074653.8885-1-carloholl@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: Carlo Holl Subject: Re: [bug#44174] [PATCH 00/16] Add hledger and its dependencies. In-reply-to: <20201023074653.8885-1-carloholl@gmail.com> Date: Sat, 24 Oct 2020 22:26:43 +0100 Message-ID: <87eelnb9ik.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174 Cc: 44174@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 (-) --=-=-= Content-Type: text/plain Carlo Holl writes: > Guix, > > This patch series adds hledger, a plaintext accounting > program. hledger started as a Haskell reimplementation of Ledger > CLI. I use hledger regularly to manage personal finances and those of > several businesses, and would not be suprised to find other hledger > users in the Guix community. > > More information is available at https://hledger.org. Hi Carlo, thanks for the patches! > A couple of notes: > > 1. The hledger package is placed in (gnu packages finance), and > its dependencies in (gnu packages haskell-xyz). That sounds good :) > 2. The hledger package is *not* prefixed with 'ghc', but its > dependencies are. Also fine. > 3. The package ghc-doctest was bumped (minor version), affecting several dependent packages. > I was able to build most of these affected packages (querying guix refresh --list-dependents), > but it was taking forever so I cut that effort short. I consider this a rough heuristic to determine > that there are no substantial changes associated with this > version bump. Sounds good. > 4. I'm not terribly familiar with the Texinfo format, so there are > likely some rough edges there. Looks like you've done pretty well from what I've seen :) > 5. I am able to build hledger and its dependencies without error, but was unsuccessful building > on different architectures with qemu. I wasn't even able to build GHC under qemu so I didn't bother > digging any further. No problem, if it builds on x86_64-linux, that's good enough at least initially. > This is my first contribution to Guix, and I'm also not a Haskell > expert, so expect some headaches. I am happy to attend to any issues > as best I am able. Great, I'll make some more comments on the individual patches, a few general comments though: - The commits should include changelog entries. For new packages, these are pretty easy to write, it's just: * gnu/packages/FILE.scm (PACKAGE): New variable. - The indentation looks off in places, there's some stuff here about indentation [1]. What editor are you using? 1: https://guix.gnu.org/manual/en/html_node/Formatting-Code.html Let me know if you have any questions, and it would be great if you could send an updated set of patches. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+UnBNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xf5qRAApDLDtQVMWE74SkkADi+k4cxNI6kwCMbr crCGCs74Aw28u1z+f4aFtt8Sxv71FjIH4cauigAc7zDoxGMWYj0iCAfskb+FCU/f C+c2DwLpK+tk7g3O4EysQ0UjAIoACnLYemfN0An/djEBY/cFs6agRLlkuDtptJaq X/uSf+tDtwaRZZC2U6cJ01WzPOdzjvpc8DJgiV5f5I/QbYeVitNb3H2oHRZmYEno wa65uajmwo8y3Y2mIIar3PAZu8Ygrs0k95xNkuxaD9KDNbC/3T8tfjwOMS2w19qz Oy43fI9GcaXQIW22zRuQLRwn5+oUHLeanCPL4JWHEsOoDVClWsZjixkrmpAq/rXt ZdW8Q60sxmTYE9IH5HDAi3A1r/WI9vr8wmMT6xAp1Vg3/WW0a5pOb93GWCv/ZSIw Fwb/4COyFXDhkUV1kqgjlUpxZy1KV9kuRpuTqETX0jYPG7G2bGAmv3jQm3C6C+O1 4/PuKbga9SzQBCbmjyuAjhbVwvVMHvK3QB0G8zkyX2U5uS5385c+33/HcblrTbYt rKvOwd1vBLu6hzh82/TAxoZ90rcDn5dUFnUPLCELZTKpW9TaPIEujyvv4esE5uIL UPqQubbNrdF7d42laU3CuvPQgw1GVYb9c4C+JMST4rcBuNwJr7poirnCl4gkH8iv S9OT6oHGKPY= =3wWf -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 17:27:49 2020 Received: (at 44174) by debbugs.gnu.org; 24 Oct 2020 21:27:49 +0000 Received: from localhost ([127.0.0.1]:35329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWR4n-00078d-Gh for submit@debbugs.gnu.org; Sat, 24 Oct 2020 17:27:49 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWR4m-00078W-17 for 44174@debbugs.gnu.org; Sat, 24 Oct 2020 17:27:48 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id 814B127BBF0; Sat, 24 Oct 2020 22:27:47 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6c3c3d1a; Sat, 24 Oct 2020 21:27:45 +0000 (UTC) References: <20201023170544.9860-1-carloholl@gmail.com> <20201023170544.9860-2-carloholl@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: Carlo Holl Subject: Re: [bug#44174] [PATCH 02/16] gnu: Add ghc-csv. In-reply-to: <20201023170544.9860-2-carloholl@gmail.com> Date: Sat, 24 Oct 2020 22:27:45 +0100 Message-ID: <87blgrb9gu.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174 Cc: 44174@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 (-) --=-=-= Content-Type: text/plain Carlo Holl writes: > --- > 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 ccbe026142..952e24cd55 100644 > --- a/gnu/packages/haskell-xyz.scm > +++ b/gnu/packages/haskell-xyz.scm > @@ -2665,6 +2665,32 @@ pure @code{Either} value. This means that you need not remember which specific > function performs the conversion you desire.") > (license license:bsd-3))) > > +(define-public ghc-csv > + (package > + (name "ghc-csv") > + (version "0.1.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://hackage.haskell.org/package/csv/csv-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c")))) > + (build-system haskell-build-system) > + (home-page > + "http://hackage.haskell.org/package/csv") > + (synopsis "CSV loader and dumper") > + (description "CSV loader and dumper This above bit of the description repeats the synopsis, so it should be removed. > +This library parses and dumps documents that are formatted according > +to RFC 4180, @cite{The common Format and MIME Type for Comma-Separated > +Values (CSV) Files}. This format is used, among many other things, > +as a lingua franca for spreadsheets, and for certain web services.") > + (license license:expat))) > + > (define-public ghc-data-accessor > (package > (name "ghc-data-accessor") --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+UnFFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xd6xw/8ChiEsABJmanO2alcFpOG/dw+LimJVR8o DprQ4ClzMwq977oPJLEvVuZFgGRONjUocpQ+vs5lwYi88d+RDP0BSRUJPUE0mPqa J4sUYJaooy5fkANRbD6rumUONJ1SgJClQ7VKh1m//kv2RvEw731Po1HsdkJw6a+3 nvRtCi7pMzggN0G/ugwxBbjaO8ufHhn1YQcpu3VIEpRFX11cuJBbr5rYZn+Dsq+l YSPWQa+WPMJ/eJ49kXxxAERymBuMn9JK+/LuM/P8LY9M6q5tT0kZHFOz9YX+TOmv 7eWPfF++uKL4TLSJRbJOqf1w8PzkQN21asu+qArMUQaP7cBPKrafXugwFNn4Lv3D DOtWnFqRycWGvq7iu4N5MJWrZWHYPLCSveUJpiwi/hsc2omAFYvQ3bnXdPpc7MqD p9UqzCuw8XErOR84oyo3rQ0RAGZ5w+23OnjNMaW1Bpf4vRAsDdEmEovQ8MFSintC uhnBbeg6kRtRkTMyt7f/1MAOcsWs/DTtAYWls3e3OIlt4Ru/+Q++8eYpj3hQUIgw DUy2Rjq6l6RbDzPo/GWFJT7JtdOGTIUcu03uD0qPgQZeMtiRHZ0PaNp40YWv40GJ 11ciLsnaYn8QurfgLN9OSaSPpaxA5HUYFrHzITAqZruQ02s6p1qQu3VczJsMI0mr HMXtGc9BbY0= =Wm4d -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 17:29:33 2020 Received: (at 44174) by debbugs.gnu.org; 24 Oct 2020 21:29:33 +0000 Received: from localhost ([127.0.0.1]:35333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWR6S-0007BC-Tc for submit@debbugs.gnu.org; Sat, 24 Oct 2020 17:29:33 -0400 Received: from mira.cbaines.net ([212.71.252.8]:44312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWR6R-0007B4-8u for 44174@debbugs.gnu.org; Sat, 24 Oct 2020 17:29:31 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id C463027BBF0; Sat, 24 Oct 2020 22:29:30 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 027c94fb; Sat, 24 Oct 2020 21:29:28 +0000 (UTC) References: <20201023170544.9860-1-carloholl@gmail.com> <20201023170544.9860-4-carloholl@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: Carlo Holl Subject: Re: [bug#44174] [PATCH 04/16] gnu: Upgrade ghc-doctest. In-reply-to: <20201023170544.9860-4-carloholl@gmail.com> Date: Sat, 24 Oct 2020 22:29:28 +0100 Message-ID: <878sbvb9dz.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174 Cc: 44174@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 (-) --=-=-= Content-Type: text/plain Carlo Holl writes: > --- > gnu/packages/haskell-xyz.scm | 35 ++++++++++++++++++++--------------- > 1 file changed, 20 insertions(+), 15 deletions(-) For the commit message for this package, I'd write: gnu: ghc-doctest: Update to 0.16.3. * gnu/packages/haskell-xyz.scm (ghc-doctest): Update to 0.16.3. [inputs,native-inputs]: Replace with what is generated by guix import. > diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm > index 803ee995c0..ad9c49ddeb 100644 > --- a/gnu/packages/haskell-xyz.scm > +++ b/gnu/packages/haskell-xyz.scm > @@ -3416,7 +3416,7 @@ Writer monad), where list append quickly becomes too expensive.") > (define-public ghc-doctest > (package > (name "ghc-doctest") > - (version "0.16.2") > + (version "0.16.3") > (source > (origin > (method url-fetch) > @@ -3426,26 +3426,31 @@ Writer monad), where list append quickly becomes too expensive.") > ".tar.gz")) > (sha256 > (base32 > - "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag")))) > + "1y1l7aa80qkib1z8lsizgg7fpfdmdwhxvi5m255a42jdkjgn5sfg")))) > (build-system haskell-build-system) > (arguments `(#:tests? #f)) ; FIXME: missing test framework > (inputs > - `(("ghc-syb" ,ghc-syb) > - ("ghc-paths" ,ghc-paths) > - ("ghc-base-compat" ,ghc-base-compat) > - ("ghc-code-page" ,ghc-code-page) > - ("ghc-hunit" ,ghc-hunit) > - ("ghc-hspec" ,ghc-hspec) > - ("ghc-quickcheck" ,ghc-quickcheck) > - ("ghc-stringbuilder" ,ghc-stringbuilder) > - ("ghc-silently" ,ghc-silently) > - ("ghc-setenv" ,ghc-setenv))) > + `(("ghc-base-compat" ,ghc-base-compat) > + ("ghc-code-page" ,ghc-code-page) > + ("ghc-paths" ,ghc-paths) > + ("ghc-syb" ,ghc-syb))) > + (native-inputs > + `(("ghc-hunit" ,ghc-hunit) > + ("ghc-quickcheck" ,ghc-quickcheck) > + ("ghc-hspec" ,ghc-hspec) > + ("ghc-hspec-core" ,ghc-hspec-core) > + ("ghc-mockery" ,ghc-mockery) > + ("ghc-setenv" ,ghc-setenv) > + ("ghc-silently" ,ghc-silently) > + ("ghc-stringbuilder" ,ghc-stringbuilder))) Here you can see the slightly off indentation, the previous level of indentation is what I'd use. > (home-page > "https://github.com/sol/doctest#readme") > (synopsis "Test interactive Haskell examples") > - (description "The doctest program checks examples in source code comments. > -It is modeled after doctest for Python, see > -@uref{https://docs.python.org/library/doctest.html, the Doctest website}.") > + (description > + "The doctest program checks examples in source code comments. It is modeled > +after doctest for Python (@url{http://docs.python.org/library/doctest.html}). > + > +Documentation is at @url{https://github.com/sol/doctest#readme}.") > (license license:expat))) I'd keep the previous description, as I think it's better. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+UnLhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcseQ//Tcl533Ea/vuXxHVIOlSBhOMAQ2+A266U Ool0Uj9LpPvhjLVqvr0Klqnf2/RonwxGySHVbvr43e/EKkHikuWd2J5rrbQMpvgY yNoknIqRZDFVwQtS3zaPfFDLY/CYeJb1xTVdwsd6XYe6x/sUM+p9Eook5GTe9YEt 4Tcg+PMHZZYJdM/Uqb28S8gL0hkFMa9N1doIoSK9ZgjDL1mp0zMDrEE3p9rwHJI2 7EOJD9ChDe61YN9sfWSvsrL9e4T9AV1drAvUa4UY6K2FfVnrUBipckpJIsEaCena Y8ZCW6Sm30Qgp3TPYmLc6ksfqA/LUsdKF4l+FNjTmXs9xSnHJZY/SmU1zjykJGNa gpVzCix5SpQ2yzunJm45GODjAh9xlDvq3aZhUnlEauUbCXUlQEL47EiiyD/Z1RAT 9m6N9j/IPmkqeB+du7ZrSDSBNE7BZxqVF1kpq9x8XLp/xmz7zKe/0fC94Ixn2ls1 hthXATpMKk1oBYVjemqrgLesgr7tYn+3XUCBy3NqtNcb3zfKeYLL+10R0o9mpKFK hLe/Wl74mBR3WmHcNYiqGwUznqlOjulDCqJCzxtpVEOWWKqdAXfvZT32mCNzdKjE JXeiuLcRI/8aziWdrU4X9iO+I+4IshNU5ID7FJfXi3iv5zwWUJY6tZ39w1aO2mHx JaezaB8JRjo= =UlDf -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 17:30:23 2020 Received: (at 44174) by debbugs.gnu.org; 24 Oct 2020 21:30:23 +0000 Received: from localhost ([127.0.0.1]:35337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWR7H-0007EF-8U for submit@debbugs.gnu.org; Sat, 24 Oct 2020 17:30:23 -0400 Received: from mira.cbaines.net ([212.71.252.8]:44564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWR7E-0007E2-WB for 44174@debbugs.gnu.org; Sat, 24 Oct 2020 17:30:21 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id 73E2627BBF0; Sat, 24 Oct 2020 22:30:20 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 9db20065; Sat, 24 Oct 2020 21:30:18 +0000 (UTC) References: <20201023170544.9860-1-carloholl@gmail.com> <20201023170544.9860-5-carloholl@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: Carlo Holl Subject: Re: [bug#44174] [PATCH 05/16] gnu: Add ghc-hspec-megaparsec. In-reply-to: <20201023170544.9860-5-carloholl@gmail.com> Date: Sat, 24 Oct 2020 22:30:18 +0100 Message-ID: <875z6zb9cl.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174 Cc: 44174@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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Carlo Holl writes: > --- > gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm > index ad9c49ddeb..84f28ee5a5 100644 > --- a/gnu/packages/haskell-xyz.scm > +++ b/gnu/packages/haskell-xyz.scm > @@ -5934,6 +5934,34 @@ are described in a file named @code{package.yaml}.= Both @code{cabal2nix} and > @code{package.yaml}.") > (license license:expat))) >=20=20 > +(define-public ghc-hspec-megaparsec > + (package > + (name "ghc-hspec-megaparsec") > + (version "2.0.1") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://hackage.haskell.org/package/hspec-megaparsec/hsp= ec-megaparsec-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg")))) > + (build-system haskell-build-system) > + (inputs > + `(("ghc-hspec-expectations" > + ,ghc-hspec-expectations) > + ("ghc-megaparsec" ,ghc-megaparsec))) > + (native-inputs `(("ghc-hspec" ,ghc-hspec))) > + (home-page > + "https://github.com/mrkkrp/hspec-megaparsec") > + (synopsis > + "Utility functions for testing Megaparsec parsers with Hspec") > + (description > + "Utility functions for testing Megaparsec parsers with Hspec.") Would you be able to come up with a more descriptive description? Or at least one that doesn't repeat the synopsis in the same words. I recognise that this is what was probably generated by the importer. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+UnOpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdSzRAAsexXKEg7Cv10q2Tv/6TnBrzxIhSQkLyZ Me197Q8qCJAIH9kURtWCSEfQ1NMArnDS+5bNOWALQlasFooEfq/ozrrY4THX5kSZ 2EbeppZVH1KYHSRxx4ExbThFxQNtX4dkVmlS/NAYPKVn1+F+xkJIQ8g0XeWclleQ gxfnxq/u7lHGj1RF/ONaE2NImOqx7Xfqn6KLVVXNcmIKWxC3tFZgMIhjnlZA6aS0 0Y+K3baTbohMfhtywYn3zYehe3ScxJOCjEg9AZco9QrIxm65jXF5wZxxZ7zTHn2N 1UOxoi1biG+L2MBEVBggUA6yRZxTswuMmUE+/qAmWvjbFClFIxTR/uMvQYAUlQmJ XZoVFxtgMPwIDlSKm7JhQpM8KVu+3HPd5copk27uC+G7agxZejMJRD0tg6wW0AdL NYkiYo5/Q8QdCScY8PuBpZHYVE4ov7W4zMfu2RJ+0u3VlYniGqhZWCqra//5wujg uHwddtflFMsKfc2UvRGW96wkzbwtmlwSqZi/0N+rTEgk3/V7SiYI6iikSVCTQFsK fBn5ml07jJeDcXEg2dc4qlI8rX5+49JdvXbNnDp/0RctQBhR4BrJRWVzm70MTMTF SfAgzDpG9H9JG0OK8CagvZD8oaa7+LS/fqoTE7xzp/DKfMLlvLjMDkMQZqtHHmGm zXgy8gTNY68= =xvbQ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 17:38:22 2020 Received: (at 44174) by debbugs.gnu.org; 24 Oct 2020 21:38:22 +0000 Received: from localhost ([127.0.0.1]:35356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWRF0-0007QH-IJ for submit@debbugs.gnu.org; Sat, 24 Oct 2020 17:38:22 -0400 Received: from mira.cbaines.net ([212.71.252.8]:45416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWREz-0007Q9-Fb for 44174@debbugs.gnu.org; Sat, 24 Oct 2020 17:38:21 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id 40DED27BBF0; Sat, 24 Oct 2020 22:38:20 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 90c1ca77; Sat, 24 Oct 2020 21:38:17 +0000 (UTC) References: <20201023170544.9860-1-carloholl@gmail.com> <20201023170544.9860-9-carloholl@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: Carlo Holl Subject: Re: [bug#44174] [PATCH 09/16] gnu: Add ghc-tabular. In-reply-to: <20201023170544.9860-9-carloholl@gmail.com> Date: Sat, 24 Oct 2020 22:38:15 +0100 Message-ID: <873623b8zc.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174 Cc: 44174@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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Carlo Holl writes: > --- > gnu/packages/haskell-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) > > diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm > index c4a8d4c208..0cce72e9f5 100644 > --- a/gnu/packages/haskell-xyz.scm > +++ b/gnu/packages/haskell-xyz.scm > @@ -12813,6 +12813,46 @@ Unlike the filepath package, this package does n= ot simply reuse String, > increasing type safety.") > (license license:expat))) >=20=20 > +(define-public ghc-tabular > + (package > + (name "ghc-tabular") > + (version "0.2.2.8") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://hackage.haskell.org/package/tabular/tabular-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "0z936gh8n8i8qdkagyxwd9gqq13skd5fv013vdvwsibrxkm0czfb")))) > + (build-system haskell-build-system) > + (inputs > + `(("ghc-csv" ,ghc-csv) ("ghc-html" ,ghc-html))) I'd put each input on it's own line. > + (home-page "https://github.com/bgamari/tabular") > + (synopsis > + "Two-dimensional data tables with rendering functions") > + (description "Tabular provides a Haskell representation of > +two-dimensional data tables, the kind that you might find in a > +spreadsheet or or a research report. It also comes with some > +default rendering functions for turning those tables into ASCII > +art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX. > + > +Below is an example of the kind of output this library produces. > +The tabular package can group rows and columns, each group having > +one of three separators (no line, single line, double line) between > +its members. > + > + || memtest 1 | memtest 2 || time test | time test 2 > +=3D=3D=3D=3D++=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D++=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > +A 1 || hog | terrible || slow | slower > +A 2 || pig | not bad || fast | slowest > +----++-----------+-----------++-------------+------------ > +B 1 || good | awful || intolerable | bearable > +B 2 || better | no chance || crawling | amazing > +B 3 || meh | well... || worst ever | ok") > + (license license:bsd-3))) I'm not sure if this is semantically the best option, but if you put @verbatim before this table, and @end verbatim after it, it should display correctly in ./pre-inst-env guix show ghc-tabular at least. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+UnsdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xdhrg/+MA+D0KO69aZRCYTY/GcnDmaavyLoCIIY 9MBjUt8udvdcuouaCVfscql0kwxiLnQY9DaXN9cwyEbD380HCrm9KM6OuRc45n9X V2uYOzIEmofL+J8XYxcgqhdBHHrCctKhPkUb71V1x3nNYuXecBmIqLs7t9tc0nOl 7AgYmymDrbwhU1wgXLAx0K9eiaae+rAzfbVKl0kIThwVv1+WHa8IHPLCRg5aXOP1 6S6kJsMsa7WHEw9mplN6f7Cz0cbNkvfBbBZ1hDFxcnb1Tj/Poql4V0ou9VWTB7lE Qv6DehKSHW7T+j5Y+iUFW33j1Pj5QVbEQ3hqsGlz+12eTCJ34T6refBCAp7wbK80 J37fb/Jnh7eWgJsoAzQHwWVYAreC6Ez2j/x6/jItY4C34xpNh05vneET3M1L7A74 inzFsNvt98+fqYyW/FfKtTrB5dKBIgba+bmFhtwN7K6BTwK+oJBNhxV/YaliSOZP MP5w9A+qjpqkemBSA7OOKdu0R0ydw9jcIsiEqKnIK22ap9C7VnTN4Yi7/hTJh8Zm zDZTIg47zVvkMD35eQFwf7ACSDLfowvA72ARzbG5Xs8bCxfDcHIkgMMWqY3UJyRV ULB/0+R0OpfnYP8CDiT65MeSXKoXBx6YMG8OSf3ikEyWYkGUujZ4LuN/cIVORkyF 07DcJe2k88I= =lROI -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 17:39:22 2020 Received: (at 44174) by debbugs.gnu.org; 24 Oct 2020 21:39:22 +0000 Received: from localhost ([127.0.0.1]:35360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWRFx-0007Rx-TF for submit@debbugs.gnu.org; Sat, 24 Oct 2020 17:39:22 -0400 Received: from mira.cbaines.net ([212.71.252.8]:45418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWRFw-0007Rp-B5 for 44174@debbugs.gnu.org; Sat, 24 Oct 2020 17:39:20 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id C468827BBF0; Sat, 24 Oct 2020 22:39:19 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 3c34fbed; Sat, 24 Oct 2020 21:39:17 +0000 (UTC) References: <20201023170544.9860-1-carloholl@gmail.com> <20201023170544.9860-13-carloholl@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: Carlo Holl Subject: Re: [bug#44174] [PATCH 13/16] gnu: Add ghc-cassava-megaparsec. In-reply-to: <20201023170544.9860-13-carloholl@gmail.com> Date: Sat, 24 Oct 2020 22:39:17 +0100 Message-ID: <87zh4b9ud6.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174 Cc: 44174@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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Carlo Holl writes: > --- > gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm > index 8060c2f034..46ed95d607 100644 > --- a/gnu/packages/haskell-xyz.scm > +++ b/gnu/packages/haskell-xyz.scm > @@ -1640,6 +1640,39 @@ hackage.haskell.org/package/cassava-0.5.2.0/#readm= e, README} for more usage > examples.") > (license license:bsd-3))) >=20=20 > +(define-public ghc-cassava-megaparsec > + (package > + (name "ghc-cassava-megaparsec") > + (version "2.0.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://hackage.haskell.org/package/cassava-megaparsec/" > + "cassava-megaparsec-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "03x1462agrfdagklp8c89b8p4z2hd8nbf6d3895sz770zjkawda7")))) > + (build-system haskell-build-system) > + (inputs > + `(("ghc-cassava" ,ghc-cassava) > + ("ghc-megaparsec" ,ghc-megaparsec) > + ("ghc-unordered-containers" > + ,ghc-unordered-containers) > + ("ghc-vector" ,ghc-vector))) > + (native-inputs > + `(("ghc-hspec" ,ghc-hspec) > + ("ghc-hspec-megaparsec" ,ghc-hspec-megaparsec))) > + (home-page > + "https://github.com/stackbuilders/cassava-megaparsec") > + (synopsis > + "Megaparsec parser of CSV files that plays nicely with Cassava") > + (description > + "Megaparsec parser of CSV files that plays nicely with Cassava.") Similarly to the previous package, it would be good to write something here for the description that doesn't repeat the synopsis. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+UnwVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XciJBAAm1GgbHCaGNUPHDDL97o8JjfxKCN7Ci5y G7MtUVopgaEZv8eAPWHvsDX4YJ0+GtDhTowondutfrI4ds9bTnKLj2tXSyf3txwG JokVxtCmbTySp/F33z4ma6WNWhvzKXUSJ4OGOpxc8U/bboqDjlNIiDit/7VuU2Kr 43RB+NGUNYc20e+ZH5wu8lAvTT2j2M7OnLkF4OLNmG2C+QwQqIvimIJxDjitSEsU yi059mF7o0/x1hnPlcGO6ujwEnlsKg5xcE6aIBve42faqoBXNUaAYai4rf9OAX28 98zlwmFkvNcn+OxppzSnSjntlyJXJaZ5sPm8yr08wpGgk0EWUY/RwE7qJnGSgK2S frxLN9+rZlrbuq9pJn4Wrbgyz6frYAORdgDL4i6mGSRNW3bMwamtO9oTytEnXxVe FmVMllk8aDGoYXuOBh9HdJQMQong2Z+H1GhsQyXaWxxUxHDfUpSfQJ1IwK1ZvDaB WXu+bIrlbI+qbP6DnHgokdkq8DC5qtPABesYjiTIIcVEfj4o9JIgm8tEfC9JyW9X fwPt610XTZuoCeLujC/Ra+UjhsbEIxK6TIkfsYZvV0JCLoCEUDOfoqk1QR9u4gpC CrDSycCriQVKt2Aq0J+FdNYJ2ARNgArYnkWQI2MhNrfjHmhVR5+ACicg/XGFktXp rzJeLc3MKK0= =46zb -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 17:40:56 2020 Received: (at 44174) by debbugs.gnu.org; 24 Oct 2020 21:40:56 +0000 Received: from localhost ([127.0.0.1]:35365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWRHP-0007UL-8A for submit@debbugs.gnu.org; Sat, 24 Oct 2020 17:40:56 -0400 Received: from mira.cbaines.net ([212.71.252.8]:45430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWRHN-0007UD-2O for 44174@debbugs.gnu.org; Sat, 24 Oct 2020 17:40:50 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id 912B827BBF0; Sat, 24 Oct 2020 22:40:48 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id bf3f4be9; Sat, 24 Oct 2020 21:40:46 +0000 (UTC) References: <20201023170544.9860-1-carloholl@gmail.com> <20201023170544.9860-16-carloholl@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: Carlo Holl Subject: Re: [bug#44174] [PATCH 16/16] Add attribution. In-reply-to: <20201023170544.9860-16-carloholl@gmail.com> Date: Sat, 24 Oct 2020 22:40:46 +0100 Message-ID: <87wnzf9uap.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174 Cc: 44174@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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Carlo Holl writes: > --- > gnu/packages/finance.scm | 1 + > gnu/packages/haskell-xyz.scm | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm > index 15a86b8688..fe033e9494 100644 > --- a/gnu/packages/finance.scm > +++ b/gnu/packages/finance.scm > @@ -20,6 +20,7 @@ > ;;; Copyright =C2=A9 2020 Tom Zander > ;;; Copyright =C2=A9 2020 Marius Bakke > ;;; Copyright =C2=A9 2020 Vinicius Monego > +;;; Copyright =C2=A9 2020 Carlo Holl > ;;; > ;;; This file is part of GNU Guix. > ;;; > diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm > index eaba188e97..53770ec01d 100644 > --- a/gnu/packages/haskell-xyz.scm > +++ b/gnu/packages/haskell-xyz.scm > @@ -26,6 +26,7 @@ > ;;; Copyright =C2=A9 2020 JoJo > ;;; Copyright =C2=A9 2020 Nicolas Goaziou > ;;; Copyright =C2=A9 2020 Alexandru-Sergiu Marton > +;;; Copyright =C2=A9 2020 Carlo Holl > ;;; > ;;; This file is part of GNU Guix. > ;;; While most changes are good for their own commits, I'd just make these changes in the first commits that touch each of these files. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+Un15fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfXtg/9HsAFuoZkgJ2+xV6STPVbVBA80ddApEA+ czw8NSgd6ybyu0uUBrzx4j4KwnY4L+aEvEYmSrGH74h/i7ek2joj3NyWdxE4ZWlU wkpFUnUXMTEzQnc0afHBZdpZeUeZktZYbYEK8Zz4/mTPcBLs1XJWZBl2cf1Wa/1U XhVA4FRHT0euHx9/E2Ri/KSw8iPas/zM92LyHtRMO/k6L45L6AzBLOu+Iuqoowvy FJNtNgdA++/vnRPA0JrmyrtsQTxP8S9KjjFL31CvPdtfGARF72MX2ESgJ1jjrD/U qyOOv1VEk7hScn2BlcfzW8mPI9kBd8I2bPj3hyCPinDMyvqxYMh7l+D0kqpDhrbM 2rMzmDA8AlZMO/ht23HZRvHsF4XCD4dwyGh2PDMxpR0D7+rf5u2SJv4qoys6DUh9 024yTd+MSBMVJgKXhGfGV1qz7RsyUlalpwI2ard94NoF2L52+ohLOM2/+WZ70kG1 UNT1mqg8iZ3AnV9HT3TixK6d2kP03Ienvrvw2YRqfYFepQmqqtSgl8OVTRdJqtxe 3e+Ynpk7Ty5mIqHDhDsePzF6us4nIaWZiLRl2R4Lz4k6898crzlltVB/mT395fad 14/DAiDvbsK4hFvH9cwQgjkZGiddoXPZ6KCPwh4CAJJrh/LVHxK1UjkKztFsB1kL TY6rM4AWpak= =XCFr -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 22:52:49 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 02:52:49 +0000 Received: from localhost ([127.0.0.1]:35205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3U9-0000oM-DM for submit@debbugs.gnu.org; Sat, 31 Oct 2020 22:52:49 -0400 Received: from mail-pl1-f177.google.com ([209.85.214.177]:43838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2iR-0007tu-6U for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:32 -0400 Received: by mail-pl1-f177.google.com with SMTP id u7so2896116pls.10 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mTMKGrbmdSPngeBziLxsFIZU+B6jGrUuv34iDyu491A=; b=QRGg74yKJoVKB79FyMcbAUUWheRQVbfw0jRLQQBfDuslXp+X6iUt9/0D3XCXifkvzn +lyy5Fo/KYEtS3MZcW8zIOAobYlupUnaLd3vyWtIcgiuKSgAIrFrW5PWBNpj1VVbbIYn klbWtvCsb69O1xQ8yflCXnqPij6RWpbQi8q7RmzPQhBY2nBYYnJgtmsNz+3YeNplRg1w 8Pd/DUkSwGAztN9A6yr3q+qkVC49E45ZtUNLJGv634lVmqVEVqzzQdyZcDhkj8/1f2xU 7FqCpL2fHczBze+GiAUBaQur1iXeKtysK/rmsVMuMs5pPY08psElXkgwLaQ8FyJuz1sl /XAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mTMKGrbmdSPngeBziLxsFIZU+B6jGrUuv34iDyu491A=; b=Z57BTC2gxJGCVCTiRUpGV0kBuZqJI4ZtAyUGSJOT0BTBy/3I8zxmRUjcyF/UKzlQt8 00knrIf9XyqAgXD0pLKkRYINLNgod0+RKKiV4H/ImL7mq0NKXMMZ1LylkGDeCuQ+hdRC /K146N+zsr7MBSH9bLOaiHYE6laweKyYM+Jh3ClkFhx4EYHzhs9sq8orX1dL6vDMI4mt a6WAj+Ttfo7UkCh9bU3aOKYZJgjSAd0hStKuhIsu2m7wIMArZ+xTbVoICTZO7kDA7Zfa 0NvWAd5eIaLSfZSabjlrSzRbDu/TXENwRd4FUhIn5Gj19u2ZEAEheOFvo9mzp/sU1b0c uvJA== X-Gm-Message-State: AOAM533+YZfUSN82vXyFgkaNPVdk19k1VZmqsrZ3OO48PWSjKMgAaU4S B3MkzYwWeK4cfN94jxF3VHc4p5b4sX4= X-Google-Smtp-Source: ABdhPJzbIF1OEqeUOXLI+DxPSHYooQdmCbClNRzq/SGoZxDWAh5cO6NuhfcmS2wTBmN0mnQPT/MNtw== X-Received: by 2002:a17:90b:1881:: with SMTP id mn1mr3393109pjb.225.1604196205041; Sat, 31 Oct 2020 19:03:25 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:24 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 00/15] Add hledger and its dependencies. Date: Sat, 31 Oct 2020 19:02:21 -0700 Message-Id: <20201101020236.1108-1-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 22:52:48 -0400 Cc: Carlo Holl 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 (-) This patch series adds hledger, a plaintext accounting program. Changes since v1 (based on feedback from Christopher Baines): - Fixed incorrect indentation. - Added changelog entries to each commit message. - Improved descriptions for some of the packages. - Moved attribution to first commits to touch any given file. Notes: Christopher suggested I wrap an ascii table with @verbatim as part of the description for the ghc-tabular package so that it displays correctly, but I couldn't get 'guix show' to work with @verbatim, failing with < "EOF while reading a token " "reading verbatim")'.>>. I used @example instead, which works under 'guix show', but I'm not sure what the implications are for other output formats. Carlo Holl (15): gnu: Add ghc-control-monad-free. gnu: Add ghc-csv. gnu: Add ghc-decimal. gnu: ghc-doctest: Update to 0.16.3. gnu: Add ghc-hspec-megaparsec. gnu: Add ghc-lucid. gnu: Add ghc-only. gnu: Add ghc-text-short. gnu: Add ghc-tabular. gnu: Add ghc-uglymemo. gnu: Add ghc-wizards. gnu: Add ghc-cassava. gnu: Add ghc-cassava-megaparsec. gnu: Add ghc-hledger-lib. gnu: Add hledger. gnu/packages/finance.scm | 63 ++++ gnu/packages/haskell-xyz.scm | 557 ++++++++++++++++++++++++++++++++++- 2 files changed, 608 insertions(+), 12 deletions(-) -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 22:53:01 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 02:53:01 +0000 Received: from localhost ([127.0.0.1]:35207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3UK-0000oi-ND for submit@debbugs.gnu.org; Sat, 31 Oct 2020 22:53:01 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:44009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2qC-0008BH-H6 for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:11:33 -0400 Received: by mail-pg1-f194.google.com with SMTP id r10so7973049pgb.10 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=k0oTbDIDDeZfwMm+qS56XAoVJIcrJMk1Dpz4KmBFKro=; b=B38oihTIPuIB2kcp0Uo9/DCOfw3yqkh9g59tkwCGTQRxiyebv6fPwBmzG3Ut1I0Wod Fmy6ysoPPLsaqXorZeNt/306HyuUKl7aXhoF4gfUmxk5G1icTehpMwb9hpi9hRolp+dO PV/rmSyB4Z0rh70qvAQwseBB3A6yU6N80U0GORV/K1/C+P8FlcOoCXwcOiq3yhMKTUW2 FyUQsrbfqba/gkcNhtNgmKywHNW73b9EolHh3dPI+UzpXTfwbmQA6Sn9Xw3gSLXTgNlw t6Qz2IwgQEcne3lRASd1Swp836y2+a76utpqTazAihb1tAJjp+yL41LMbxbPlnEqOEoU GiFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=k0oTbDIDDeZfwMm+qS56XAoVJIcrJMk1Dpz4KmBFKro=; b=ihiRxlvShJ38A1+Y1vS6DmEPY5RYfSRR3u4uBa+SNlgbrQN3AQHG2c/J+baUTUSHpo N9i/EebADtwuk4O96A1HCQgx0eRZpKKFqqitpeiKa3pMvYwSTrQcFlPjhoCQ4hgmR9Dc P5HXKzfWdZnxufgGiZ7VCNH6s2xIDzjHBDr/eECMI0V/gkjweskQqWKDCJ1SWwXtM6lf uqCI2tYJGZ8Sl8c7I9vPFEKqedABBlN+jXWepiSLCAhAG9gqjcQozMc6nf/CY+JUZUiZ WvIKP0rPRr6G3m81G5amLn6pSQd2qdMJf3BbCMhWXrI2vm1Jky/7DPCG9OzF9Mpi1we3 2ipw== X-Gm-Message-State: AOAM531BT/4I1OpSVdwLLNwPQRcWettM6jIUgEa03ltCj1m9WvlIB85l OvCAqcBkQ/X65rjYubo+4sw= X-Google-Smtp-Source: ABdhPJzhzdIPkAgym0vuKzhwGtst8QE5+IKY2ZS4NKg3OHFK2YYBRCzR+8uYnGdKTLuCybPJftSgCQ== X-Received: by 2002:a63:4825:: with SMTP id v37mr8089588pga.256.1604196686732; Sat, 31 Oct 2020 19:11:26 -0700 (PDT) Received: from localhost ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id h16sm102233pjz.10.2020.10.31.19.11.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:11:26 -0700 (PDT) Date: Sat, 31 Oct 2020 19:11:25 -0700 From: Carlo Holl To: Christopher Baines Subject: Re: [bug#44174] [PATCH 00/16] Add hledger and its dependencies. Message-ID: <20201101021125.vfvyzwwy4skmx26t@cehdev> References: <20201023074653.8885-1-carloholl@gmail.com> <87eelnb9ik.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: <87eelnb9ik.fsf@cbaines.net> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 22:53:00 -0400 Cc: 44174@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 (-) On 24.10.2020 22:26, Christopher Baines wrote: > >Carlo Holl writes: > >> Guix, >> >> This patch series adds hledger, a plaintext accounting >> program. hledger started as a Haskell reimplementation of Ledger >> CLI. I use hledger regularly to manage personal finances and those of >> several businesses, and would not be suprised to find other hledger >> users in the Guix community. >> >> More information is available at https://hledger.org. > >Hi Carlo, thanks for the patches! > >> A couple of notes: >> >> 1. The hledger package is placed in (gnu packages finance), and >> its dependencies in (gnu packages haskell-xyz). > >That sounds good :) > >> 2. The hledger package is *not* prefixed with 'ghc', but its >> dependencies are. > >Also fine. > >> 3. The package ghc-doctest was bumped (minor version), affecting several dependent packages. >> I was able to build most of these affected packages (querying guix refresh --list-dependents), >> but it was taking forever so I cut that effort short. I consider this a rough heuristic to determine >> that there are no substantial changes associated with this >> version bump. > >Sounds good. > >> 4. I'm not terribly familiar with the Texinfo format, so there are >> likely some rough edges there. > >Looks like you've done pretty well from what I've seen :) > >> 5. I am able to build hledger and its dependencies without error, but was unsuccessful building >> on different architectures with qemu. I wasn't even able to build GHC under qemu so I didn't bother >> digging any further. > >No problem, if it builds on x86_64-linux, that's good enough at least >initially. > >> This is my first contribution to Guix, and I'm also not a Haskell >> expert, so expect some headaches. I am happy to attend to any issues >> as best I am able. > >Great, I'll make some more comments on the individual patches, a few >general comments though: > > - The commits should include changelog entries. For new packages, these > are pretty easy to write, it's just: > >* gnu/packages/FILE.scm (PACKAGE): New variable. > > - The indentation looks off in places, there's some stuff here about > indentation [1]. What editor are you using? > >1: https://guix.gnu.org/manual/en/html_node/Formatting-Code.html > > >Let me know if you have any questions, and it would be great if you >could send an updated set of patches. > >Thanks, > >Chris Chris, Apologies for the late reply, I was away last week. Thank you for the feedback. I've send a new patch series that I think addresses all the issues you raised. Best, -- Carlo Holl carloholl@gmail.com From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:50 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:50 +0000 Received: from localhost ([127.0.0.1]:35212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3br-000128-C5 for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:50 -0400 Received: from mail-pl1-f171.google.com ([209.85.214.171]:36408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2iV-0007tz-Js for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:36 -0400 Received: by mail-pl1-f171.google.com with SMTP id r10so4982810plx.3 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eW3GJXxPUZyt7QI8s8W6rkbsVY9veXUcAWYZiSrvzbU=; b=jShtIdJw05ZVVSq5AZ81PNXUIDinvD0MC6AujQRTB2GzxSuTBEldzydcex1aGEk8iZ PN15wfmyoDnkA+lFniQbCMqb48+EkyfncDC/FWrGdAA2vUxIh1Ow7swHeS/G9TmR5LUN dutz5Jnf7BEI8j+vO9NqiSNLoft9yiJ5JV41PMuxuzj1fcsMRRE2IiLGvMDOvESeA7mk JpSu/cmFcCkbVZqEkJne2UVrNtJ2u4ljiWBRtA/KkeFklbd4oUVak0OS6SxYmQAP9Ei5 TFckzLSYiwXgk5xS20hIZmWLlSKh7PPiEQ7j3xMH+EZdZHU2Wg0H5+IqG6MZkt/jwGAG 5dig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eW3GJXxPUZyt7QI8s8W6rkbsVY9veXUcAWYZiSrvzbU=; b=rKpFWnQaGmRMuOPedbiLeNf3jLb+PtVyv+5oZDHuZ2SK3f4fJ/9RTA63A9xdAqAYky 0M/R4qn6WRT9l+vl8T9UkYSy0GIGw3a2jA/s17g44n8uQmDAMRYwaJoWtWrEsJN2I02J fP4Esk+S2zeGLbqvgzkdgtQtNoJtmk0yse1cisSQbUG/bvAFBB93z9fz2CD8idomBUyB F/9HL/PC8ur9jAjWCpT6lhpcpU5H2tAZzCc9PfUDYHJSm/fvU0mJl6bJZ+CU5ytURiBn Pm22vdpfneGxuAMbGf7hYwEDhhPrSBiRHYGSPpnxzQ8q2X3QxXQahdQP1cEwxa8wjlgh Qdbg== X-Gm-Message-State: AOAM533G5MpZDBcC1Q+4F2vmKJDXiZ+bk1XrKQRfoGvW01jKXMgATqeV cvRUUBUAHTMJCN8PxD1rZjRsg3Eg5h0= X-Google-Smtp-Source: ABdhPJwkyDCADfVYDvpRSNYx1y9pD7Y/kGMAl3J8V9WqncXsATqfrrMKzI1jDx03+cD+NoAXrnHfjQ== X-Received: by 2002:a17:90a:2c46:: with SMTP id p6mr10718078pjm.166.1604196209768; Sat, 31 Oct 2020 19:03:29 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:29 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 01/15] gnu: Add ghc-control-monad-free. Date: Sat, 31 Oct 2020 19:02:22 -0700 Message-Id: <20201101020236.1108-2-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-control-monad-free): New variable. --- gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 5b9da15630..762435fa6b 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -26,6 +26,7 @@ ;;; Copyright © 2020 JoJo ;;; Copyright © 2020 Nicolas Goaziou ;;; Copyright © 2020 Alexandru-Sergiu Marton +;;; Copyright © 2020 Carlo Holl ;;; ;;; This file is part of GNU Guix. ;;; @@ -2608,6 +2609,36 @@ a vocabulary for working with them.") @code{ghc-contravariant} package.") (license license:expat))) +(define-public ghc-control-monad-free + (package + (name "ghc-control-monad-free") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/control-monad-free/control-monad-free-" + version + ".tar.gz")) + (sha256 + (base32 + "1habgf7byffqf1rqjkzpihvdhclaafgqsqpfpwp3fgpj5ayk1j33")))) + (build-system haskell-build-system) + (home-page "https://github.com/pepeiborra/control-monad-free") + (synopsis "Free monads and monad transformers") + (description "This package provides datatypes to construct Free monads, +Free monad transformers, and useful instances. In addition it provides the +constructs to avoid quadratic complexity of left associative bind, as explained in: + +@itemize @bullet +@item +Janis Voigtlander, @cite{Asymptotic Improvement of Computations over +Free Monads, MPC'08} +@end itemize + +") + (license license:public-domain))) + (define-public ghc-convertible (package (name "ghc-convertible") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:50 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:50 +0000 Received: from localhost ([127.0.0.1]:35214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3bu-00012D-2a for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:50 -0400 Received: from mail-pj1-f45.google.com ([209.85.216.45]:39338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2iX-0007u7-Uk for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:39 -0400 Received: by mail-pj1-f45.google.com with SMTP id m3so1433805pjf.4 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4KW5IF34SJx6ca3AA7zP7ReUuVbykTa92+pJXj9yJx4=; b=q2CBZ69MV1SfjMMcfX7fE0d/baIklI5hOq7wclsk2kOHYG3QdROw0mm1hjF3eMaqgx i2ncmNS+HOxODJVJalfL4RI/DbuuCqyRmtUnjAt7vyBj3b6NpfP1c1cZE7DbuakXTcJV waaoKyPxaEJedQl1TNIvJeMxpZAVarxRZBqScNz1oHzki1Tj3WabqVnWJpMxjcbZKod9 RtpLdkd9P1tbLBHPf6Qw+UeZ7JvKo9ye/hMFOm/eLDn6fOOKGeZx9GGPO+f21Bxd3aSU 3N4uWeVNFuIr/xhTQkxzBUQrCybQOZqjEiU8DAfogCrT716ZZcjV3xWMa1Z725IK853k 1puw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4KW5IF34SJx6ca3AA7zP7ReUuVbykTa92+pJXj9yJx4=; b=caWynC2ZRYu5nXxxVQvTOaiNKw6snwjuWRPz2PaL4E3zw6IE7QcHat5oWoyb4oF0oH GILLDf9OC+Xb8ozUCC81u+L0iepQBwlFPB0Gx38T2jT9m+OECFLtWF8NuOqeDFiMGt0R 3sxuRaW9GpXeQ9ST+SwiWKoS3NZ9XpItuf6yfUMFolBaVA7lUG0O+4D6ivjGu4oY8/xJ vWeelB2WHQdQaoOMVW4bfSmFntkem230EpfIePRtu7UN4vnFADbcSSV6+0LmU9RSid/u 0HGMNTL1Hi46JuUzz8oPXAx0VAs67YMijDSuC4h+NPlbTDPNCDmgSaBw+vnIXFZzl8BQ i+OQ== X-Gm-Message-State: AOAM533kNusb83vi8bHBE6MAWFojx4sK1Ezb4kJothk/Qzi2WsYT9o/G qwMTR1PaR8Pn5ctA8B101lTpNKfhIlE= X-Google-Smtp-Source: ABdhPJwKj26zydil0iZz7Xd5ji0ff7WPqzElpdxbER9wifuq7csNq+ZGMWjbRGTxMUEy7IM87OtBVg== X-Received: by 2002:a17:902:bc83:b029:d6:ab18:1079 with SMTP id bb3-20020a170902bc83b02900d6ab181079mr7805712plb.22.1604196212072; Sat, 31 Oct 2020 19:03:32 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:31 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 02/15] gnu: Add ghc-csv. Date: Sat, 31 Oct 2020 19:02:23 -0700 Message-Id: <20201101020236.1108-3-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-csv): New variable. --- gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 762435fa6b..46019d74c2 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -2665,6 +2665,30 @@ pure @code{Either} value. This means that you need not remember which specific function performs the conversion you desire.") (license license:bsd-3))) +(define-public ghc-csv + (package + (name "ghc-csv") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/csv/csv-" + version + ".tar.gz")) + (sha256 + (base32 + "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/csv") + (synopsis "CSV loader and dumper") + (description "This library parses and dumps documents that are +formatted according to RFC 4180, @cite{The common Format and MIME Type +for Comma-Separated Values (CSV) Files}. This format is used, among +many other things, as a lingua franca for spreadsheets, and for +certain web services.") + (license license:expat))) + (define-public ghc-data-accessor (package (name "ghc-data-accessor") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:51 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:51 +0000 Received: from localhost ([127.0.0.1]:35216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3bu-00012K-Ez for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:51 -0400 Received: from mail-pj1-f46.google.com ([209.85.216.46]:37421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2iZ-0007uI-S0 for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:40 -0400 Received: by mail-pj1-f46.google.com with SMTP id lt2so1433945pjb.2 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qvUSznHNrWKJPHjfjNVMh6UJwUJ3Yh5ztEZX85gZlDc=; b=RJCy275es498izc4lJcx5osPmHriWEjfbubJfSm1QZyBSKV72XvEnKvtF1mKedSi4e a1Fe8fBFb+6obHnjZqhwbRuBpQQs3qroqjxZBtXHobt0oTxU0qwzM/0uuLCHcoVjFXUq jbAUumRnmdk167tqaOyaSikot1u1rdfCvXU2flJTZez36zweMndpqQqpWaDVO+dUl8rv 96vuOcgaOyUJtLNn0FnXZQq/T62/S2290SDVYQjW3xmLAbsWMWbVj2kPRXb7E82MmJaE r8t1YU9XzgnWiT7OJoYifMHpCL52O1B3fNtU0Rj45/eJ7H5Iep262b7CbmJJin28wXdp CqMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qvUSznHNrWKJPHjfjNVMh6UJwUJ3Yh5ztEZX85gZlDc=; b=G87x78ztM7P2V4ZFZ6DRiFMH0HS9vf2X0IJ2n+3A9+YV3XWpJH90GTuVqgQLKR1KX+ lWuj2vvCYAr3XXPHxjl6a/I3deGIet13siHKJ0x/8n6HgB3keRdReKIeuOzZM1WMvhgl 6sy/ZaVX5ebdIeOfCnYdYC0EdYavE75zuSQvZO7E/H9wOT+sH6jXYFFpFVUVlMzIQdHI KMTswekt6K4Vnhk0QZF4CEnMLH2mq0lhROoI9g3T+1H3X4QCMnXJzgkC+gJg9JXu9mIo cnEUbZE5CacsGdie0+PuCEBPkTtDKtCUnHulpOiYADLZ1kRnvs27PiyiH/rQ7zadP0O6 Qzvw== X-Gm-Message-State: AOAM531Cb1uPeHlUcK/hDN/aSVfMLh4nrjtpe8ePKOrEYcACBNnGrb4S iPYbxds1i6Qy0zRJMJIkO1Z19LL3Npc= X-Google-Smtp-Source: ABdhPJySicpeac0SiIGiq/9lDYn9wlCSsMOuPg1VDQ+eEQ92lQySrLrxMKNKIXWrr2kbQUaHsQpvnQ== X-Received: by 2002:a17:902:b688:b029:d6:ad52:ffab with SMTP id c8-20020a170902b688b02900d6ad52ffabmr7109840pls.61.1604196214041; Sat, 31 Oct 2020 19:03:34 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:33 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 03/15] gnu: Add ghc-decimal. Date: Sat, 31 Oct 2020 19:02:24 -0700 Message-Id: <20201101020236.1108-4-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-decimal): New variable. --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 46019d74c2..6eea034931 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -2987,6 +2987,35 @@ to add D-Bus support to Haskell applications, without the awkward interfaces common to foreign bindings.") (license license:asl2.0))) +(define-public ghc-decimal + (package + (name "ghc-decimal") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/Decimal/Decimal-" + version + ".tar.gz")) + (sha256 + (base32 + "0k7kh05mr2f54w1lpgq1nln0h8k6s6h99dyp5jzsb9cfbb3aap2p")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" + ,ghc-test-framework-quickcheck2) + ("ghc-test-framework-hunit" + ,ghc-test-framework-hunit))) + (home-page "https://github.com/PaulJohnson/Haskell-Decimal") + (synopsis "Decimal numbers with variable precision") + (description "A decimal number has an integer mantissa and a negative exponent. +The exponent can be interpreted as the number of decimal places in the value.") + (license license:bsd-3))) + (define-public ghc-deepseq-generics (package (name "ghc-deepseq-generics") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:51 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:51 +0000 Received: from localhost ([127.0.0.1]:35218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3bv-00012S-BS for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:51 -0400 Received: from mail-pl1-f180.google.com ([209.85.214.180]:46987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ib-0007uS-Ma for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:42 -0400 Received: by mail-pl1-f180.google.com with SMTP id p17so4949751pli.13 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YcKxkD0JLb1uiXzQZyFKv+aPxOPWgv9HOnKVkMx9A68=; b=lsLLVZ8423OweMSLFymyahOzbgbAxwic+e+F/kXXrjNqr0hQYSjIkafd4nSZg81vXo yWakY4/xqTTfzUocJlH0WUoOugooZsCWG3ArZoQ7ywDujStZRVGvwMBqWcVMUds/enIt hZ77wBzPHr0YHd2Oy71p24YZILoJaEqaRa72/CIbIaBU//R3hoATOahkVu8MUcjsKnw2 hee0FaEgWVgrsKUrDFzBdlNBCiBWTLRHOZfhjZxtDrh4QdQuFlhPME657Cd6ckO0Yun0 wv1xd3LmnjF4L7ls3PkkOo7XqH30tzLAtqHFKVUAAVfksZg0ndfy6Jk5N0bsMhu5+O2x oOJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YcKxkD0JLb1uiXzQZyFKv+aPxOPWgv9HOnKVkMx9A68=; b=tTluopnlIpwWrkxGGxXesdm50H8BWIS+Vs/X3aFD8qsY2dFyGzRSRafXMfG79mWhu/ Bt+QM7EtvnKy/JtMo8d0RyrgXvET/NqCAz4AbxJbLtnE+ZREzcDa1qHyc+1Y2HJYpOBo Pmkl9n2IyTUHhRLaExDvBcLna/e1T+nku09QkdwCCbOeAEek+tXVPF7b5Z5NIPR/lxJ6 HTYtenlNw1ZDidQ2QsYOETqivXMR8nODBpOD47vf7pkD3hsnkuQBJaEBTk59CPrjX06V gAqTF5/W4Gt9psyxz1tDRp54fIaKaFYU3BaAboM6iFihUJGu/xdoVSJ6IMJvrp46zuTX yMfw== X-Gm-Message-State: AOAM5337AVBZfOsbNnkIYEvVEDe0jzo9wu6GWe9t1KC+GbPj7k/TRWPF ZpPSTO+72RbU7/GsnBATlrK4lKskWPQ= X-Google-Smtp-Source: ABdhPJySMrDh1zY44HPYR4jsIdb1eH1q2TH+M9KgOloWULapIJgiFeEXg05O14WhlOswDRPcmKuKhQ== X-Received: by 2002:a17:902:bcc1:b029:d3:9bdf:32e3 with SMTP id o1-20020a170902bcc1b02900d39bdf32e3mr15267968pls.1.1604196215819; Sat, 31 Oct 2020 19:03:35 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:35 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 04/15] gnu: ghc-doctest: Update to 0.16.3. Date: Sat, 31 Oct 2020 19:02:25 -0700 Message-Id: <20201101020236.1108-5-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-doctest): Update to 0.16.3. [inputs,native-inputs]: Replace with what is generated by guix import. --- gnu/packages/haskell-xyz.scm | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 6eea034931..1e995c90b4 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -3412,7 +3412,7 @@ Writer monad), where list append quickly becomes too expensive.") (define-public ghc-doctest (package (name "ghc-doctest") - (version "0.16.2") + (version "0.16.3") (source (origin (method url-fetch) @@ -3422,22 +3422,24 @@ Writer monad), where list append quickly becomes too expensive.") ".tar.gz")) (sha256 (base32 - "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag")))) + "1y1l7aa80qkib1z8lsizgg7fpfdmdwhxvi5m255a42jdkjgn5sfg")))) (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: missing test framework + (arguments `(#:tests? #f)) ; FIXME: missing test framework (inputs - `(("ghc-syb" ,ghc-syb) - ("ghc-paths" ,ghc-paths) - ("ghc-base-compat" ,ghc-base-compat) + `(("ghc-base-compat" ,ghc-base-compat) ("ghc-code-page" ,ghc-code-page) - ("ghc-hunit" ,ghc-hunit) - ("ghc-hspec" ,ghc-hspec) + ("ghc-paths" ,ghc-paths) + ("ghc-syb" ,ghc-syb))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-stringbuilder" ,ghc-stringbuilder) + ("ghc-hspec" ,ghc-hspec) + ("ghc-hspec-core" ,ghc-hspec-core) + ("ghc-mockery" ,ghc-mockery) + ("ghc-setenv" ,ghc-setenv) ("ghc-silently" ,ghc-silently) - ("ghc-setenv" ,ghc-setenv))) - (home-page - "https://github.com/sol/doctest#readme") + ("ghc-stringbuilder" ,ghc-stringbuilder))) + (home-page "https://github.com/sol/doctest#readme") (synopsis "Test interactive Haskell examples") (description "The doctest program checks examples in source code comments. It is modeled after doctest for Python, see -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:52 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:52 +0000 Received: from localhost ([127.0.0.1]:35220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3bv-00012Z-Ld for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:51 -0400 Received: from mail-pl1-f180.google.com ([209.85.214.180]:39071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ie-0007ub-0Z for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:44 -0400 Received: by mail-pl1-f180.google.com with SMTP id x23so4981675plr.6 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oN5w/dRqrDvvhM7Kysth+9vJ9XGF43wsWAp7cS14sKc=; b=tAjeDKxrJz9IpI04GlRX1W+Ynd2OU9sm7amiRywqNqW7L+bsPV3DLVwR5qVujF5bXl KON6ZEfid9FThvRBfd5IPmbVV4rTDyrrk2BjgXa3R33LKsPkEUhzYh/Ws+We41aonBnG AT3apQegSCrVNTcDN5qKz/zDcX6PH7phleJQ15gjNBniW6niYXu7MPUBz0Koj5SV2UGj LzVQPp0XJZrx50IhDur5TeyZvfGJ8Ga6aBqwTHy/BmzZBDQDzYNPys0IBDjof9XFJrLp RR15Fv5TWeLgFtdALzy0hdxscMEyu3iHlOiaHqUb1xHsVF/gcAk4+PzSOq/ArY1zCtFG 10AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oN5w/dRqrDvvhM7Kysth+9vJ9XGF43wsWAp7cS14sKc=; b=FeGm4dHotxLCF50uBDqFMpF+dbUAFqsw3x/a8MkIZwYCCxW0r66p1DuQAtSnEeKW3x eHbl0fkvxyw8rN8VjQ1FbK2p0yVXamP5MFYvCJExtXyg0pZBjdVBeq8UFW2OCw5+NvDh zjeHq5CDCDoMaCbv2nyTM7rA+GOjccMSMLyH+bsotaubjYthK18XDEEyeoPzrtUMaBqW Po4mbMue3JWefNclk/79TUN75JiD4InWOnkmYf/FXn4T883gwwlRm7hWO4YlbQSeZ4eY RlxEcvWY2odW+9Dw6WjwjpqYm9I/NRmMpI+Hbjuo+c2zm5mPcfyQo/b8fpSptCaFCqVC VRrA== X-Gm-Message-State: AOAM5304cUlAPYARgfU6+FwRs2LzFYAlUb1Pt9s0LrOgIXKdf4/H2hLb 1S7ABbcmlsCHDgTek5yPol3iOI5AkTc= X-Google-Smtp-Source: ABdhPJw1zanBH5GCCgMBw8F9dnACqxaBu+WN62Pk8dILpsRe0RGFUJb2cVbHbw1xC1JC0iZkfLO2mQ== X-Received: by 2002:a17:90b:1392:: with SMTP id hr18mr9879561pjb.116.1604196218277; Sat, 31 Oct 2020 19:03:38 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:37 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 05/15] gnu: Add ghc-hspec-megaparsec. Date: Sat, 31 Oct 2020 19:02:26 -0700 Message-Id: <20201101020236.1108-6-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-hspec-megaparsec): 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 1e995c90b4..4eb4d52c05 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -5927,6 +5927,32 @@ are described in a file named @code{package.yaml}. Both @code{cabal2nix} and @code{package.yaml}.") (license license:expat))) +(define-public ghc-hspec-megaparsec + (package + (name "ghc-hspec-megaparsec") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hspec-megaparsec/hspec-megaparsec-" + version + ".tar.gz")) + (sha256 + (base32 + "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hspec-expectations" + ,ghc-hspec-expectations) + ("ghc-megaparsec" ,ghc-megaparsec))) + (native-inputs `(("ghc-hspec" ,ghc-hspec))) + (home-page "https://github.com/mrkkrp/hspec-megaparsec") + (synopsis "Utility functions for testing Megaparsec parsers with Hspec") + (description "Provides a small set of helper functions for testing +Megaparsec parsers with Hspec.") + (license license:bsd-3))) + (define-public ghc-hs-bibutils (package (name "ghc-hs-bibutils") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:53 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:53 +0000 Received: from localhost ([127.0.0.1]:35222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3bw-00012h-2I for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:53 -0400 Received: from mail-pf1-f170.google.com ([209.85.210.170]:33968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2if-0007uo-CF for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:45 -0400 Received: by mail-pf1-f170.google.com with SMTP id o129so8178569pfb.1 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ifVopy3r67Rfzdyor6tpTBO/vxSxrPeXcTeSKDUbHWU=; b=nifxbFA1DgSEljSSDPT1zXs003DdTI7pWPx/0+jr3k1cb6XQXeUy/hFNarPABfPuyc jP6QfgT7Fi68mb49JCd+4kl/ga9B3VtLdtPRP1e9pdMkpYOLULMTrXHptZJLzqxY6ky5 +22duHc+u0NHatnGeo7ZPqUgj1z/86L3/wRLM95Wx7ErBCvg4Mjt+N5dgratFKOi9adf JDWXFYILmEUZvaz3tw+Bil5aUQJhunozpP0ql6/DAy3AFgKt1Drly6XjV8Xr3tvP5Kzh 6WL+1fPk/ZVFITdsHjjtiV3xz1HgX9ufUszGvUDIOXAXR50TFXhDGiT4DA2DL7TTh0Qb 86uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ifVopy3r67Rfzdyor6tpTBO/vxSxrPeXcTeSKDUbHWU=; b=AMW0iMPDDgwH9fVpWx1Ojk7mMDElKri7IgsKBWkcCd2CFPXGlmL8DvIrCVqPrbe+yz FnLmfgg9n4y/XnsmhKXBWPaCCSirCtcQVrK0L/gA+TgiorWndA4Rye6dHBtDi1MOgZRH jK/ODt2gj36Vz80hopgOj0FDJYY9guYxhYu6fUzBXYJhXx57B51xmWaIz04PeoJ+CKVJ jcyNxt+UEnpjutCpQHXVTXFnjAVPPv8mxDtG16zXQPq2MqzqNHQFkeLxKti37x57pT6y CvmNwznILZiPHPTpbDaiTwPEAwMP+xYWUF7juoTsagrSgeJl2XBuOqDMLlma5qswGJ+k V+uw== X-Gm-Message-State: AOAM530ItiUOcOQChzbT+1LgQnAv+JLvkVNaurqEWKIAEp/XlF5LzT7H pl4ta0fNvEEXS8fWVaEisAxsp950HbA= X-Google-Smtp-Source: ABdhPJzfOS7IGQQ2D5A0XgZ9SObytPwVGrVFGAvGa4XhYRxgoWWzHKJmHfHYbQgrJFyET0d0VeXsWQ== X-Received: by 2002:a62:643:0:b029:18a:b225:155 with SMTP id 64-20020a6206430000b029018ab2250155mr4580534pfg.56.1604196219347; Sat, 31 Oct 2020 19:03:39 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:38 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 06/15] gnu: Add ghc-lucid. Date: Sat, 31 Oct 2020 19:02:27 -0700 Message-Id: <20201101020236.1108-7-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-lucid): New variable. --- gnu/packages/haskell-xyz.scm | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 4eb4d52c05..93ae4b79b9 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -7281,6 +7281,52 @@ Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf, online}.") (license license:bsd-3))) +(define-public ghc-lucid + (package + (name "ghc-lucid") + (version "2.9.12") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/lucid/lucid-" + version + ".tar.gz")) + (sha256 + (base32 + "156wniydd1hlb7rygbm95zln8ky8lai8rn2apkkv0rax9cdw6jrh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-hashable" ,ghc-hashable) + ("ghc-mmorph" ,ghc-mmorph) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-hspec" ,ghc-hspec) + ("ghc-bifunctors" ,ghc-bifunctors))) + (arguments + `(#:cabal-revision + ("1" + "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9"))) + (home-page "https://github.com/chrisdone/lucid") + (synopsis "DSL for rendering HTML") + (description "Clear to write, read and edit DSL for HTML + +@itemize @bullet +@item +Names are consistent, and do not conflict with base or are keywords +(all have suffix @code{-}). +@item +Same combinator can be used for attributes and elements +(e.g. @code{style_}). +@item +For more, read . +@end itemize + +See the \"Lucid\" module for more documentation.") + (license license:bsd-3))) + (define-public ghc-lzma (package (name "ghc-lzma") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:53 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:53 +0000 Received: from localhost ([127.0.0.1]:35224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3bx-00012p-4H for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:53 -0400 Received: from mail-pf1-f174.google.com ([209.85.210.174]:35421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ig-0007v1-BI for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:46 -0400 Received: by mail-pf1-f174.google.com with SMTP id b3so8192583pfo.2 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2mY+gz5QZRXCsRQPtRRYR/77gG2thWBJDUWuEUcn8Eo=; b=CA/MSbHkEdI5k0G7a+lE6qUJoWQS8/k/lumNkPvBCqANGUJPiEx7QiyRuyqVNtA/PX MN4RJJRFbh96ooAEQG45TLtVncjCEn7cjZJFTB8cCfQ+3naNqS1yIqvTcn4+C5TmTEbY eqNMoe6H7FCsNTsVsGFnWA+Pk+ubZpNwGy1TyzwE5WiUqJYYwl7HkIf0mHNRLevj+Trg t2zjLJMUpQlRaVj9SVlyIqExqHVVH861da7vr17tYZ0tWRna4jpTrUAjPKazYsKpCFtc neTAmpwFfmsaONr3aIwB8tlYi3dxgdAYGrisQOiilvdr3PCrmRkchvP7s191rUch5p+H QSNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2mY+gz5QZRXCsRQPtRRYR/77gG2thWBJDUWuEUcn8Eo=; b=m8Tv2N/se13PSaodazHqYZOjjw5WBFJip6x6GjUkHsrUxRKT5QZNW1ec3Lb6b3ltV1 1mLnM+3yNWFKivPs19F2xIUdB19B7jW/SEL32sqKASSU20Gpeyylxm6w2U3gZhXf8sZt 59lYt8A99ZkBeq3gqu/Ns56MPK1CCPWwhdc9clO5wvCpRo5Nio9+AMIwA2Rc3266cyGl 5YWlABOR8sE7gsr/6bZxLvX6Ynb/D/t8T9s/vgyFpxeF5YZy9X69cOWXM1XXftuwKPm2 77bOARxbL7VKr0LtntHXRBEIqh9US6LE1fXCt0s5wEKBzvQb5lBoI1uWaEsOZ5ZBIgUb +tkg== X-Gm-Message-State: AOAM531AOjFZuxYj4/kdZUWT+qkXOfvxNUKsTaJX/sEeggqsKD/i3P9/ UsPyjx2tPed0m6cBvBeyfMZkIqGJE8Q= X-Google-Smtp-Source: ABdhPJyw3fNo2C5pBVvPnvm0lNCXsU+uOKoN58IBX+7gh/8r7jXXu1utkdu/gKfOr1kd7iWO7ZlMRg== X-Received: by 2002:aa7:8f10:0:b029:161:79ae:eace with SMTP id x16-20020aa78f100000b029016179aeeacemr15934199pfr.45.1604196220424; Sat, 31 Oct 2020 19:03:40 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:39 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 07/15] gnu: Add ghc-only. Date: Sat, 31 Oct 2020 19:02:28 -0700 Message-Id: <20201101020236.1108-8-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-only): New variable. --- gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 93ae4b79b9..85ed28625a 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8599,6 +8599,37 @@ old @code{time} library. For new projects, the newer @uref{https://hackage.haskell.org/package/time, time library} is recommended.") (license license:bsd-3))) +(define-public ghc-only + (package + (name "ghc-only") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/Only/Only-" + version + ".tar.gz")) + (sha256 + (base32 + "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" + "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr"))) + (home-page "https://hackage.haskell.org/package/Only") + (synopsis "The 1-tuple type or single-value \"collection\"") + (description "This package provides a canonical anonymous 1-tuple +type missing from Haskell for attaching typeclass instances. + +NOTE: There is also the @url{https://hackage.haskell.org/package/OneTuple, +OneTuple package} which by using a boxed @code{data}-type provides a 1-tuple +type which has laziness properties which are more faithful to the ones of +Haskell's native tuples; whereas the primary purpose of @code{Only} is to provide +the traditionally so named type-wrapper for attaching typeclass instances.") + (license license:bsd-3))) + (define-public ghc-opengl (package (name "ghc-opengl") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:53 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:54 +0000 Received: from localhost ([127.0.0.1]:35226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3bx-00012w-Fo for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:53 -0400 Received: from mail-pf1-f172.google.com ([209.85.210.172]:35420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ih-0007vG-MW for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:48 -0400 Received: by mail-pf1-f172.google.com with SMTP id b3so8192606pfo.2 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fzEGBZG+zdVjSuCFCS/LYQzrP7ini8kXo2RE/T0h8Tk=; b=WNQPCpI3hsu6pv6sV+ZtmdfABxWMIiIrGSch6f7pEC2EB4vBHy5OXX3rauUuPQ+jgE oYF2TidsIbUbau9Y1wYZEncaPhPn8F3++R72JMkAirwVh0LWPcgl3Y9zDBMN0ZTIltyi WxeYxICrrwYPB+e+cQcFjvUeciA2JHFppFs/6+D0WStBTOFtHNX9x9dvjrMRvkKzSn9f VGY1irC58lDwFGk7o84XEi9DDlEvMXCMlQ7IKlaR9GRrI8C4qwSu3Z+pltzDHzlZWvCi DBR2Qy5baKXhJ/CUjoxNa+sxKcBuJ0TROndAr7h3G+aJQk4+M28Cmmc2HhTUrXkk4l0a eJJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fzEGBZG+zdVjSuCFCS/LYQzrP7ini8kXo2RE/T0h8Tk=; b=GNzIy7YepU+PLTRfdLQtY6FUJ3ILcCg+elwry+axDJmDwWXpLHSNfNqwE2tA0Y4/Iz IcPacMiDCebg9DjIZ8kKxgGYKzqqNq4wNQp8UBUtuaOWBESHWDQpbG6+FChwV+mvOqiC QFoVoU2Revum1aZ2VdSCvX412vy01clolfunwzSmP42TEQcTo666IgtivxtN3uuEofA3 CRWVEKRFr2McqOLlvscxF51omPsYFHJTEE/OIYdBG8SrYRau4QRsDIJGrvPXMfjfiRjQ 3g4XLZjTBfhX/0oMfhLW+SglFyN7wLWizmUcUezBfAz86wrUoWfV6Q6+p5PISlOMV4Z2 u8Tw== X-Gm-Message-State: AOAM530vP2L6rogEEQuD5lIyjEcAMOwdDVzOJAHMe4IALHlSRo1G2gMu vFKcFis9Y2hEo+rA5sANnBP4aWWfu4o= X-Google-Smtp-Source: ABdhPJycegMgB5IRU0qp4Wk6Swngdp4yc6BsIIu6kt6Bhe0gBWAa96cGMrFI/UgQJDjE7p6wucPKRA== X-Received: by 2002:aa7:82ce:0:b029:142:2501:35cb with SMTP id f14-20020aa782ce0000b0290142250135cbmr15951751pfn.43.1604196221601; Sat, 31 Oct 2020 19:03:41 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:41 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 08/15] gnu: Add ghc-text-short. Date: Sat, 31 Oct 2020 19:02:29 -0700 Message-Id: <20201101020236.1108-9-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-text-short): New variable. --- gnu/packages/haskell-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 85ed28625a..7b49cac093 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8911,6 +8911,45 @@ require aeson (description "Safe conversions between textual types") (license license:isc))) +(define-public ghc-text-short + (package + (name "ghc-text-short") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/text-short/text-short-" + version + ".tar.gz")) + (sha256 + (base32 + "0xyrxlb602z8bc9sr2y1fag0x56a20yj5qrkvy7iwc6hnznrynxz")))) + (build-system haskell-build-system) + (inputs `(("ghc-hashable" ,ghc-hashable))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-quickcheck-instances" + ,ghc-quickcheck-instances))) + (arguments + `(#:cabal-revision + ("2" + "17cb7p0qywf2dsrq3g8qb3ssknd9wl5k0nc2pxz9gc3l8rxpkw51"))) + (home-page "https://hackage.haskell.org/package/text-short") + (synopsis "Memory-efficient representation of Unicode text strings") + (description "This package provides the @code{ShortText} type which +is suitable for keeping many short strings in memory. This is similiar +to how @code{ShortByteString} relates to @code{ByteString}. + +The main difference between @code{Text} and @code{ShortText} is that +@code{ShortText} uses UTF-8 instead of UTF-16 internally and also doesn't +support zero-copy slicing (thereby saving 2 words). Consequently, the memory +footprint of a (boxed) @{ShortText} value is 4 words (2 words when unboxed) +plus the length of the UTF-8 encoded payload.") + (license license:bsd-3))) + (define-public ghc-doclayout (package (name "ghc-doclayout") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:54 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:54 +0000 Received: from localhost ([127.0.0.1]:35228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3bx-000133-RX for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:54 -0400 Received: from mail-pf1-f175.google.com ([209.85.210.175]:42266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ii-0007vS-Ig for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:48 -0400 Received: by mail-pf1-f175.google.com with SMTP id x13so8160621pfa.9 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jLnmM0dEt2Ava7l5OIehwz2pkbFyEhEo3doGkKD7pBE=; b=eh2vmvMEjCqzWY9N7WTsl4T5sA2U35M6S3KK+emQKdmdMEBsjpM3KmR3Xgkh0uihEQ 0zasw9Cm4WGVXZDMnsRYet5bhFnet+lNMWKsF4xJfJubm91SEeG4mieFg2z8+hKa0Iwh 05VunPPKXaV6k7yLXP8e0Eu5fqJcYd0tHyAfFFs9knDq9ssq2kxBqhu6KnMgI7Adj61l NTFNi2S8XxHUDCEWPU70vrx8OufiKty09scJBQD2jrGLTVwRFartZE5H5XWsENyQiFCJ d3lAj6eFWMjVGfPGNasZDUHBto31MCnHxZjj0G6K6OzgER/wGYdU8LBNHkdKOuiJfZXM HOhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jLnmM0dEt2Ava7l5OIehwz2pkbFyEhEo3doGkKD7pBE=; b=PUAHJ7KzWyBzjBeIDB+8l//dh2At607QNKOkvMyZEcodVb2xSQg8mbq+n1Y1xGS1iW RIQVLkZBtBbv2wtY+z1yX/vQIiJAWRY5LOidk8stFesJSPK/YL2w8VgDkABxIMLJYKyX q0DLnzUddwBEvIt7oYe3yQcwmylPKURm9W3Ch9An1WEIzJeTwQUOOzOoBPOzjMHcr1nG BzuQNb8SRIg8cRcPpyurajZC4sJGXZnobe8UkJ7Ob2nDPoj0VeiK3XdKCcsa01psmECO WlY0yLWfpt3FusxShv46oQxqtSqGc93lJY1S9p0duuflqAFPgQ8ONHY57XHuDryYKGyk CqHQ== X-Gm-Message-State: AOAM530okJ0FcGNxvjMqq6DK78zIux9iAAJQ5pGd9cziKZitMW9QnM4J TgPtv0SZfwLvj2EAMk9yjqtNHFbqUAQ= X-Google-Smtp-Source: ABdhPJzRNexWWWIXjIsL+7zA5C3iA4QJmDNIcjjIeaKw5RR2vHdd4re9xD+MhMXY/1CREuy8m/oJtg== X-Received: by 2002:aa7:9a04:0:b029:163:fe2a:9e04 with SMTP id w4-20020aa79a040000b0290163fe2a9e04mr16465503pfj.30.1604196222670; Sat, 31 Oct 2020 19:03:42 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:42 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 09/15] gnu: Add ghc-tabular. Date: Sat, 31 Oct 2020 19:02:30 -0700 Message-Id: <20201101020236.1108-10-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-tabular): New variable. --- gnu/packages/haskell-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 7b49cac093..97d83ad886 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -12798,6 +12798,50 @@ Unlike the filepath package, this package does not simply reuse String, increasing type safety.") (license license:expat))) +(define-public ghc-tabular + (package + (name "ghc-tabular") + (version "0.2.2.8") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/tabular/tabular-" + version + ".tar.gz")) + (sha256 + (base32 + "0z936gh8n8i8qdkagyxwd9gqq13skd5fv013vdvwsibrxkm0czfb")))) + (build-system haskell-build-system) + (inputs + `(("ghc-csv" ,ghc-csv) + ("ghc-html" ,ghc-html))) + (home-page "https://github.com/bgamari/tabular") + (synopsis "Two-dimensional data tables with rendering functions") + (description "Tabular provides a Haskell representation of +two-dimensional data tables, the kind that you might find in a +spreadsheet or or a research report. It also comes with some +default rendering functions for turning those tables into ASCII +art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX. + +Below is an example of the kind of output this library produces. +The tabular package can group rows and columns, each group having +one of three separators (no line, single line, double line) between +its members. + +@example + + || memtest 1 | memtest 2 || time test | time test 2 +====++===========+===========++=============+============ +A 1 || hog | terrible || slow | slower +A 2 || pig | not bad || fast | slowest +----++-----------+-----------++-------------+------------ +B 1 || good | awful || intolerable | bearable +B 2 || better | no chance || crawling | amazing +B 3 || meh | well... || worst ever | ok + +@end example") + (license license:bsd-3))) (define-public ghc-tagged (package -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:54 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:54 +0000 Received: from localhost ([127.0.0.1]:35230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3by-00013B-5t for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:54 -0400 Received: from mail-pj1-f48.google.com ([209.85.216.48]:52879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ij-0007vd-Jp for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:49 -0400 Received: by mail-pj1-f48.google.com with SMTP id mp12so1395067pjb.2 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vMzTFVSAclB5G+LQnliXnsJE1bC4s1SQyw6jCzh7NWE=; b=qn0VltLfRED3YwgordnpNIEqDdkWeXj32rTSAfJWD50FCLuwi3tZ1WiWmUDDFTDs4b PNthlxG4ZFlYI4WwBR1GyvfrDCr66/uqW7GDWKbBhqdBqoUG75ba0RNlAb/a3dNWIi8n Q+5AKjKqE/kUa9xJ6eNPYPnewHna9XE19EavQ58jaJfBURSFb3nCDLEurDRgdMvL8ESO iukl4qN8PzSUm6D0ZDOhRf8066P45o/xLqzgAB+p3BesPe2hXno4OwXfWXOR0P9uEKPt iMqhMWXPjirCDZDtDFyVpq+h+JFExAOIzDsaQskIHTime9mJXT/wT+VR2A8W0AfVo6rk jLvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vMzTFVSAclB5G+LQnliXnsJE1bC4s1SQyw6jCzh7NWE=; b=kBdtvefTC5fOLRrZZHthOaAkqX8Mk1U2qhkFyz9U8nA7dIZVn7+Jk8PXvlSS3rziZf LaE/lTpiOCAMgqpDp2ASDOVxEA5dOLjFftgFbssP55/RuDHkmIGVZDAmFcDhim1Ipm9M LtHQQaVlwaFT1D+ktXqE35E5L9x47kvazSS9CF4oQWQ2xFl3oZxC/LCs/1ibsV574xA6 cTNyjO8EksMfpOIlRG765fcJPzJljh0w4giqFQkrFaeycMtzh5c63PXnujWzAn0HoHqk 0J0q7PJld7+VH+TWOJSEgxoHEvsdXQP6KMsnnz3xmX9IgCIm7xwuyiVsM8wIW/mxOZ5F XRuQ== X-Gm-Message-State: AOAM532uS0F2Og/EiJzv06n9H27eluQbiaFeE2RlERnU8V82YzpqtIdJ 9niZ7Osnyv7l3sinf78TwPhHzbj+vWY= X-Google-Smtp-Source: ABdhPJzhKW7eQfHeEIR5QswRiMvQgyRW1NE2nBu1XoGXTpCupJVtmuLTKpSmtWHQR8nxVs4Q2DbprA== X-Received: by 2002:a17:902:aa97:b029:d5:ac09:c5ec with SMTP id d23-20020a170902aa97b02900d5ac09c5ecmr14986439plr.78.1604196223770; Sat, 31 Oct 2020 19:03:43 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:43 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 10/15] gnu: Add ghc-uglymemo. Date: Sat, 31 Oct 2020 19:02:31 -0700 Message-Id: <20201101020236.1108-11-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-uglymemo): New variable. --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 97d83ad886..19657fa88f 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13864,6 +13864,33 @@ processes. It wraps around the @code{process} library, and intends to improve upon it.") (license license:expat))) +(define-public ghc-uglymemo + (package + (name "ghc-uglymemo") + (version "0.1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/uglymemo/uglymemo-" + version + ".tar.gz")) + (sha256 + (base32 + "0ixqg5d0ly1r18jbgaa89i6kjzgi6c5hanw1b1y8c5fbq14yz2gy")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/uglymemo") + (synopsis "Simple (but internally ugly) memoization function") + (description "Simple (but internally ugly) memoization function. + +@itemize @bullet +@item +New in 0.1.0.1: Make it exception safe. +@end itemize + +") + (license license:public-domain))) + (define-public ghc-unagi-chan (package (name "ghc-unagi-chan") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:54 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:55 +0000 Received: from localhost ([127.0.0.1]:35232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3by-00013I-Ga for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:54 -0400 Received: from mail-pf1-f181.google.com ([209.85.210.181]:43678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ik-0007vs-NW for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:51 -0400 Received: by mail-pf1-f181.google.com with SMTP id a200so8152877pfa.10 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dhfpnTEQtrSy8tnNckyrndVN1/ylI0ys8oJ/c+go378=; b=SMzCroiIpzGDnSU+ssmQuWhnthWMwosWzr0maWHXmrNz+XzaIeAhBtpfZz6zXDy0Cr xyVUZ9XKIDTrC5tvh6ks/uATkOkbArBGv4u/HL9zcPWU8eMBMaiipDs96y6mn4MHKeNe 9fwROcl3/l/fOMpT4u8F+J42NifuLqvNlHy3OdVtPsbbypBXAFE2bRgwFvwnVtxcN0LL VQmcxJmMRVt3jKvtC3USrxCAGhcagj02CYr8MXiywcWxgneD8ChutVJTfus5ZoxMobr7 yjmfXos/+ASEy+N59yq5xlXhSfr0cSc/nlSGh9h1VrFiH2WQgNQaWyzA7nOD/7LSwAln J0xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dhfpnTEQtrSy8tnNckyrndVN1/ylI0ys8oJ/c+go378=; b=B6c8OARvty7tEOuQjZCyHXBzyucG82CFlRaBqnW6GTH7WNRobWA8sZccvuiERetVAn KL1p0JbLnaiOYL3ie9rYGBpWDzkFblRngXZs2C6znG3G9T9Svn0OJef3HCaXiJ462JNW 5TIJ9t59ZfDWm6xpoBdya7a/p6axCyjw57h5hKimiFWrH/nvgsfJhfjjKGVu+u2gvd7L MGJ53xGBhm9zvCSs02kMKODaePOOTbHCvEAVC3zZx/55UwfsCHOqCvmjP68dRmwPUFVT tvd38pL8iya33orDitdTTjF0WBzJGMgRdzRF4Vu6TA7zdCuQbKTUfoD94HeAyGedjc8b PvBA== X-Gm-Message-State: AOAM5312rXzOk9bWNvqUG4RZQKxvkWmGqbgtkVqPFTnl3I/1YKHSjh88 tifcd+AlqHmi3pxG4XanGAaHj74jBJo= X-Google-Smtp-Source: ABdhPJyIfz6qxJtyT1XtZMhxZuABmr+udkzEQGW6+zJOlK57SsAuBBwHYqQfdzmi2H0499CsEy2oyw== X-Received: by 2002:a62:f846:0:b029:15f:f897:7647 with SMTP id c6-20020a62f8460000b029015ff8977647mr15674088pfm.75.1604196224874; Sat, 31 Oct 2020 19:03:44 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:44 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 11/15] gnu: Add ghc-wizards. Date: Sat, 31 Oct 2020 19:02:32 -0700 Message-Id: <20201101020236.1108-12-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-wizards): New variable. --- gnu/packages/haskell-xyz.scm | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 19657fa88f..210df9775c 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -14767,6 +14767,54 @@ widths to the Char type.") Haskell value or function.") (license license:bsd-3))) +(define-public ghc-wizards + (package + (name "ghc-wizards") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wizards/wizards-" + version + ".tar.gz")) + (sha256 + (base32 + "1clvbd1ckhvy29qrbmpkn7bya7300fq6znnps23nn3nxyrxhsr85")))) + (build-system haskell-build-system) + (inputs + `(("ghc-control-monad-free" + ,ghc-control-monad-free))) + (arguments + `(#:cabal-revision + ("1" + "095qd17zrdhqmcvmslbyzfa5sh9glvvsnsvnlz31gzsmi8nnsgim"))) + (home-page "http://hackage.haskell.org/package/wizards") + (synopsis "High level, generic library for interrogative user interfaces") + (description "@code{wizards} is a package designed for the quick +and painless development of @emph{interrogative} programs, which revolve around +a \"dialogue\" with the user, who is asked a series of questions in a +sequence much like an installation wizard. + +Everything from interactive system scripts, to installation wizards, to full-blown +shells can be implemented with the support of @code{wizards}. + +It is developed transparently on top of a free monad, which separates out the +semantics of the program from any particular interface. A variety of backends +exist, including console-based @code{System.Console.Wizard.Haskeline} and +@code{System.Console.Wizard.BasicIO}, and the pure @code{System.Console.Wizard.Pure}. +It is also possible to write your own backends, or extend existing back-ends with +new features. While both built-in IO backends operate on a console, there is no +reason why @code{wizards} cannot also be used for making GUI wizard interfaces. + +See the github page for examples on usage: + +@url{http://www.github.com/liamoc/wizards} + +For creating backends, the module @code{System.Console.Wizard.Internal} has a brief +tutorial.") + (license license:bsd-3))) + (define-public ghc-wl-pprint (package (name "ghc-wl-pprint") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:56 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:56 +0000 Received: from localhost ([127.0.0.1]:35234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3by-00013P-TE for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:56 -0400 Received: from mail-pj1-f44.google.com ([209.85.216.44]:50976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2il-0007wD-QT for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:53 -0400 Received: by mail-pj1-f44.google.com with SMTP id ie6so787112pjb.0 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MDCHMl4L11+oTziIkWAqOwQ3is7pwtew1ZgdCz5WXW8=; b=lUR/OXiREOF2O2cjTOFvFma4tI3RuFBRvGfbuTnYSr4IUAk8AniNOjyJdgwjVP/VHb Q5GcR9vhZa1vvuB9/ZQtmVOYcg2SyAbBV8A5wD+4Jc4nkEc1r4ZkwDbfb5c/lyPxqTdp OpgYJ4ldYQXptEwtTLUoQVPV+HLctZINVqUiwczhex0pQ0IhsiZOw4JKABbS+0kEiHfq Rx17aVeStIrKdYS8ZkFIO6N41ufWJRC6upHOePsfveFLIlGDg+c5FUYgoS5P4zobXmd9 8/F5XA2TnaLedOMiKqyH4GR8KLMcPn9tsL53o4cCMILjun83iZpNbgfH60A/9fDK0Vqx 1piA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MDCHMl4L11+oTziIkWAqOwQ3is7pwtew1ZgdCz5WXW8=; b=YvagyWSEmU5GDfHfBAU0o9f7NDBpACGADhZlitv0O7v8UCG18v2GcFXakVsdnocJf+ iV/JbM9P3yyfzKJF32acl4sIg8dTecc1D/scfenoKms1torpuijoBnpPHgV7+j9ijgbm fcJvkloVz2o3XSjWSkudDTgGQdbCSi+q8fnih8uQQzH2KFsU1LaxWnk9xMwUivHdnZuq zktDnFma3HRxWIg6DIcbQxocQx6mNFArN/gDhH8ziVPFEJLrpTvf97PLg1AamGWQ5Lh9 YhAFhltOW9tjqEDrF1VvasVDFAha7TskLCX01rWlR+CdYKpI65I6t1tRLZC6P5cead3+ vxVw== X-Gm-Message-State: AOAM530B2X6VwNjko8AxLYe2+VnN/Gl1skusEuOmpwQgl6Hc/HQnvgsT AZpHfFrH83+VL00oaY81i33zkCddc6o= X-Google-Smtp-Source: ABdhPJykNp4SVvUwzD0nrjFguvSKdWXDI7TOMwklhDCEhgb8QCZPkT543ZzVqTTbj3gQDspG8Oji3A== X-Received: by 2002:a17:902:8a8a:b029:d5:aba7:5abb with SMTP id p10-20020a1709028a8ab02900d5aba75abbmr15545882plo.50.1604196225944; Sat, 31 Oct 2020 19:03:45 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:45 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 12/15] gnu: Add ghc-cassava. Date: Sat, 31 Oct 2020 19:02:33 -0700 Message-Id: <20201101020236.1108-13-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-cassava): New variable. --- gnu/packages/haskell-xyz.scm | 89 ++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 210df9775c..6f5b6c3253 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -1552,6 +1552,95 @@ constructor which can be parameterised by a string-like type like: the resulting type will be insensitive to cases.") (license license:bsd-3))) +(define-public ghc-cassava + (package + (name "ghc-cassava") + (version "0.5.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cassava/cassava-" + version + ".tar.gz")) + (sha256 + (base32 + "01h1zrdqb313cjd4rqm1107azzx4czqi018c2djf66a5i7ajl3dk")))) + (build-system haskell-build-system) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-hashable" ,ghc-hashable) + ("ghc-scientific" ,ghc-scientific) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-only" ,ghc-only) + ("ghc-text-short" ,ghc-text-short) + ("ghc-bytestring-builder" + ,ghc-bytestring-builder))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-quickcheck-instances" + ,ghc-quickcheck-instances) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" + ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" + ,ghc-test-framework-quickcheck2))) + (arguments + `(#:cabal-revision + ("1" + "1ph8rf91z4nf1ryrh9s4gd1kq98jlgk2manwddkpch8k0n9xvfk4") + #:configure-flags '("--flags=-bytestring--lt-0_10_4"))) + (home-page "https://github.com/haskell-hvr/cassava") + (synopsis "CSV parsing and encoding library") + (description "@code{cassava} is a library for parsing and encoding +@url{https://tools.ietf.org/html/rfc4180, RFC 4180} compliant @url{https:// +en.wikipedia.org/wiki/Comma-separated_values, comma-separated values (CSV)} +data, which is a textual line-oriented format commonly used for exchanging +tabular data. + +@code{cassava}'s API includes support for + +@itemize @bullet + +@item +Index-based record-conversion +@item +Name-based record-conversion +@item +Typeclass directed conversion of fields and records +@item +Built-in field-conversion instances for standard types +@item +Customizable record-conversion instance derivation via GHC generics +@item +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 +Incremental decoding and encoding API (see @url{https://hackage.haskell.org/ +package/cassava-0.5.2.0/docs/Data-Csv-Incremental.html, Data.Csv.Incremental}) +@item +Streaming API for constant-space decoding (see @url{https://hackage.haskell.org/ +package/cassava-0.5.2.0/docs/Data-Csv-Streaming.html, Data.Csv.Streaming}) +@end itemize + +Moreover, this library is designed to be easy to use; for instance, here's a +very simple example of encoding CSV data: + +@verbatim +>>> Data.Csv.encode [(\"John\",27),(\"Jane\",28)] +\"John,27\r\nJane,28\r\n\" +@end verbatim + +Please refer to the documentation in @url{https://hackage.haskell.org/package/ +cassava-0.5.2.0/docs/Data-Csv.html, Data.Csv} and the included @url{https:// +hackage.haskell.org/package/cassava-0.5.2.0/#readme, README} for more usage +examples.") + (license license:bsd-3))) + (define-public ghc-cborg (package (name "ghc-cborg") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:56 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:56 +0000 Received: from localhost ([127.0.0.1]:35236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3c0-00013X-20 for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:56 -0400 Received: from mail-pl1-f182.google.com ([209.85.214.182]:37016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2im-0007wW-VO for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:53 -0400 Received: by mail-pl1-f182.google.com with SMTP id b12so4982189plr.4 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qmt0ZJTB013eX8lT/4d+utaHqcPGpSSKSN+UL9zE89M=; b=XJ7R1Ab+KyoE8AG9Wa31Ru6ineYq1tfoaftEHT5NqBN2ax0OgfRmjOoYuEMvViE6wG KhC2fHmMK9uISlK8k9JbgmnHfN2pBRM7P4NWBBW5Xc07zNBbuDwCiKeCWd9wuXqg4RTm jPXHSH+p1cbSjKFZgi2sA3RLgNkFL+38/Sxv9NUPh/fTV3bBbe3R96RK3ulQghaBJ6RM R6jj64IBZZ6IvJCfpFDiv8d0CDzFlGZNgfXibMn3OJL64xydFcGKCSpIQ2zAj3TwtNGW If1AYsG3c7v/9SBnpnaxuVy7dSFpBGhQgSYnjRBK/roXGSpzEHIApuWrjZV4xTtlu+3K 3Mtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qmt0ZJTB013eX8lT/4d+utaHqcPGpSSKSN+UL9zE89M=; b=XLcS//ovYCQkx/wqe2Vk7qFqvjGSmv2/dh+aVlqCPvQTVeqLMTf0QcRZOUfn60Qix9 3I69FcQP0T6vBS5tFXVavbExDkRZ8qqcByDubqLaWBsEWa9FhUcFqsZfj6k70IguNsAC xt+lCui+s3Skbqy4fxGaR4ZAwHeJDI/djxbHL9z8z/f7KWC+SEStWWglMDEJo0ZX4N77 60F0tNZHkc+Kop7/7KT4Krjmprq3BtgIuvwyehX//itedV+BbBnc23EYDH1l0mSZ2eOk lIPDKUERf/GUilkjpHRELjOt5umm8bs2qtk+5hW4NcWSt2Me4Y53rDpLLiKhAeiffORS qWIQ== X-Gm-Message-State: AOAM5307cIzzgy+fpbeZfM227dtTIHMCnOriVVZTwrKOXGELoNZxBjMB 7FA/2x4aGKfAM6QTrpthwmPw5RdEl64= X-Google-Smtp-Source: ABdhPJzyPH4jnTbGfpMMy/o/O90KsvNSAGlLWR0vNPhJA7A8f41zlx5FcnK0g364nTbS5X4z67x2Vw== X-Received: by 2002:a17:90a:5b02:: with SMTP id o2mr10213114pji.221.1604196227098; Sat, 31 Oct 2020 19:03:47 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:46 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 13/15] gnu: Add ghc-cassava-megaparsec. Date: Sat, 31 Oct 2020 19:02:34 -0700 Message-Id: <20201101020236.1108-14-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-cassava-megaparsec): New variable. --- gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 6f5b6c3253..a195503a40 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -1641,6 +1641,39 @@ hackage.haskell.org/package/cassava-0.5.2.0/#readme, README} for more usage examples.") (license license:bsd-3))) +(define-public ghc-cassava-megaparsec + (package + (name "ghc-cassava-megaparsec") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cassava-megaparsec/" + "cassava-megaparsec-" + version + ".tar.gz")) + (sha256 + (base32 + "03x1462agrfdagklp8c89b8p4z2hd8nbf6d3895sz770zjkawda7")))) + (build-system haskell-build-system) + (inputs + `(("ghc-cassava" ,ghc-cassava) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-hspec-megaparsec" ,ghc-hspec-megaparsec))) + (home-page "https://github.com/stackbuilders/cassava-megaparsec") + (synopsis + "Megaparsec parser of CSV files that plays nicely with Cassava") + (description "Alternative parser for the Cassava package written +with Megaparsec that provides for better error messages at the expense +of some speed.") + (license license:expat))) + (define-public ghc-cborg (package (name "ghc-cborg") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:57 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:57 +0000 Received: from localhost ([127.0.0.1]:35238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3c0-00013f-Cv for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:57 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:40872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2io-0007wg-0X for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:54 -0400 Received: by mail-pl1-f193.google.com with SMTP id j5so4970821plk.7 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Mv740JAgzqFYG1a4+eCV62KlczRS3T+/HGNAfPtWdNQ=; b=JgXYZxZAK4tRZVbZ4W8xGb+1lNkG14efSLafu12ju/7wx/ulnSJowaW+tXNTH4gbpF RuihTx0CHKze9vjnVhAD47p5HHubQE5uLeMEVzOxQ8AyDguyk4rdo540zAUTq1OufYjO czfEov0WEo0sndmNx0bsMZQeZpr+zzM5HcK8usQ97NpW0+KE5eJImb15ZQROh7CnNmAw 5OPwTKduJP3yR5RLpYXyJjM8RuW2a0B90xHkHGvZUD/egGHwzCd+UdnNKQwmpkPoDWLX chNiCbNrUYP56yCe+0Sf4hxDQCVEfGjnzP1FMSWi9XRcnRSgcES12iZSc7lwAWlCsLNQ YvVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Mv740JAgzqFYG1a4+eCV62KlczRS3T+/HGNAfPtWdNQ=; b=Dy1U8cQsORdzf3o+DTE6fzSMRs7v5P6X++XykT9Z4VgQzPxWMdNXTqKnNE6KPdhISp tY0BKbzosXdVH3FoPo4/9fy8l3t+JithGSEoGWsyA90x5mTW7uToRn2PEcdKw8znxo1T 8zreax0N0PGKNoW4q1cvJaG+lVAbpDV67+zgsN/A5nDctsTTD0xjpsrfcJMkisJb7fs8 yGV1N8kUgYU0cTCwsLNZx4aD4c2nhTHJMpYMkr8smBDDVfHUBiRBHfuMcWEIFgcshcb1 nw/Aw2zaBMQL1NKCcngi99zQ32mlCtWC1U1ApxNKms3CjhNjx0JLgFG2RVn3VPfp00sN YOEw== X-Gm-Message-State: AOAM533g+/GLbdRhkQgo5NXDgQS+yPpWxY1FAMPQ+knK7hOSbtlJKDOB aEnPPhHYoD/nSO0RMXvHTqbwQDnsmAY= X-Google-Smtp-Source: ABdhPJx+mhT891KvuSz4nSSQKDnD8KHUKwkUui7XSTVsNq4MXyAvJVaCu+O5FECcCuVGNAeq5rrDOw== X-Received: by 2002:a17:902:9f94:b029:d5:aad0:d18a with SMTP id g20-20020a1709029f94b02900d5aad0d18amr15402889plq.69.1604196228190; Sat, 31 Oct 2020 19:03:48 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:47 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 14/15] gnu: Add ghc-hledger-lib. Date: Sat, 31 Oct 2020 19:02:35 -0700 Message-Id: <20201101020236.1108-15-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/haskell-xyz.scm (ghc-hledger-lib): New variable. --- gnu/packages/haskell-xyz.scm | 64 ++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index a195503a40..7c0941960f 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -5846,6 +5846,70 @@ feature, allowing applications to subscribe to notifications when a file is accessed or modified.") (license license:bsd-3))) +(define-public ghc-hledger-lib + (package + (name "ghc-hledger-lib") + (version "1.19.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hledger-lib/hledger-lib-" + version + ".tar.gz")) + (sha256 + (base32 + "0py11011r358nmnvwwkc8mlx6mpy36jm8sqlr4i8ihx3x0zjdgya")))) + (build-system haskell-build-system) + (inputs + `(("ghc-decimal" ,ghc-decimal) + ("ghc-glob" ,ghc-glob) + ("ghc-aeson" ,ghc-aeson) + ("ghc-aeson-pretty" ,ghc-aeson-pretty) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-base-compat-batteries" + ,ghc-base-compat-batteries) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-call-stack" ,ghc-call-stack) + ("ghc-cassava" ,ghc-cassava) + ("ghc-cassava-megaparsec" + ,ghc-cassava-megaparsec) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-data-default" ,ghc-data-default) + ("ghc-extra" ,ghc-extra) + ("ghc-fgl" ,ghc-fgl) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-hashtables" ,ghc-hashtables) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-old-time" ,ghc-old-time) + ("ghc-parser-combinators" + ,ghc-parser-combinators) + ("ghc-pretty-show" ,ghc-pretty-show) + ("ghc-regex-tdfa" ,ghc-regex-tdfa) + ("ghc-safe" ,ghc-safe) + ("ghc-split" ,ghc-split) + ("ghc-tabular" ,ghc-tabular) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-timeit" ,ghc-timeit) + ("ghc-uglymemo" ,ghc-uglymemo) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string))) + (native-inputs `(("ghc-doctest" ,ghc-doctest))) + (home-page "https://hledger.org") + (synopsis "Reusable library providing the core functionality of hledger") + (description "A reusable library containing hledger's core functionality. +This is used by most hledger* packages so that they support the same common +file formats, command line options, reports etc. + +hledger is a robust, cross-platform set of tools for tracking money, time, +or any other commodity, using double-entry accounting and a simple, editable +file format, with command-line, terminal and web interfaces. It is a Haskell +rewrite of Ledger, and one of the leading implementations of Plain Text Accounting. +Read more at: @url{https://hledger.org}") + (license license:gpl3))) + (define-public ghc-hmatrix (package (name "ghc-hmatrix") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 23:00:57 2020 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:57 +0000 Received: from localhost ([127.0.0.1]:35240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3c1-00013m-8f for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:57 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:52680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ip-0007xA-4K for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:55 -0400 Received: by mail-pj1-f67.google.com with SMTP id mp12so1395151pjb.2 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SKSP1ulUc8r+rxj/eKQgeZ43w5G3MRA+Cy9ePWzUlRU=; b=XrEfghjrT5ST6DXHSGWuQWx55hGUdeQIc/OPaT/Rs4QZXU4R5VSSvQXMAi4jlywGHp Vsw/9eFK+Ids2fsWTYtjK646hjRmjfUitQhZsIvXQ/u/0wV+oGGF+A8UF7UWVKimCHIW SHBb5uZKawBmayO04d+wFScvtkqbYwIRVvzGDM4sSJ8OjLIg3IvawQMPreGrO0lEDgnI 32IpjY/+vAjIq9tEzElOa2cifseVwSgeYHZEGoCuOPzwDWnPf79xqS48A9HYDW3ACm91 cMNoFjPrudKM8hQcEWfAoW9dFcwdBiueHRFf+AIv+ekJdS35gxGFZIBvViO5iwxHYETj NxEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SKSP1ulUc8r+rxj/eKQgeZ43w5G3MRA+Cy9ePWzUlRU=; b=XhJTawu6f0mqKP1ryqelmxlURRgHnmiNnHGKsO8/bigLZ1uH73INcY/XfC5+6Dwt4b hfaKofkH9J5UkVHv7ygimulXXigLgjhUi8/akwGIg4/puBGkYIYyYh0h4Mh+G+3U7GMx 5AVgaELWzZwlqlnZhgZIu7BGt/g7ZNRTSZAfgOFFphP633uvaghzrq1RrYrpBochAN3p LMV4p1s+Y4Q/M7lz7f3gfqFciinwffbtAb2mXsdJgnvJ3d6BnoSVFk9miDuj1+rilrtm k7DuSdPOBG7LGpEBhKIwesD8bd7XbbdEFOBjjHW0XvNuQKWxdHoAZ/c08tJvBKzlVSvQ Myag== X-Gm-Message-State: AOAM530sIoJB+UnmL0qkjOPG+Y78T9+UHsLVJlIBoAaBbfzUNo+EFcdZ HGHzMSXEB8sLIkTQtgC1Lvdr086WGJc= X-Google-Smtp-Source: ABdhPJwVNONJw6HYeIex/Fq/W5phXdN8QXpRTtXk6OlPAE4Yz/0hewXU5fbsSL1OIrIm0B6jvkDXbA== X-Received: by 2002:a17:902:9a44:b029:d3:f10c:944a with SMTP id x4-20020a1709029a44b02900d3f10c944amr15274149plv.11.1604196229254; Sat, 31 Oct 2020 19:03:49 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:48 -0700 (PDT) From: Carlo Holl To: 44174@debbugs.gnu.org Subject: [PATCH v2 15/15] gnu: Add hledger. Date: Sat, 31 Oct 2020 19:02:36 -0700 Message-Id: <20201101020236.1108-16-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44174 X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -0400 Cc: Carlo Holl 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 (-) * gnu/packages/finance.scm (hledger): New variable. --- gnu/packages/finance.scm | 63 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 4397cf8ba8..ade4fc56fb 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2020 Tom Zander ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020 Carlo Holl ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +46,7 @@ #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system emacs) + #:use-module (guix build-system haskell) #:use-module (guix build-system python) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system go) @@ -72,6 +74,9 @@ #:use-module (gnu packages graphviz) #:use-module (gnu packages groff) #:use-module (gnu packages gtk) + #:use-module (gnu packages haskell-check) + #:use-module (gnu packages haskell-web) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages jemalloc) #:use-module (gnu packages libedit) #:use-module (gnu packages libevent) @@ -170,6 +175,64 @@ of the bitcoin protocol. This package provides the Bitcoin Core command line client and a client based on Qt.") (license license:expat))) +(define-public hledger + (package + (name "hledger") + (version "1.19.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hledger/hledger-" + version + ".tar.gz")) + (sha256 + (base32 + "0wfsyf2q1kf90mj3lxs0m5ghj153axmpkc8xfy12vkz5imnyphfm")))) + (build-system haskell-build-system) + (inputs + `(("ghc-decimal" ,ghc-decimal) + ("ghc-diff" ,ghc-diff) + ("ghc-aeson" ,ghc-aeson) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-base-compat-batteries" + ,ghc-base-compat-batteries) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-data-default" ,ghc-data-default) + ("ghc-extra" ,ghc-extra) + ("ghc-hashable" ,ghc-hashable) + ("ghc-hledger-lib" ,ghc-hledger-lib) + ("ghc-lucid" ,ghc-lucid) + ("ghc-math-functions" ,ghc-math-functions) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-old-time" ,ghc-old-time) + ("ghc-pretty-show" ,ghc-pretty-show) + ("ghc-regex-tdfa" ,ghc-regex-tdfa) + ("ghc-safe" ,ghc-safe) + ("ghc-shakespeare" ,ghc-shakespeare) + ("ghc-split" ,ghc-split) + ("ghc-tabular" ,ghc-tabular) + ("ghc-tasty" ,ghc-tasty) + ("ghc-temporary" ,ghc-temporary) + ("ghc-timeit" ,ghc-timeit) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-utility-ht" ,ghc-utility-ht) + ("ghc-wizards" ,ghc-wizards))) + (home-page "https://hledger.org") + (synopsis "Command-line interface for the hledger accounting system") + (description "The command-line interface for the hledger accounting +system. Its basic function is to read a plain text file describing financial +transactions and produce useful reports. + +hledger is a robust, cross-platform set of tools for tracking money, time, +or any other commodity, using double-entry accounting and a simple, editable +file format, with command-line, terminal and web interfaces. It is a Haskell +rewrite of Ledger, and one of the leading implementations of Plain Text Accounting. +Read more at: @url{https://hledger.org}") + (license license:gpl3))) + (define-public homebank (package (name "homebank") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 01 08:38:34 2020 Received: (at 44174-done) by debbugs.gnu.org; 1 Nov 2020 13:38:34 +0000 Received: from localhost ([127.0.0.1]:36002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZDZ4-0002hc-8F for submit@debbugs.gnu.org; Sun, 01 Nov 2020 08:38:34 -0500 Received: from mira.cbaines.net ([212.71.252.8]:58956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZDZ3-0002hV-2f for 44174-done@debbugs.gnu.org; Sun, 01 Nov 2020 08:38:33 -0500 Received: from localhost (188.28.126.167.threembb.co.uk [188.28.126.167]) by mira.cbaines.net (Postfix) with ESMTPSA id E070527BBF2; Sun, 1 Nov 2020 13:38:31 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 86d902a4; Sun, 1 Nov 2020 13:38:29 +0000 (UTC) References: <20201023074653.8885-1-carloholl@gmail.com> <20201101020236.1108-1-carloholl@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: Carlo Holl Subject: Re: [bug#44174] [PATCH v2 00/15] Add hledger and its dependencies. In-reply-to: <20201101020236.1108-1-carloholl@gmail.com> Date: Sun, 01 Nov 2020 13:38:29 +0000 Message-ID: <87a6w1xkmi.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174-done Cc: 44174-done@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 (-) --=-=-= Content-Type: text/plain Carlo Holl writes: > This patch series adds hledger, a plaintext accounting program. > > Changes since v1 (based on feedback from Christopher Baines): > - Fixed incorrect indentation. > - Added changelog entries to each commit message. > - Improved descriptions for some of the packages. > - Moved attribution to first commits to touch any given file. > > Notes: > > Christopher suggested I wrap an ascii table with @verbatim as part of the description for the ghc-tabular package so that it displays correctly, but I couldn't get 'guix show' to work with @verbatim, failing with < "EOF while reading a token " "reading verbatim")'.>>. I used @example instead, which works under 'guix show', but I'm not sure what the implications are for other output formats. > > Carlo Holl (15): > gnu: Add ghc-control-monad-free. > gnu: Add ghc-csv. > gnu: Add ghc-decimal. > gnu: ghc-doctest: Update to 0.16.3. > gnu: Add ghc-hspec-megaparsec. > gnu: Add ghc-lucid. > gnu: Add ghc-only. > gnu: Add ghc-text-short. > gnu: Add ghc-tabular. > gnu: Add ghc-uglymemo. > gnu: Add ghc-wizards. > gnu: Add ghc-cassava. > gnu: Add ghc-cassava-megaparsec. > gnu: Add ghc-hledger-lib. > gnu: Add hledger. > > gnu/packages/finance.scm | 63 ++++ > gnu/packages/haskell-xyz.scm | 557 ++++++++++++++++++++++++++++++++++- > 2 files changed, 608 insertions(+), 12 deletions(-) Awesome! I went through and tweaked some descriptions and wrapping and pushed to master as e6bfb02eb79777b760031384d4a3c14239f7fb55. Thanks again, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+eulVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xf5jw/+KfdWQEfEnLGxDGEdFah4gsDyA8EtyEva pg2IC3/tXuHtC5KEW+pXVIuAh9na4PMqTG3CohLW3LTgiQoCrS/fAL30OWmVXpWK jBRRu5YImjxxJ618Cz18ft6cuWDwzezMWvqIOP3kM3IJgmJVZNEErkFCk70CXWF6 V9iATZYgBAnPmvimGiLcW0V2UhxDoGmtpIxXIUoP30y5pK0tqOKU0dH+WV0gVs0i vx8kbgDlVRX6DapHrX8DUIVleHZbTXPtyMIrEuDztsuBf7HQy/KGlZKo0BL4dH/K Vf4G7tNaz3W6izmxDfnwmkd0xm9fSgYm1V6C4usgF0mZtO9M+bRxoBsA7N21G+bc 88hKC9ktfgF0qgSNUrGs3SbwfXiUH+l/fNjLhUWe0p/lMqjiZ5kOPTOSe4G7lExi V5X3Dkde3m7koSN0hANtE9/ZfgqMROrWZxJ7A8jT63pZvSMpTF27W+wmACa45UJ6 Nrqvu7Bi90eeOKNYOKVfNWVHjeMWpkxXqhrg1Tmot1avsY+39oEkmU3/PzfHD4dk K97uNrxFwIgas82WRMNavqc+eH61aj14kGtdbXMa4GUaEG2HG8U3tbFCXXNaWHnV ot0OMhoXPejqeiFsEmQAmhEco463VjchB1a2oV8IfIdy4Ouj8VV2+O2ysk+QihP8 7jXahEVRR8k= =3tsy -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 01 13:20:41 2020 Received: (at 44174-done) by debbugs.gnu.org; 1 Nov 2020 18:20:41 +0000 Received: from localhost ([127.0.0.1]:38449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZHy5-0008Ie-I4 for submit@debbugs.gnu.org; Sun, 01 Nov 2020 13:20:41 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZHy4-0008IX-KL for 44174-done@debbugs.gnu.org; Sun, 01 Nov 2020 13:20:41 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1604254838; cv=none; d=zohomail.com; s=zohoarc; b=nxlo+bfJnFtGpYIokSXQDMJb2uF6Sgm2whOKI/sGdU5006QRzstzIumEbmrnaawxwvisYDmqxoTvKKHKfcGY6BnYs4dA9iLkRAoNJj8/ZbkUbSCECe0eAysbt6aJ/bV4gi91QTuM5s/3MYo46yJl+GgilJ8hBFr+CzZJbRxpTEc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604254838; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=BMDTCYOyQcBOPSxyKRusYgiEEAiJskVeJc/kn3cG36E=; b=MdNLWoPCbtvO64lHEv5Rgqjsnczx8E0eLPr0Rb3Q1XnT+oKGIJehlevkUKgvhWFZLZpIC/oo9ONcSrXU6pSN6aeo0iRONLmWVUNpCXpxPYMV1Pz187TMzvW4Eu9dMDbkS9k9PH/UGnDLiULnhBoiiwqlJdwNYJv9DyRbatV729o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1604254838; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=BMDTCYOyQcBOPSxyKRusYgiEEAiJskVeJc/kn3cG36E=; b=Q4kgCC/XuHLmCPSqPfytG+9mhZAvrXyXtnXD4zE/eu9U0MCbSkc79yUwaQ66Hgwq X7DXSrR2thbFqNdQa22bEmliaXYpuMi5TSYokCG4h6X32rU/QK68GS7HWbrLnU3SK0b VIqQA2aXPOAcehdaVmXYRPuLUTzze1PMTpF1qSoc= Received: from localhost (p4fd5aedc.dip0.t-ipconnect.de [79.213.174.220]) by mx.zohomail.com with SMTPS id 1604254837639739.8878315873986; Sun, 1 Nov 2020 10:20:37 -0800 (PST) References: <20201023074653.8885-1-carloholl@gmail.com> <20201101020236.1108-1-carloholl@gmail.com> <87a6w1xkmi.fsf@cbaines.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Christopher Baines Subject: Re: bug#44174: [PATCH v2 00/15] Add hledger and its dependencies. In-reply-to: <87a6w1xkmi.fsf@cbaines.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 01 Nov 2020 19:22:30 +0100 Message-ID: <87eeldym1l.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174-done Cc: 44174-done@debbugs.gnu.org, Carlo Holl 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 (-) Christopher Baines writes: >> Carlo Holl (15): >> gnu: Add ghc-control-monad-free. >> gnu: Add ghc-csv. >> gnu: Add ghc-decimal. >> gnu: ghc-doctest: Update to 0.16.3. >> gnu: Add ghc-hspec-megaparsec. >> gnu: Add ghc-lucid. >> gnu: Add ghc-only. >> gnu: Add ghc-text-short. >> gnu: Add ghc-tabular. >> gnu: Add ghc-uglymemo. >> gnu: Add ghc-wizards. >> gnu: Add ghc-cassava. >> gnu: Add ghc-cassava-megaparsec. >> gnu: Add ghc-hledger-lib. >> gnu: Add hledger. >> >> gnu/packages/finance.scm | 63 ++++ >> gnu/packages/haskell-xyz.scm | 557 ++++++++++++++++++++++++++++++++++- >> 2 files changed, 608 insertions(+), 12 deletions(-) > > Awesome! I went through and tweaked some descriptions and wrapping and > pushed to master as e6bfb02eb79777b760031384d4a3c14239f7fb55. Unfortunately, some of these packages are the latest versions on Hackage, but we need to ensure that all Haskell packages are picked at versions corresponding to the currently supported version of LTSHaskell in Guix. We are behind the current LTSHaskell with our packages, so now we have the situation where we have packages that are *newer* than the latest LTSHaskell release and packages that are *older* than what the latest LTSHaskell release prescribes. We should fix this soon, because mixing Haskell packages from different LTS releases (or even ignoring the LTS releases in favour of the latest versions on Hackage) results in dependency hell for those users who want to use Guix for Haskell development. -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 01 16:09:53 2020 Received: (at 44174-done) by debbugs.gnu.org; 1 Nov 2020 21:09:53 +0000 Received: from localhost ([127.0.0.1]:38741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZKbp-0004Bx-Al for submit@debbugs.gnu.org; Sun, 01 Nov 2020 16:09:53 -0500 Received: from mail-pf1-f174.google.com ([209.85.210.174]:38941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZKbn-0004Bk-K8 for 44174-done@debbugs.gnu.org; Sun, 01 Nov 2020 16:09:52 -0500 Received: by mail-pf1-f174.google.com with SMTP id z3so2905393pfz.6 for <44174-done@debbugs.gnu.org>; Sun, 01 Nov 2020 13:09:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=TC7qAr5sjZoFuS7SQJoWFYRgXCFEIH14eLbYP0Goi1Y=; b=A22y4l6aBPDbydPqiwCG3aCwegwqw0b4aL7gPoFlTyMDDcDdlwK/KYqUDk/zCZqFbN lsFfJW4rdDXXHb58A8UcZu8r7YVTGwVT6/rvXcTjQriM0xC55ThxOS+ADCJ9RXm2j7qI UxYafYvhdPnNwP8pu8Cqvzv7qNo1uZy+uy5b0RcbpnPBOH+pwjAJK4Akc7gPRT1bDHXF njiDLvwzDhcSLxuufr+unCPJ1PO8KAyyP/04zb0f+OYYiSUxSOrOANlVcgeGSmB20OFj XO8c6l5l2srMAHowW+J7Ole7hDFMcdpb0I3KywLVmxgMBf5x/7rMaHPKNz5bydLWvJCQ +FSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TC7qAr5sjZoFuS7SQJoWFYRgXCFEIH14eLbYP0Goi1Y=; b=PAFNgHigPT/Muwh+yv8EfitfE96kdjoPO1q/ym3W64lzQ69MXR17NzONTkQ7fhsc6m yp4uMqki6LCPKcb/glQDiBSmp1QvgjxEh1f0fue+15eXKF3JfP1vXJe5bSNlXmk17U6K 1YXnkMPRnHe3CBgYznnirfTRTeHjxQBVkQoRvG8td5lIY6CeS/VJLkt6VLc7zwmtvoZM 0pfkQdVUlOEe/j99sFipSgJ3fqgzaWpn/ORe02wPAdqKBSGbZpad6s3FunBZ/t52dcVg fJlLWnmq6ibM7c5JZTJ8zvN4fQiwtWzoInIfFTcK/GbtyeAT6fWWmU/GZf3KgKUl4tNs 9aXQ== X-Gm-Message-State: AOAM532oxxAD5JrYBsTcpUAIt0OjzEJlkcD06uT4DiBM5EIygi4gz5eg IlQXMghCJrLAOk7MN4MPJTI= X-Google-Smtp-Source: ABdhPJwQnJ0VIxT93cXDRtEZjXU8HGODmxDAJ7F5oJK7/gz/gimCme4syATBoiOdeHaSh1Sy1Lb47Q== X-Received: by 2002:a17:90a:4a85:: with SMTP id f5mr14698548pjh.216.1604264985819; Sun, 01 Nov 2020 13:09:45 -0800 (PST) Received: from localhost ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id y141sm11573319pfb.17.2020.11.01.13.09.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Nov 2020 13:09:45 -0800 (PST) Date: Sun, 1 Nov 2020 13:09:43 -0800 From: Carlo Holl To: Ricardo Wurmus Subject: Re: bug#44174: [PATCH v2 00/15] Add hledger and its dependencies. Message-ID: <20201101210943.7f5cw56fafykgjmk@cehdev> References: <20201023074653.8885-1-carloholl@gmail.com> <20201101020236.1108-1-carloholl@gmail.com> <87a6w1xkmi.fsf@cbaines.net> <87eeldym1l.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: <87eeldym1l.fsf@elephly.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44174-done Cc: 44174-done@debbugs.gnu.org, Christopher Baines 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 (-) On 01.11.2020 19:22, Ricardo Wurmus wrote: > >Christopher Baines writes: > >>> Carlo Holl (15): >>> gnu: Add ghc-control-monad-free. >>> gnu: Add ghc-csv. >>> gnu: Add ghc-decimal. >>> gnu: ghc-doctest: Update to 0.16.3. >>> gnu: Add ghc-hspec-megaparsec. >>> gnu: Add ghc-lucid. >>> gnu: Add ghc-only. >>> gnu: Add ghc-text-short. >>> gnu: Add ghc-tabular. >>> gnu: Add ghc-uglymemo. >>> gnu: Add ghc-wizards. >>> gnu: Add ghc-cassava. >>> gnu: Add ghc-cassava-megaparsec. >>> gnu: Add ghc-hledger-lib. >>> gnu: Add hledger. >>> >>> gnu/packages/finance.scm | 63 ++++ >>> gnu/packages/haskell-xyz.scm | 557 ++++++++++++++++++++++++++++++++++- >>> 2 files changed, 608 insertions(+), 12 deletions(-) >> >> Awesome! I went through and tweaked some descriptions and wrapping and >> pushed to master as e6bfb02eb79777b760031384d4a3c14239f7fb55. > >Unfortunately, some of these packages are the latest versions on >Hackage, but we need to ensure that all Haskell packages are picked at >versions corresponding to the currently supported version of LTSHaskell >in Guix. We are behind the current LTSHaskell with our packages, so now >we have the situation where we have packages that are *newer* than the >latest LTSHaskell release and packages that are *older* than what the >latest LTSHaskell release prescribes. > >We should fix this soon, because mixing Haskell packages from different >LTS releases (or even ignoring the LTS releases in favour of the latest >versions on Hackage) results in dependency hell for those users who want >to use Guix for Haskell development. > >-- >Ricardo Ricardo, Thanks for the heads-up. I can have a go at submitting a patch series to deal with this if you like. Since this would involve a downgrade, is there anything I need to watch out for? -- Carlo Holl carloholl@gmail.com From unknown Fri Aug 15 12:53:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 30 Nov 2020 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator