From unknown Sat Sep 06 02:33:10 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#44954 <44954@debbugs.gnu.org> To: bug#44954 <44954@debbugs.gnu.org> Subject: Status: [PATCH] Add hledger-web and dependencies. Reply-To: bug#44954 <44954@debbugs.gnu.org> Date: Sat, 06 Sep 2025 09:33:10 +0000 retitle 44954 [PATCH] Add hledger-web and dependencies. reassign 44954 guix-patches submitter 44954 paul severity 44954 normal tag 44954 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:31:03 2020 Received: (at submit) by debbugs.gnu.org; 29 Nov 2020 22:31:03 +0000 Received: from localhost ([127.0.0.1]:52829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVDj-0002Nb-Fl for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:31:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:33752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVDh-0002NA-US for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:31:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVDh-0007rz-Mg for guix-patches@gnu.org; Sun, 29 Nov 2020 17:31:01 -0500 Received: from latitanza.investici.org ([82.94.249.234]:29743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVDe-0004fc-24 for guix-patches@gnu.org; Sun, 29 Nov 2020 17:31:01 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjkN4krFz8sgc for ; Sun, 29 Nov 2020 22:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689052; bh=1r8NzawVOIBdKhS/FicK79i9OYR/8HATeLqZ3hOjfYM=; h=To:From:Subject:Date:From; b=O/ZhzyLTBdBz811fE4eGU3ufreQC5O0PNDFRwLmZYqvpMpeiTg1sOYLniPdbv/27C Qtkoq2tRuckLRwLURUZTK8ryBLYpZmLmX+o6Gc1aq965noiZJVbVnyY+TTa7QsnFdl xqZeM2em9EELqLHbJnaTvmIuMcnBFXkOKx0PPlwY= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjkN3tbRz8sfY for ; Sun, 29 Nov 2020 22:30:52 +0000 (UTC) To: guix-patches@gnu.org From: paul Subject: [PATCH] Add hledger-web and dependencies. Message-ID: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> Date: Sun, 29 Nov 2020 23:30:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: pass client-ip=82.94.249.234; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Dear Guixers, I'm sending a patch series to add hledger-web, its dependencies and to update hledger, ghc-hledger-lib and ghc-doctest. Thank you for your time, Giacomo From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:21 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:21 +0000 Received: from localhost ([127.0.0.1]:52838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFw-0002RX-Tz for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:21 -0500 Received: from latitanza.investici.org ([82.94.249.234]:56319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFu-0002R0-VK for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:19 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4Ckjn95FQBz8sgc; Sun, 29 Nov 2020 22:33:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689197; bh=WfsPigOTmnTFh6vj/kaVpdiaQvk+veKAh2BL4YiiIE8=; h=From:To:Cc:Subject:Date:From; b=ZHVswBQSK5jB4S4kYkRp7krbwvRl3p6ueDfXV9AW8HDe6t2LxvOeEc6SULVxddkup AxyuIOdwJURksh9I/6EFNZPUY2fsfIEYdHAPxTZpI4bu4r5B/AK1XDb4N47yUPg+dw plKri/o6mDlkUX3Lhgv7t8nxxXDKa4Adq6B2RSQ8= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Ckjn92zKVz8sgL; Sun, 29 Nov 2020 22:33:17 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 01/12] gnu: ghc-doctest: Update to 0.16.3. Date: Sun, 29 Nov 2020 23:32:50 +0100 Message-Id: <20201129223301.19210-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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. --- gnu/packages/haskell-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 1655b88cb0..67ab4f966f 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -3551,7 +3551,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) @@ -3561,7 +3561,7 @@ 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 -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:21 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:21 +0000 Received: from localhost ([127.0.0.1]:52840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFx-0002Ra-5W for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:21 -0500 Received: from latitanza.investici.org ([82.94.249.234]:64131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFv-0002R1-3W for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:19 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnB2z3Mz8sgl; Sun, 29 Nov 2020 22:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689198; bh=dUC3MhGZLxOR3CKf9C0sXkt2mMlMgKVVHZoMNjzPyHI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LBO21LxpMbFWlGVjO1vVxWxkDRz2yqvkHxXF6ZTBJon8rU33s1IiWrFdHXl+AZ8c8 BPAnO9zPF7aRp06zev/5zblemhgSjDLyPjbtU1qMMj7QgfAKrx1J75KbGUST0OVmTB ieaBhCwciHb6iA6LKhvum/2NvmdtJfljLlOTGNYM= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Ckjn96NVYz8sgL; Sun, 29 Nov 2020 22:33:17 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 02/12] gnu: ghc-yesod-core: Update to 1.6.17. Date: Sun, 29 Nov 2020 23:32:51 +0100 Message-Id: <20201129223301.19210-2-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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-web.scm (ghc-yesod-core): Update to 1.6.17. --- gnu/packages/haskell-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 9a149187b6..589d2d3e11 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -1258,7 +1258,7 @@ avoid any issues with characters.") (define-public ghc-yesod-core (package (name "ghc-yesod-core") - (version "1.6.16.1") + (version "1.6.17") (source (origin (method url-fetch) @@ -1267,7 +1267,7 @@ avoid any issues with characters.") "yesod-core-" version ".tar.gz")) (sha256 (base32 - "0a0yv7wkwvb0n6iia532y9nzrirgnm09pjc8hpm0lx4ff609pgd2")))) + "1i31xx9ili9r9il0mqpb04pgnq67rfsfr61pw9xmc163akgdfi4l")))) (build-system haskell-build-system) (inputs `(("ghc-wai" ,ghc-wai) ("ghc-extra" ,ghc-extra) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:22 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:22 +0000 Received: from localhost ([127.0.0.1]:52843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFx-0002Rj-El for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:22 -0500 Received: from latitanza.investici.org ([82.94.249.234]:55943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFv-0002R3-9f for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:19 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnB5nVJz8sgp; Sun, 29 Nov 2020 22:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689198; bh=ahiEw+0lOi3jCkadlamEPRleTnBa/O4KNvwr4XtftDM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IVM1hb1fSQucvt5wOWUCVz1I/Frcj7zTpxQ+6dEBRRS7H6kE4ESoLwZbcrAYDOn/3 g3ttTqOWFIFFXVOuWpYpmdMTsQmIkvZm7VERGDsOhbsNDjUe5dUrzxfvLiglXkaXU5 RkVvCWNVbZrX0vR3yuLGUojTjdkJiaquhriGsCNM= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnB3v0Dz8sgL; Sun, 29 Nov 2020 22:33:18 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 03/12] gnu: Add ghc-yesod-test. Date: Sun, 29 Nov 2020 23:32:52 +0100 Message-Id: <20201129223301.19210-3-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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-web.scm (ghc-yesod-test): New variable. --- gnu/packages/haskell-web.scm | 53 ++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 589d2d3e11..a186779e72 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2024,3 +2024,56 @@ Bower's package manifest file, bower.json.") Authoring and Versioning (WebDAV) extensions to HTTP as well an executable, @command{hdav}, for command-line operation.") (license license:gpl3))) + +(define-public ghc-yesod-test + (package + (name "ghc-yesod-test") + (version "1.6.10") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/yesod-test/yesod-test-" + version + ".tar.gz")) + (sha256 + (base32 + "0vw6yg5b22a6flbl822z23k0l23as5mmxjcdnj2zgjjv5i713yfx")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-aeson" ,ghc-aeson) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-conduit" ,ghc-conduit) + ("ghc-cookie" ,ghc-cookie) + ("ghc-hspec-core" ,ghc-hspec-core) + ("ghc-html-conduit" ,ghc-html-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-network" ,ghc-network) + ("ghc-memory" ,ghc-memory) + ("ghc-pretty-show" ,ghc-pretty-show) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-xml-conduit" ,ghc-xml-conduit) + ("ghc-xml-types" ,ghc-xml-types) + ("ghc-yesod-core" ,ghc-yesod-core))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-yesod-form" ,ghc-yesod-form) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-unliftio-core" ,ghc-unliftio-core))) + (home-page "http://www.yesodweb.com") + (synopsis + "Integration testing for WAI/Yesod Applications") + (description + "This package's main goal is to encourage integration +and system testing of web applications by making everything +easy to test. Tests are like browser sessions that +keep track of cookies and the last visited page. You +can perform assertions on the content of HTML responses +using CSS selectors.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:23 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:23 +0000 Received: from localhost ([127.0.0.1]:52846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFy-0002Rx-2b for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:22 -0500 Received: from latitanza.investici.org ([82.94.249.234]:42843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFv-0002R9-Pl for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:20 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnC2FhWz8sgt; Sun, 29 Nov 2020 22:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689199; bh=+JIQgc36KnLlV8peo9S17kAz53zxsZH/Kmc0ufn4dI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AGbkOKfM5p8l/uaPxgdwIJhapyeF+9wk7PQrbh6YgfEHwgjZesr7Ddnh9L5A+OQws lAad1mG2zp7trPqcozhEXBQwRGtI1hErmJkQry0DWxkAcfWm+PN2M1M3H/B6b0HaL6 Sy5DyQsOcJ8dgpC8txbN40IQfOsUHt65bZ8DAL/A= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnC0ZTpz8sgL; Sun, 29 Nov 2020 22:33:18 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 04/12] gnu: Add ghc-wai-app-static. Date: Sun, 29 Nov 2020 23:32:53 +0100 Message-Id: <20201129223301.19210-4-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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-web.scm (ghc-wai-app-static): New variable. --- gnu/packages/haskell-web.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index a186779e72..424a734900 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2077,3 +2077,55 @@ keep track of cookies and the last visited page. You can perform assertions on the content of HTML responses using CSS selectors.") (license license:expat))) + +(define-public ghc-wai-app-static + (package + (name "ghc-wai-app-static") + (version "3.1.7.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "wai-app-static/wai-app-static-" + version + ".tar.gz")) + (sha256 + (base32 + "138gd5482psq0wbm8s1az672lksi7vbavq6ayiyjkliivf6xpry8")))) + (build-system haskell-build-system) + (inputs + `(("ghc-wai" ,ghc-wai) + ("ghc-http-types" ,ghc-http-types) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-memory" ,ghc-memory) + ("ghc-http-date" ,ghc-http-date) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-mime-types" ,ghc-mime-types) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-zlib" ,ghc-zlib) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative) + ("ghc-warp" ,ghc-warp))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-network" ,ghc-network) + ("ghc-temporary" ,ghc-temporary) + ("ghc-mockery" ,ghc-mockery))) + (arguments + `(#:cabal-revision + ("1" + "1q7zwjasysgbp9rdp75535igd7s6mhi2bnl4pzsn6vbyfw3qnsxd"))) + (home-page + "http://www.yesodweb.com/book/web-application-interface") + (synopsis "WAI application for static serving") + (description + "This package provides a WAI application for static serving +provides some helper functions and datatypes for use outside of WAI.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:34 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:34 +0000 Received: from localhost ([127.0.0.1]:52853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGA-0002T2-0Y for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:34 -0500 Received: from latitanza.investici.org ([82.94.249.234]:51675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFw-0002RK-5G for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:20 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnC4zMTz8sgc; Sun, 29 Nov 2020 22:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689199; bh=CF4TOa86ShJ2Kpqm3kkWlbdq9SYwsoq98fh+fkIwnrg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=otdzHTS1F/DMrsZy3nVKzghxUn8h8wh/QK99hfzEiGsV05N6v2pB2luYjXQW+3OI3 Q4Bvc77BmiwK39trMDZkB3ZtyLdvlbAB9f8jKmE2Dkg22oen5/JxyRyIvXanxofaaT MO6SbtHx4IrzZy95VqsSlIpqEtjShmz9uLvSHxOc= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnC30DMz8sgL; Sun, 29 Nov 2020 22:33:19 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 05/12] gnu: Add ghc-cryptonite-conduit. Date: Sun, 29 Nov 2020 23:32:54 +0100 Message-Id: <20201129223301.19210-5-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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-crypto.scm (ghc-cryptonite-conduit): New variable. --- gnu/packages/haskell-crypto.scm | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm index c92dec9932..1d56327d29 100644 --- a/gnu/packages/haskell-crypto.scm +++ b/gnu/packages/haskell-crypto.scm @@ -838,3 +838,42 @@ implementation of SSL.") (description "This library contains io-streams routines for secure networking using OpenSSL (by way of HsOpenSSL).") (license license:bsd-3))) + +(define-public ghc-cryptonite-conduit + (package + (name "ghc-cryptonite-conduit") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cryptonite-conduit/cryptonite-conduit-" + version + ".tar.gz")) + (sha256 + (base32 + "1bldcmda4xh52mw1wfrjljv8crhw3al7v7kv1j0vidvr7ymnjpbh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-memory" ,ghc-memory) + ("ghc-resourcet" ,ghc-resourcet))) + (native-inputs + `(("ghc-conduit-combinators" + ,ghc-conduit-combinators) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (arguments + `(#:cabal-revision + ("1" + "1hh2nzfz4qpxgivfilgk4ll416lph8b2fdkzpzrmqfjglivydfmz"))) + (home-page + "https://github.com/haskell-crypto/cryptonite-conduit") + (synopsis "Cryptonite bridge for conduit") + (description + "This package provides a conduit version for hash and hmac.") + (license license:bsd-3))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:34 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:34 +0000 Received: from localhost ([127.0.0.1]:52855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGA-0002T4-FB for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:34 -0500 Received: from latitanza.investici.org ([82.94.249.234]:38895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFx-0002RW-4j for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:21 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnD4gQTz8sgl; Sun, 29 Nov 2020 22:33:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689200; bh=ho5UMOjcmZvx13qdMjesOKtPizfVlD9s3pvCZh4z0pk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O+tE+VplNfS9QqdhZYTNMlUo2IZea5lX2g9MLbtY3J42/LJnDozcuq9t6qaHOTFsw O11hkXc8JrGND62UoJA1jEyshqpMs2+cszbjLKwX5vtO/p2RtocbKQKLiap5d2fiL6 jrpITdUaRKlT0XtEv3n7cmyR+0a7GBn2TE0rqD80= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnC5vbkz8sgL; Sun, 29 Nov 2020 22:33:19 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 06/12] gnu: Add ghc-hjsmin. Date: Sun, 29 Nov 2020 23:32:55 +0100 Message-Id: <20201129223301.19210-6-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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-web.scm (ghc-hjsmin): New variable. --- gnu/packages/haskell-web.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 424a734900..e00afbaf8c 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2129,3 +2129,35 @@ using CSS selectors.") "This package provides a WAI application for static serving provides some helper functions and datatypes for use outside of WAI.") (license license:expat))) + +(define-public ghc-hjsmin + (package + (name "ghc-hjsmin") + (version "0.2.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hjsmin/hjsmin-" + version + ".tar.gz")) + (sha256 + (base32 + "1r2p5rjdjr25j3w4s57q5hxw2c3ymw12x7ms18yvglnq2ivr9fc1")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ;there are none + (inputs + `(("ghc-language-javascript" + ,ghc-language-javascript) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative))) + (native-inputs `(("ghc-extra" ,ghc-extra))) + (home-page "https://github.com/erikd/hjsmin") + (synopsis + "Haskell implementation of a javascript minifier") + (description + "This package reduces size of javascript files by stripping +out extraneous whitespace and other syntactic elements, without +changing the semantics.") + (license license:bsd-3))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:35 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:35 +0000 Received: from localhost ([127.0.0.1]:52857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGA-0002TC-Mj for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:34 -0500 Received: from latitanza.investici.org ([82.94.249.234]:43231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFx-0002Rg-Hl for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:22 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnF0WrZz8sgc; Sun, 29 Nov 2020 22:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689201; bh=h1ur9gl2uIEdeSTp2UXJiCekZN2s7q8KqvIEbRdxt0U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ksZRXyGCDINmFZDoqrj/s0X25XVr0NG8D/6wKrDe6L9Tkll9CDesD3TxS/54Fh9L2 8BcEkNZ+J3CVNSyt3+SscHAJzjbTiIfThq42IaBCkBvMaWnCfGuM9PHWZCaS2GYKc8 ASuRRXOINhmUP5VG3Wnda2PR1ThHRMYnJR5QJjLE= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnD5YH8z8sgL; Sun, 29 Nov 2020 22:33:20 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 07/12] gnu: Add ghc-yesod-static. Date: Sun, 29 Nov 2020 23:32:56 +0100 Message-Id: <20201129223301.19210-7-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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-web.scm (ghc-yesod-static): New variable. --- gnu/packages/haskell-web.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index e00afbaf8c..12cd8a2a0d 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2161,3 +2161,55 @@ provides some helper functions and datatypes for use outside of WAI.") out extraneous whitespace and other syntactic elements, without changing the semantics.") (license license:bsd-3))) + +(define-public ghc-yesod-static + (package + (name "ghc-yesod-static") + (version "1.6.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/yesod-static/yesod-static-" + version + ".tar.gz")) + (sha256 + (base32 + "18f5hm9ncvkzl8bkn39cg841z0k5iqs5w45afsyk9y6k98pjd54p")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-conduit" ,ghc-conduit) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-cryptonite-conduit" + ,ghc-cryptonite-conduit) + ("ghc-css-text" ,ghc-css-text) + ("ghc-data-default" ,ghc-data-default) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-hashable" ,ghc-hashable) + ("ghc-hjsmin" ,ghc-hjsmin) + ("ghc-http-types" ,ghc-http-types) + ("ghc-memory" ,ghc-memory) + ("ghc-mime-types" ,ghc-mime-types) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-app-static" ,ghc-wai-app-static) + ("ghc-yesod-core" ,ghc-yesod-core))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-yesod-test" ,ghc-yesod-test) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-hunit" ,ghc-hunit) + ("ghc-rio" ,ghc-rio))) + (home-page "http://www.yesodweb.com/") + (synopsis + "Static file serving subsite for Yesod") + (description + "This package provides static file serving +subsite for Yesod Web Framework.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:35 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:35 +0000 Received: from localhost ([127.0.0.1]:52859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGA-0002TJ-Vq for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:35 -0500 Received: from latitanza.investici.org ([82.94.249.234]:44369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFy-0002Rv-0T for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:22 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnF3rRBz8sgt; Sun, 29 Nov 2020 22:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689201; bh=+6f/QTCm6grf+PgywjsE58vafKM/sWVOTM4GC1kXkQE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XV76r3DeVJx8cSrcgNSCg/HH5xZA6FyH/S6jpo0SCS2c8PzNyGocBVSFJo5lZ60Fw 5K89RZwv06ziu56cVi4nOIogx0SOpQLL5uocernXOV1QitPTZ8xJd7xOn7PDB17tWP iXXSiavH1KixhkbUC9reh9l4aEUKx4GnV/X2HRE4= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnF1PPnz8sgL; Sun, 29 Nov 2020 22:33:21 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 08/12] gnu: Add ghc-wai-handler-launch. Date: Sun, 29 Nov 2020 23:32:57 +0100 Message-Id: <20201129223301.19210-8-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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-web.scm (ghc-wai-handler-launch): New variable. --- gnu/packages/haskell-web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 12cd8a2a0d..ae923dc6f1 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2213,3 +2213,34 @@ changing the semantics.") "This package provides static file serving subsite for Yesod Web Framework.") (license license:expat))) + +(define-public ghc-wai-handler-launch + (package + (name "ghc-wai-handler-launch") + (version "3.0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wai-handler-launch/wai-handler-launch-" + version + ".tar.gz")) + (sha256 + (base32 + "1ifqgyc1ccig5angh5l1iq7vyms4lvi8wzvysg5dw82nml49n02m")))) + (build-system haskell-build-system) + (inputs + `(("ghc-wai" ,ghc-wai) + ("ghc-warp" ,ghc-warp) + ("ghc-http-types" ,ghc-http-types) + ("ghc-streaming-commons" ,ghc-streaming-commons) + ("ghc-async" ,ghc-async))) + (home-page + "http://hackage.haskell.org/package/wai-handler-launch") + (synopsis + "Launch a web app in the default browser") + (description + "This package handles cross-platform launching and inserts +Javascript code to ping the server. When the server no longer +receives pings, it shuts down.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:35 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:35 +0000 Received: from localhost ([127.0.0.1]:52861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGB-0002TQ-7g for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:35 -0500 Received: from latitanza.investici.org ([82.94.249.234]:42843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFy-0002R9-3P for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:23 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnF6PQcz8sgp; Sun, 29 Nov 2020 22:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689201; bh=og4sw3gcD3yDlx77VCI8V5mwnQMYsrlMIZgLyKxDqY4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MhPc06RL9taO4aeGdHKpGckSe3dyO0aWxuzJP8K7l8R3oUQzXWXDt8fddB7jNff9n N10kABkAyNs1p7rHmAaGcXJD4uRqmHmoe3u/ZFb49bCeAFio37m16djTFMfCur8r/u nqil7jckcHBTQguBI56VCrcqdHaQ15Zvr9sPBvDs= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnF4frCz8sgL; Sun, 29 Nov 2020 22:33:21 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 09/12] gnu: Add ghc-wai-cors. Date: Sun, 29 Nov 2020 23:32:58 +0100 Message-Id: <20201129223301.19210-9-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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-web.scm (ghc-wai-cors): New variable. --- gnu/packages/haskell-web.scm | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index ae923dc6f1..fc50f5d333 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2244,3 +2244,47 @@ subsite for Yesod Web Framework.") Javascript code to ping the server. When the server no longer receives pings, it shuts down.") (license license:expat))) + +(define-public ghc-wai-cors + (package + (name "ghc-wai-cors") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wai-cors/wai-cors-" + version + ".tar.gz")) + (sha256 + (base32 + "10gv3jjlkcb13031frr818p56v2s0qf6dqjsfpwlhwdxdssvx5r5")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ;tests require PhantomJS + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base-unicode-symbols" + ,ghc-base-unicode-symbols) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-http-types" ,ghc-http-types) + ("ghc-wai" ,ghc-wai))) + (native-inputs + `(("ghc-network" ,ghc-network) + ("ghc-wai-websockets" ,ghc-wai-websockets) + ("ghc-warp" ,ghc-warp) + ("ghc-websockets" ,ghc-websockets) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-wai-websockets" ,ghc-wai-websockets) + ("ghc-warp" ,ghc-warp) + ("ghc-websockets" ,ghc-websockets))) + (home-page + "https://github.com/larskuhtz/wai-cors") + (synopsis "CORS for WAI") + (description + "This package provides an implemenation of Cross-Origin +resource sharing (CORS) for Wai that aims to be compliant with +@url{http://www.w3.org/TR/cors}.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:35 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:35 +0000 Received: from localhost ([127.0.0.1]:52863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGB-0002TX-Ii for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:35 -0500 Received: from latitanza.investici.org ([82.94.249.234]:32595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFy-0002SB-SB for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:23 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnG2nLtz8sgc; Sun, 29 Nov 2020 22:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689202; bh=lzIQL731k93DLyeqzE8D61oH9MZ3B2iYH87pKG1BunQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ftJqGRvDLwdkh8cpfVQI6gms8iaTi/6A/kOK/DsCVOqBW2GzFP5XSme/a4zBDwqI6 qDY+4cPzKRgXGNeszEt9bdSxjKD3DH89UTEGJo1fxnjauCvYJ8CvIrHICDxxcUIkeY kpKxbZZIDcRxYj/Hd4bCc5Bhc28J3ckLBZdnxD0U= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnG0L4nz8sgl; Sun, 29 Nov 2020 22:33:21 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 10/12] gnu: ghc-hledger-lib: Update to 1.19.1. Date: Sun, 29 Nov 2020 23:32:59 +0100 Message-Id: <20201129223301.19210-10-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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): Update to 1.19.1. [inputs]: Add ghc-aeson, ghc-aeson-pretty, ghc-ansi-terminal, gh-fgl, ghc-tasty, ghc-tasty-hunit, ghc-timeit. --- gnu/packages/haskell-xyz.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 67ab4f966f..96e1cb5495 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -5866,7 +5866,7 @@ accessed or modified.") (define-public ghc-hledger-lib (package (name "ghc-hledger-lib") - (version "1.14.1") + (version "1.19.1") (source (origin (method url-fetch) @@ -5876,10 +5876,12 @@ accessed or modified.") ".tar.gz")) (sha256 (base32 - "1w6qp01cak6spnpldm01czlm6i5a2alw47w76875l2nagrc4rfp2")))) + "0py11011r358nmnvwwkc8mlx6mpy36jm8sqlr4i8ihx3x0zjdgya")))) (build-system haskell-build-system) (inputs - `(("ghc-ansi-terminal" ,ghc-ansi-terminal) + `(("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) @@ -5890,6 +5892,7 @@ accessed or modified.") ("ghc-decimal" ,ghc-decimal) ("ghc-easytest" ,ghc-easytest) ("ghc-extra" ,ghc-extra) + ("ghc-fgl" ,ghc-fgl) ("ghc-file-embed" ,ghc-file-embed) ("ghc-glob" ,ghc-glob) ("ghc-hashtables" ,ghc-hashtables) @@ -5902,6 +5905,9 @@ accessed or modified.") ("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-utf8-string" ,ghc-utf8-string))) (native-inputs `(("ghc-doctest" ,ghc-doctest))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:36 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:36 +0000 Received: from localhost ([127.0.0.1]:52865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGB-0002Tf-Sm for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:36 -0500 Received: from latitanza.investici.org ([82.94.249.234]:37043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFz-0002SR-Dh for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:23 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnG6lQ9z8sgt; Sun, 29 Nov 2020 22:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689202; bh=qkzvTNcISy9Dy/d0kczn+dxpa+rUKKM9k1u1de2G5nA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uIoJlx1lBP6V4jNsLU/r5S0rOkxMOSQRRAWFmVkHNO2bn3Yh8XiHLKhMvuLCYY7sV slQer7c7fBvd/XVTSuV1cM8VRfPUM7kN509t5soTOnYH3mJL7aVA0ozRPaqtQXG+0C c7zwlFA5iRWJS/wXp8v/b/mVb5qe6FX2F+tfVR68= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnG3fhMz8sgl; Sun, 29 Nov 2020 22:33:22 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 11/12] gnu: hledger: Update to 1.19.1. Date: Sun, 29 Nov 2020 23:33:00 +0100 Message-Id: <20201129223301.19210-11-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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): Update to 1.19.1. --- gnu/packages/finance.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index a79c70d1e0..b02d39fa78 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -186,7 +186,7 @@ line client and a client based on Qt.") (define-public hledger (package (name "hledger") - (version "1.14.2") + (version "1.19.1") (source (origin (method url-fetch) @@ -196,7 +196,7 @@ line client and a client based on Qt.") ".tar.gz")) (sha256 (base32 - "1si9zqparkdq77yji87lhcsrf11fr3gisqwsv82cabhrhc36x6l4")))) + "0wfsyf2q1kf90mj3lxs0m5ghj153axmpkc8xfy12vkz5imnyphfm")))) (build-system haskell-build-system) (inputs `(("ghc-ansi-terminal" ,ghc-ansi-terminal) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:33:36 2020 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:36 +0000 Received: from localhost ([127.0.0.1]:52867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGC-0002Tm-6b for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:36 -0500 Received: from latitanza.investici.org ([82.94.249.234]:42843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFz-0002R9-HN for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:23 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnH2QtRz8sgp; Sun, 29 Nov 2020 22:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689203; bh=bcrfkfTNuWQ7cTxQUMOycFr6qtPulFSerd02KFnMibM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iQXOj6G6TY2UVEfBi9Oky3KK6BV8EiCpWgqdlAFIb+LVjpC5GGBdYOGsGCnKBqAnY meXaH+kBnBraSFWJ5ILiyOz9701numcbxrJKAvuozOJcP/fT9NqrNknJ+7uhyMZAy+ NqRAkubkmmZF/5wn/edVjA2+q69PH0Xp9S9/I93U= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnH0ZDjz8sgl; Sun, 29 Nov 2020 22:33:22 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 12/12] gnu: Add hledger-web. Date: Sun, 29 Nov 2020 23:33:01 +0100 Message-Id: <20201129223301.19210-12-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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-web): New variable. --- gnu/packages/finance.scm | 61 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index b02d39fa78..4dee1b8746 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1648,3 +1648,64 @@ generate a variety of reports from them, and provides a web interface.") (synopsis "Emacs mode for beancount") (description "Emacs-beancount is an Emacs mode for the Beancount accounting tool."))) + +(define-public hledger-web + (package + (name "hledger-web") + (version "1.19.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hledger-web/hledger-web-" + version + ".tar.gz")) + (sha256 + (base32 + "03wak0dgxhf7y2mc2az4xcypgz1z1lf65vn6kj98z063pmlwp1b0")))) + (build-system haskell-build-system) + (inputs + `(("ghc-decimal" ,ghc-decimal) + ("ghc-aeson" ,ghc-aeson) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-clientsession" ,ghc-clientsession) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-data-default" ,ghc-data-default) + ("ghc-extra" ,ghc-extra) + ("ghc-hjsmin" ,ghc-hjsmin) + ("hledger" ,hledger) + ("ghc-hledger-lib" ,ghc-hledger-lib) + ("ghc-http-client" ,ghc-http-client) + ("ghc-http-conduit" ,ghc-http-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-network" ,ghc-network) + ("ghc-shakespeare" ,ghc-shakespeare) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-cors" ,ghc-wai-cors) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-wai-handler-launch" + ,ghc-wai-handler-launch) + ("ghc-warp" ,ghc-warp) + ("ghc-yaml" ,ghc-yaml) + ("ghc-yesod" ,ghc-yesod) + ("ghc-yesod-core" ,ghc-yesod-core) + ("ghc-yesod-form" ,ghc-yesod-form) + ("ghc-yesod-static" ,ghc-yesod-static))) + (home-page "https://hledger.org") + (synopsis + "Web-based user interface for the hledger accounting system") + (description + "This package provides a simple web-based user interface for +the hledger accounting system, providing a more modern UI than +the command-line or terminal interfaces. It can be used as a local +single-user UI, or as a multi-user UI for viewing/adding/editing on the web.") + (license license:gpl3))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 11:00:04 2020 Received: (at 44954) by debbugs.gnu.org; 3 Dec 2020 16:00:05 +0000 Received: from localhost ([127.0.0.1]:41462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkr1Y-0007W9-LV for submit@debbugs.gnu.org; Thu, 03 Dec 2020 11:00:04 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:34853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkr1W-0007V8-1g for 44954@debbugs.gnu.org; Thu, 03 Dec 2020 11:00:03 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 84EB95C00AF; Thu, 3 Dec 2020 10:59:56 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 03 Dec 2020 10:59:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=6EYBVcbUr5Er365uiZyiX+CGt2lLtq+y9Q5w0tG60 Uk=; b=FtHH66d/0MwNgVW1u2xbZYeBW8QMYekZABNXKT4zfZ30EnmxQs51BNM0v 1zehJb6NnJtWczcnAhSatAVSdJJPGDM9sZVdHRBp3yT2hFrLcA9UzQfroAKU3a73 AovB6LT4F4lZgSXeEd6x9itwJOIWhZDCn2H5vh6XgNOpwlODAbeXT93yD3XUtRmo n4b1i/q9FfuHTbMe/EhGiimLk7BKsFzICi7WWJTh0AzuElEByAmPaO9EsPgnE7k5 UU3kmY08rzx9fysWAn3t9shsjWrdVi0B0Tlk2d229XANBxC4/DXahhELnbHQqNYx uQb7bLX3B28uUYouwQcq0XLBcbH7g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeiiedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgfgsehtqh ertddtreejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvght sehnghihrhhordgtohhmqeenucggtffrrghtthgvrhhnpedvgfdtveetlefhuddvkeevue fhteevhfejuddvieffgfeuhffhieekudffgeffveenucffohhmrghinhepshhtrggtkhgr ghgvrdhorhhgnecukfhppeejgedrudduiedrudekiedrgeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhplhgvthesnhhghihrohdr tghomh X-ME-Proxy: Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id A7F131080069; Thu, 3 Dec 2020 10:59:55 -0500 (EST) From: Timothy Sample To: paul Subject: Re: [bug#44954] [PATCH] Add hledger-web and dependencies. References: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> Date: Thu, 03 Dec 2020 10:59:55 -0500 In-Reply-To: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> (paul's message of "Sun, 29 Nov 2020 23:30:51 +0100") Message-ID: <875z5iubgk.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44954 Cc: 44954@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.7 (-) Hi Giacomo, paul writes: > I'm sending a patch series to add hledger-web, its dependencies and to > update hledger, ghc-hledger-lib and ghc-doctest. Thanks for the patches! Currently, we are using GHC 8.6.5 as our main Haskell compiler, and then following the Stackage LTS Haskell 14.27 package set for package versions. Based on that, ghc-doctest, ghc-yesod-test, ghc-wai-app-static, ghc-yesod-static, ghc-hledger-lib, hledger, and hledger-web are too recent. Also, strangely, ghc-yesod-core is too old. This is probably not your fault! On older versions of Guix, using the =E2=80=9Cstackage=E2=80=9D importer would yield packages for the most recen= t version of LTS Haskell. This was fixed about a month ago. Now the importer will pick the correct versions, and running =E2=80=9Cguix = lint=E2=80=9D on your packages will flag any Haskell version problems. Would you be willing to fix the versions and send an updated patch series? -- Tim From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:15:43 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:15:43 +0000 Received: from localhost ([127.0.0.1]:45847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGYR-0008TW-95 for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:15:43 -0500 Received: from confino.investici.org ([212.103.72.250]:41095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGYO-0008TN-Ic for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:15:41 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Cnj8p5FCXz12jl; Fri, 4 Dec 2020 19:15:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109338; bh=wQxruX2lb8PqnmDAWzGZgei4f7Ui0kfbNjzvjTQyb/c=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=fxA/SmAEpM1GxtXF9m//VeD3tW6OtY7lyERSXtdc/R3AUrau0lq0LDphd43SH4jj9 DDhTmQRyd+lKh4eG1Qyf6chb6lYy5c5cn3WaKtpTsO3jfs8hNhR473dbt9VwdXYKKW kH4H0sWOBp41x8b7gpmnCQDyjfZrTX4F+iA5zozA= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj8p4V8Nz12jj; Fri, 4 Dec 2020 19:15:38 +0000 (UTC) Subject: Re: [bug#44954] [PATCH] Add hledger-web and dependencies. To: Timothy Sample References: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> <875z5iubgk.fsf@ngyro.com> From: paul Message-ID: <533e8db8-e14a-1da1-e018-c61000cd6629@autistici.org> Date: Fri, 4 Dec 2020 20:15:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.5.0 MIME-Version: 1.0 In-Reply-To: <875z5iubgk.fsf@ngyro.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: 44954@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 (-) Dear Tim, On 12/3/20 4:59 PM, Timothy Sample wrote: > Hi Giacomo, > > paul writes: > >> I'm sending a patch series to add hledger-web, its dependencies and to >> update hledger, ghc-hledger-lib and ghc-doctest. > Thanks for the patches! > > Currently, we are using GHC 8.6.5 as our main Haskell compiler, and then > following the Stackage LTS Haskell 14.27 package set > for package versions. > > Based on that, ghc-doctest, ghc-yesod-test, ghc-wai-app-static, > ghc-yesod-static, ghc-hledger-lib, hledger, and hledger-web are too > recent. Also, strangely, ghc-yesod-core is too old. > > This is probably not your fault! On older versions of Guix, using the > “stackage” importer would yield packages for the most recent version of > LTS Haskell. This was fixed about a month ago. > > Now the importer will pick the correct versions, and running “guix lint” > on your packages will flag any Haskell version problems. > > Would you be willing to fix the versions and send an updated patch > series? I apologize for this inconvenient, this is definitely my fault since I imported the packages with guix import hackage -r hledger-web I'm not an expert in Haskell so I didn't know about the difference between Hackage and Stackage and it's repercussions on Guix packaging. I'm sending an updated patch series to fix the versions. Thank you for your time, Giacomo From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:16:26 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:27 +0000 Received: from localhost ([127.0.0.1]:45855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZ8-0008VS-JZ for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:26 -0500 Received: from [198.167.222.108] (port=36763 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZ5-0008Ui-QX for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:24 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9Y0K8Cz6vXZ; Fri, 4 Dec 2020 19:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109377; bh=ikprcKgTkgsbI6iAQuiMC+Zz65fzU1/foky3DmXX6RE=; h=From:To:Cc:Subject:Date:From; b=GUHlASvSOOjoMnOSHhcjFVYJuBh1WCYlUCrr4EU2q3wHmQas4ndbLY/6qQkoh91iT MYLB2hs7x5Lp0awlfFiiqVwB99qhDtqKZKAg3EJfjvYl8Oz+x08yDrefCpd6Ky/mJV +FTOTslfAboOYXm4Vkdsnab1JaoM2Jykr+DpgNmc= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9X5BQcz6vXR; Fri, 4 Dec 2020 19:16:16 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 1/9] gnu: ghc-yesod-core: Update to 1.6.17.2. Date: Fri, 4 Dec 2020 20:15:37 +0100 Message-Id: <20201204191545.24772-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/haskell-web.scm (ghc-yesod-core): Update to 1.6.17.2. --- gnu/packages/haskell-web.scm | 57 ++++++++++++++++++++++++++++++++++-- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 9a149187b6..0571076c49 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -1258,7 +1258,7 @@ [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.167.222.108 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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: 0.3 (/) * gnu/packages/haskell-web.scm (ghc-yesod-core): Update to 1.6.17.2. --- gnu/packages/haskell-web.scm | 57 ++++++++++++++++++++++++++++++++++-- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 9a149187b6..0571076c49 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -1258,7 +1258,7 @@ avoid any issues with characters.") (define-public ghc-yesod-core (package (name "ghc-yesod-core") - (version "1.6.16.1") + (version "1.6.17.2") (source (origin (method url-fetch) @@ -1267,7 +1267,7 @@ avoid any issues with characters.") "yesod-core-" version ".tar.gz")) (sha256 (base32 - "0a0yv7wkwvb0n6iia532y9nzrirgnm09pjc8hpm0lx4ff609pgd2")))) + "0rcfksbxnwcpg5qh9vjkddv39q95mx4nxzgix51bbwa128hhzcwf")))) (build-system haskell-build-system) (inputs `(("ghc-wai" ,ghc-wai) ("ghc-extra" ,ghc-extra) @@ -2024,3 +2024,56 @@ Bower's package manifest file, bower.json.") Authoring and Versioning (WebDAV) extensions to HTTP as well an executable, @command{hdav}, for command-line operation.") (license license:gpl3))) + +(define-public ghc-yesod-test + (package + (name "ghc-yesod-test") + (version "1.6.10") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/yesod-test/yesod-test-" + version + ".tar.gz")) + (sha256 + (base32 + "0vw6yg5b22a6flbl822z23k0l23as5mmxjcdnj2zgjjv5i713yfx")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-aeson" ,ghc-aeson) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-conduit" ,ghc-conduit) + ("ghc-cookie" ,ghc-cookie) + ("ghc-hspec-core" ,ghc-hspec-core) + ("ghc-html-conduit" ,ghc-html-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-network" ,ghc-network) + ("ghc-memory" ,ghc-memory) + ("ghc-pretty-show" ,ghc-pretty-show) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-xml-conduit" ,ghc-xml-conduit) + ("ghc-xml-types" ,ghc-xml-types) + ("ghc-yesod-core" ,ghc-yesod-core))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-yesod-form" ,ghc-yesod-form) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-unliftio-core" ,ghc-unliftio-core))) + (home-page "http://www.yesodweb.com") + (synopsis + "Integration testing for WAI/Yesod Applications") + (description + "This package's main goal is to encourage integration +and system testing of web applications by making everything +easy to test. Tests are like browser sessions that +keep track of cookies and the last visited page. You +can perform assertions on the content of HTML responses +using CSS selectors.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:16:27 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:27 +0000 Received: from localhost ([127.0.0.1]:45857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZ8-0008VU-TT for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:27 -0500 Received: from [198.167.222.108] (port=55433 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZ5-0008Uj-Ua for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:24 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9Y2lNlz6vXc; Fri, 4 Dec 2020 19:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109377; bh=3wEdst6nm5VK038aNeElepE8OFjn/djQd7jSIpgE//U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DuwBcbJvdWGlVs3bKbBTVr/5FGuf7U+UeP4Bi+Vv07PyMJEoQxyjCOrgsD9oyOUHY MYesM8CBb67p/71LpPCvVKA6eTsfaqSPSyF/jMo6UKqKmHfEWV/XE4eFoEUyKKiw5J ng8uW1s1Sii9VjcepIuIyEJnX9YX9EypEhispAL4= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9Y16Mxz6vXR; Fri, 4 Dec 2020 19:16:17 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 2/9] gnu: ghc-yesod-test: Update to 1.6.9. Date: Fri, 4 Dec 2020 20:15:38 +0100 Message-Id: <20201204191545.24772-2-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/haskell-web.scm (ghc-yesod-test): Update to 1.6.9. --- gnu/packages/haskell-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 0571076c49..f439678acc 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2028,7 +2028,7 @@ [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.167.222.108 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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: 0.3 (/) * gnu/packages/haskell-web.scm (ghc-yesod-test): Update to 1.6.9. --- gnu/packages/haskell-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 0571076c49..f439678acc 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2028,7 +2028,7 @@ Authoring and Versioning (WebDAV) extensions to HTTP as well an executable, (define-public ghc-yesod-test (package (name "ghc-yesod-test") - (version "1.6.10") + (version "1.6.9") (source (origin (method url-fetch) @@ -2038,7 +2038,7 @@ Authoring and Versioning (WebDAV) extensions to HTTP as well an executable, ".tar.gz")) (sha256 (base32 - "0vw6yg5b22a6flbl822z23k0l23as5mmxjcdnj2zgjjv5i713yfx")))) + "0v25lqq7hgd5lggnyfd9kamkzd4126rd7vlhc131n253n4by4yak")))) (build-system haskell-build-system) (inputs `(("ghc-hunit" ,ghc-hunit) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:16:28 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:28 +0000 Received: from localhost ([127.0.0.1]:45859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZ9-0008Vb-52 for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:28 -0500 Received: from [198.167.222.108] (port=45283 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZ6-0008Uk-9h for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:25 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9Y5KZyz6vXd; Fri, 4 Dec 2020 19:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109377; bh=a3cZ18xre7UGrHrM03edGNITVd27zo6br/BHi6mXjLU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DGdEOJy2MiMv8Tgf/0gzS63qWEKGCsPWHpxiVa+ibaX1InLN/Tt8X9TQPqLFG2NpE rgyz37MIUOySxkxhgMhko49LmYnCeiQOa7QO/JSxX7OP6s4TEhnuOQd/dTyszAjETI acF6fSKtMgweNCQXRd7Qade6999DXyCELCXny9BU= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9Y3bmSz6vXR; Fri, 4 Dec 2020 19:16:17 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 3/9] gnu: Add ghc-wai-app-static. Date: Fri, 4 Dec 2020 20:15:39 +0100 Message-Id: <20201204191545.24772-3-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/haskell-web.scm (ghc-wai-app-static): New variable. --- gnu/packages/haskell-web.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index f439678acc..12ab6ee40f 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2077,3 +2077,55 @ [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.167.222.108 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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: 0.3 (/) * gnu/packages/haskell-web.scm (ghc-wai-app-static): New variable. --- gnu/packages/haskell-web.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index f439678acc..12ab6ee40f 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2077,3 +2077,55 @@ keep track of cookies and the last visited page. You can perform assertions on the content of HTML responses using CSS selectors.") (license license:expat))) + +(define-public ghc-wai-app-static + (package + (name "ghc-wai-app-static") + (version "3.1.7.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "wai-app-static/wai-app-static-" + version + ".tar.gz")) + (sha256 + (base32 + "10k6jb450p89r6dgpnwh428gg0wfw2qbx9n126jkvbchcjr1f4v8")))) + (build-system haskell-build-system) + (inputs + `(("ghc-wai" ,ghc-wai) + ("ghc-http-types" ,ghc-http-types) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-memory" ,ghc-memory) + ("ghc-http-date" ,ghc-http-date) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-mime-types" ,ghc-mime-types) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-zlib" ,ghc-zlib) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative) + ("ghc-warp" ,ghc-warp))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-network" ,ghc-network) + ("ghc-temporary" ,ghc-temporary) + ("ghc-mockery" ,ghc-mockery))) + (arguments + `(#:cabal-revision + ("1" + "0bkmml30rzifvb7nxddj3pxczk0kniahra19mjn0qrkzy1n5752p"))) + (home-page + "http://www.yesodweb.com/book/web-application-interface") + (synopsis "WAI application for static serving") + (description + "This package provides a WAI application for static serving +provides some helper functions and datatypes for use outside of WAI.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:16:28 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:28 +0000 Received: from localhost ([127.0.0.1]:45861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZA-0008Vj-7l for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:28 -0500 Received: from [198.167.222.108] (port=59625 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZ6-0008Um-RS for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:25 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9Z25qwz6vXf; Fri, 4 Dec 2020 19:16:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109378; bh=CF4TOa86ShJ2Kpqm3kkWlbdq9SYwsoq98fh+fkIwnrg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lhrqh5/13EYHTP6Vi1TmuW9EPQB0zgy7ofIYXWfU+twJkMMfOIy3J+TuO/GzQvbIC riyPSPqBl8pBhYBLECJLAzd4rwI4FHDGkcEESrhq2kM2kQokzftvGSFOuts5BLABNa QI3kkeZE6Pd83KojGXyjEKIyPQ1CT1icYMJNg2E4= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9Y6x2Hz6vXR; Fri, 4 Dec 2020 19:16:17 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 4/9] gnu: Add ghc-cryptonite-conduit. Date: Fri, 4 Dec 2020 20:15:40 +0100 Message-Id: <20201204191545.24772-4-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/haskell-crypto.scm (ghc-cryptonite-conduit): New variable. --- gnu/packages/haskell-crypto.scm | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm index c92dec9932..1d56327d29 100644 --- a/gnu/packages/haskell-crypto.scm +++ b/gnu/packages/haskell-crypto.scm @@ -838,3 [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.167.222.108 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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: 0.3 (/) * gnu/packages/haskell-crypto.scm (ghc-cryptonite-conduit): New variable. --- gnu/packages/haskell-crypto.scm | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm index c92dec9932..1d56327d29 100644 --- a/gnu/packages/haskell-crypto.scm +++ b/gnu/packages/haskell-crypto.scm @@ -838,3 +838,42 @@ implementation of SSL.") (description "This library contains io-streams routines for secure networking using OpenSSL (by way of HsOpenSSL).") (license license:bsd-3))) + +(define-public ghc-cryptonite-conduit + (package + (name "ghc-cryptonite-conduit") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cryptonite-conduit/cryptonite-conduit-" + version + ".tar.gz")) + (sha256 + (base32 + "1bldcmda4xh52mw1wfrjljv8crhw3al7v7kv1j0vidvr7ymnjpbh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-memory" ,ghc-memory) + ("ghc-resourcet" ,ghc-resourcet))) + (native-inputs + `(("ghc-conduit-combinators" + ,ghc-conduit-combinators) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (arguments + `(#:cabal-revision + ("1" + "1hh2nzfz4qpxgivfilgk4ll416lph8b2fdkzpzrmqfjglivydfmz"))) + (home-page + "https://github.com/haskell-crypto/cryptonite-conduit") + (synopsis "Cryptonite bridge for conduit") + (description + "This package provides a conduit version for hash and hmac.") + (license license:bsd-3))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:16:29 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:29 +0000 Received: from localhost ([127.0.0.1]:45863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZA-0008Vr-HU for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:29 -0500 Received: from [198.167.222.108] (port=64339 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZ7-0008Un-Cb for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:25 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9Z60Bdz6vXh; Fri, 4 Dec 2020 19:16:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109378; bh=gMuXRvPFPlnHm51kmW0pBQWLrQVTBSAC5PBnuPf8uLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hLtplyUN21mc+e5LfWnw7tQef1Ya5Naotrz1NPWlV87UM6I+YzJG5xboYi6o9cmxs AXHrYnFiO/vxXtWJMc3SOtopruAxHmiaytoHkjSpQAjBNnQVpaUt2bnhq7glkz1HoT FIWkqckRDyiVtofSCpLk2UTJsvB1EirTmEyOvnzQ= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9Z3Y4Dz6vXR; Fri, 4 Dec 2020 19:16:18 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 5/9] gnu: Add ghc-hjsmin. Date: Fri, 4 Dec 2020 20:15:41 +0100 Message-Id: <20201204191545.24772-5-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/haskell-web.scm (ghc-hjsmin): New variable. --- gnu/packages/haskell-web.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 12ab6ee40f..0543e5ac1a 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2129,3 +2129,35 @ [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.167.222.108 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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: 0.3 (/) * gnu/packages/haskell-web.scm (ghc-hjsmin): New variable. --- gnu/packages/haskell-web.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 12ab6ee40f..0543e5ac1a 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2129,3 +2129,35 @@ using CSS selectors.") "This package provides a WAI application for static serving provides some helper functions and datatypes for use outside of WAI.") (license license:expat))) + +(define-public ghc-hjsmin + (package + (name "ghc-hjsmin") + (version "0.2.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hjsmin/hjsmin-" + version + ".tar.gz")) + (sha256 + (base32 + "1r2p5rjdjr25j3w4s57q5hxw2c3ymw12x7ms18yvglnq2ivr9fc1")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ;there are none + (inputs + `(("ghc-language-javascript" + ,ghc-language-javascript) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative))) + (native-inputs `(("ghc-extra" ,ghc-extra))) + (home-page "https://github.com/erikd/hjsmin") + (synopsis + "Haskell implementation of a javascript minifier") + (description + "This package reduces size of javascript files by stripping +out extraneous whitespace and other syntactic elements, without +changing the semantics.") + (license license:bsd-3))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:16:33 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:33 +0000 Received: from localhost ([127.0.0.1]:45869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZF-0008WT-2x for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:33 -0500 Received: from [198.167.222.108] (port=50883 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZD-0008V8-Fg for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:31 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9b1RLPz6vXg; Fri, 4 Dec 2020 19:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109379; bh=zwkIf3wOtFBJrpQ6zMltRXWsBj21aWqXovM24XlXo30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sApbzfRFLSmzOaZY8DFYv1ckEcv1nGZv8LFN9Kb78zoRLGWE5dvse2QGzSmnXhl+n HZtsTS3GMos2eqGp95C6aspqFBVkDU9aOvRU/vDMQ78Sird6E91e5IhvAzAXzEqqvN onM2bUS7nKzEdTQr8DI95wG5WVQ456x1Jmwk+k6c= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9Z6p8bz6vXR; Fri, 4 Dec 2020 19:16:18 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 6/9] gnu: Add ghc-yesod-static. Date: Fri, 4 Dec 2020 20:15:42 +0100 Message-Id: <20201204191545.24772-6-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/haskell-web.scm (ghc-yesod-static): New variable. --- gnu/packages/haskell-web.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 0543e5ac1a..0f173f4e9c 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2161,3 +2161,55 @ [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.167.222.108 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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: 0.3 (/) * gnu/packages/haskell-web.scm (ghc-yesod-static): New variable. --- gnu/packages/haskell-web.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 0543e5ac1a..0f173f4e9c 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2161,3 +2161,55 @@ provides some helper functions and datatypes for use outside of WAI.") out extraneous whitespace and other syntactic elements, without changing the semantics.") (license license:bsd-3))) + +(define-public ghc-yesod-static + (package + (name "ghc-yesod-static") + (version "1.6.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/yesod-static/yesod-static-" + version + ".tar.gz")) + (sha256 + (base32 + "1jd0ryfr2vyrwasyvbqmc6j4ngv1lgz78w427f169l7gyl1firxb")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-conduit" ,ghc-conduit) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-cryptonite-conduit" + ,ghc-cryptonite-conduit) + ("ghc-css-text" ,ghc-css-text) + ("ghc-data-default" ,ghc-data-default) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-hashable" ,ghc-hashable) + ("ghc-hjsmin" ,ghc-hjsmin) + ("ghc-http-types" ,ghc-http-types) + ("ghc-memory" ,ghc-memory) + ("ghc-mime-types" ,ghc-mime-types) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-app-static" ,ghc-wai-app-static) + ("ghc-yesod-core" ,ghc-yesod-core))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-yesod-test" ,ghc-yesod-test) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-hunit" ,ghc-hunit) + ("ghc-rio" ,ghc-rio))) + (home-page "http://www.yesodweb.com/") + (synopsis + "Static file serving subsite for Yesod") + (description + "This package provides static file serving +subsite for Yesod Web Framework.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:16:33 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:33 +0000 Received: from localhost ([127.0.0.1]:45871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZF-0008WV-CT for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:33 -0500 Received: from [198.167.222.108] (port=56771 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZD-0008V9-Fp for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:31 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9b44Gqz6vXk; Fri, 4 Dec 2020 19:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109379; bh=NU8F9hGEZPp0RrQnNC0Ht6vH9rlFJIxZd1IBcpiTokw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EbF0EvNAZMseMBnkQ330MEnNvXbFbmjDaLcEU77U63/tY6+T0BdK+DYh6KDS5lkOu QoSeVo0ngIvAt4GuyhC7LQVgouEY87AW3B0V0SItqgguOPiiXjej00bQ+DBv+rapXJ CREovXAaPznn1dw+bJTmx0LKisno+82YVOJLCSIk= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9b2GqLz6vXR; Fri, 4 Dec 2020 19:16:19 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 7/9] gnu: Add ghc-wai-handler-launch. Date: Fri, 4 Dec 2020 20:15:43 +0100 Message-Id: <20201204191545.24772-7-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/haskell-web.scm (ghc-wai-handler-launch): New variable. --- gnu/packages/haskell-web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 0f173f4e9c..55c29b4932 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2213,3 +2213,34 @ [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.167.222.108 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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: 0.3 (/) * gnu/packages/haskell-web.scm (ghc-wai-handler-launch): New variable. --- gnu/packages/haskell-web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 0f173f4e9c..55c29b4932 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2213,3 +2213,34 @@ changing the semantics.") "This package provides static file serving subsite for Yesod Web Framework.") (license license:expat))) + +(define-public ghc-wai-handler-launch + (package + (name "ghc-wai-handler-launch") + (version "3.0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wai-handler-launch/wai-handler-launch-" + version + ".tar.gz")) + (sha256 + (base32 + "1ifqgyc1ccig5angh5l1iq7vyms4lvi8wzvysg5dw82nml49n02m")))) + (build-system haskell-build-system) + (inputs + `(("ghc-wai" ,ghc-wai) + ("ghc-warp" ,ghc-warp) + ("ghc-http-types" ,ghc-http-types) + ("ghc-streaming-commons" ,ghc-streaming-commons) + ("ghc-async" ,ghc-async))) + (home-page + "http://hackage.haskell.org/package/wai-handler-launch") + (synopsis + "Launch a web app in the default browser") + (description + "This package handles cross-platform launching and inserts +Javascript code to ping the server. When the server no longer +receives pings, it shuts down.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:16:35 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:36 +0000 Received: from localhost ([127.0.0.1]:45873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZH-000056-LZ for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:35 -0500 Received: from [198.167.222.108] (port=61489 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZD-0008VA-Iu for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:32 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9b6Ybkz6vXl; Fri, 4 Dec 2020 19:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109379; bh=zc9R6Syx7dRaOdhiUQbThgzGeNOF9Y3sqXdADmgcnDM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O5wuYQDxGmBSQKJoFNX2JsldWl7WWDs1Wf/kVTTnvlo0+iu/TGAL73/YobQGY8KKK 4whnobp0cR87q/Lskzt1iS93uoJMqLivws89y70O41IIiaBO8+cyZ/IrBpJAgWiGSV DR61bOeznECuV5FI/JpFjFyD31PRB7WVAedwywsc= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9b4sKSz6vXR; Fri, 4 Dec 2020 19:16:19 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 8/9] gnu: Add ghc-wai-cors. Date: Fri, 4 Dec 2020 20:15:44 +0100 Message-Id: <20201204191545.24772-8-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/haskell-web.scm (ghc-wai-cors): New variable. --- gnu/packages/haskell-web.scm | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 55c29b4932..7f19816fdf 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2244,3 +2244,47 @ [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.167.222.108 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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: 0.3 (/) * gnu/packages/haskell-web.scm (ghc-wai-cors): New variable. --- gnu/packages/haskell-web.scm | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 55c29b4932..7f19816fdf 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2244,3 +2244,47 @@ subsite for Yesod Web Framework.") Javascript code to ping the server. When the server no longer receives pings, it shuts down.") (license license:expat))) + +(define-public ghc-wai-cors + (package + (name "ghc-wai-cors") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wai-cors/wai-cors-" + version + ".tar.gz")) + (sha256 + (base32 + "10gv3jjlkcb13031frr818p56v2s0qf6dqjsfpwlhwdxdssvx5r5")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ;tests require PhantomJS + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base-unicode-symbols" + ,ghc-base-unicode-symbols) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-http-types" ,ghc-http-types) + ("ghc-wai" ,ghc-wai))) + (native-inputs + `(("ghc-network" ,ghc-network) + ("ghc-wai-websockets" ,ghc-wai-websockets) + ("ghc-warp" ,ghc-warp) + ("ghc-websockets" ,ghc-websockets) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-wai-websockets" ,ghc-wai-websockets) + ("ghc-warp" ,ghc-warp) + ("ghc-websockets" ,ghc-websockets))) + (home-page + "https://github.com/larskuhtz/wai-cors") + (synopsis "CORS for WAI") + (description + "This package provides an implemenation of Cross-Origin +resource sharing (CORS) for Wai that aims to be compliant with +@url{http://www.w3.org/TR/cors}.") + (license license:expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 14:16:36 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 19:16:36 +0000 Received: from localhost ([127.0.0.1]:45875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZH-000059-TQ for submit@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:36 -0500 Received: from [198.167.222.108] (port=53387 helo=devianza.investici.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klGZD-0008VB-J5 for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 14:16:32 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Cnj9c212fz6vXm; Fri, 4 Dec 2020 19:16:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607109380; bh=Lb3Kpd2/2qVSI0v2Game0VLWCyQ52oOklUy1i0FXMrc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eOsNholzEML/j6uTTYwujTU5Zbob3VLzYchslSGqpbh42Zz6OP7n+mLnNHn0BBIOa WiaMjotpKEfIUkHXhHrgt/nGNCPFvLjch0M1YL+vpep4B1v5t+4C9yOMGDasyPPXoF COyeQnjM+86nSpVpN7LrwgCLa/lq/x+4j+UH6BRc= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cnj9c0Dvfz6vXR; Fri, 4 Dec 2020 19:16:19 +0000 (UTC) From: Giacomo Leidi To: 44954@debbugs.gnu.org Subject: [PATCH 9/9] gnu: Add hledger-web. Date: Fri, 4 Dec 2020 20:15:45 +0100 Message-Id: <20201204191545.24772-9-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201204191545.24772-1-goodoldpaul@autistici.org> References: <20201204191545.24772-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/finance.scm (hledger-web): New variable. --- gnu/packages/finance.scm | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index a79c70d1e0..8c7bb7a641 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1648,3 +1648,59 @@ generate a var [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.167.222.108 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 44954 Cc: Giacomo Leidi 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: 0.3 (/) * gnu/packages/finance.scm (hledger-web): New variable. --- gnu/packages/finance.scm | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index a79c70d1e0..8c7bb7a641 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1648,3 +1648,59 @@ generate a variety of reports from them, and provides a web interface.") (synopsis "Emacs mode for beancount") (description "Emacs-beancount is an Emacs mode for the Beancount accounting tool."))) + +(define-public hledger-web + (package + (name "hledger-web") + (version "1.14.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hledger-web/hledger-web-" + version + ".tar.gz")) + (sha256 + (base32 + "0w59nr7mj0nx8z44cvhy1rhlj5rmx0wq4p5nfl4dycfmp7jwvsm1")))) + (build-system haskell-build-system) + (inputs + `(("ghc-decimal" ,ghc-decimal) + ("ghc-aeson" ,ghc-aeson) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-clientsession" ,ghc-clientsession) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-data-default" ,ghc-data-default) + ("ghc-hjsmin" ,ghc-hjsmin) + ("hledger" ,hledger) + ("ghc-hledger-lib" ,ghc-hledger-lib) + ("ghc-http-client" ,ghc-http-client) + ("ghc-http-conduit" ,ghc-http-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-json" ,ghc-json) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-shakespeare" ,ghc-shakespeare) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-wai-handler-launch" + ,ghc-wai-handler-launch) + ("ghc-warp" ,ghc-warp) + ("ghc-yaml" ,ghc-yaml) + ("ghc-yesod" ,ghc-yesod) + ("ghc-yesod-core" ,ghc-yesod-core) + ("ghc-yesod-form" ,ghc-yesod-form) + ("ghc-yesod-static" ,ghc-yesod-static))) + (home-page "https://hledger.org") + (synopsis + "Web-based user interface for the hledger accounting system") + (description + "This package provides a simple web-based user interface for +the hledger accounting system, providing a more modern UI than +the command-line or terminal interfaces. It can be used as a local +single-user UI, or as a multi-user UI for viewing/adding/editing on the web.") + (license license:gpl3))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 15:07:10 2020 Received: (at 44954) by debbugs.gnu.org; 4 Dec 2020 20:07:10 +0000 Received: from localhost ([127.0.0.1]:45942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klHME-0003QM-CT for submit@debbugs.gnu.org; Fri, 04 Dec 2020 15:07:10 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:60689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klHMB-0003Q5-Bm for 44954@debbugs.gnu.org; Fri, 04 Dec 2020 15:07:08 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 80FF6513; Fri, 4 Dec 2020 15:07:01 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 04 Dec 2020 15:07:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=rKpsFDue62hq19vGB6TI6fo8lVqOxSjOy8rEXJw9u R8=; b=mrC9niCFwe0cGt9rgfVMVWYJOdnY5DQuxEziezB2Jyg9pLYNiH9XWP4Zl WSYIURODG5myqWhNPhxP68qUkrZ3i2s6H18Rug1wRyP4iVEHofTqNsls6a7EgW3a Cx7dJiV5ykKBwsA+dN0i/yngpmIinraMumGWQ5m+ShhT4sgyX5etzHTBM+jBiPED 5rg5X4XvedA7LGpkUr3FXKMGO/M6tdcKuTkz5rkEqy53zEjgH1rXS0+eSivtccpn Yz34jtTz6i8N9Frjtx1Fm7I0PgL9D0BQ+AIC46CknbQeJkBPO4O6LwgDA5IuDn/w wTOu1BtLoAGjqlttpnRf9TREvGn6g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeikedgudeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufhffjgfkfgggtgfgsehtqhertddtreejnecuhfhrohhmpefvihhm ohhthhihucfurghmphhlvgcuoehsrghmphhlvghtsehnghihrhhordgtohhmqeenucggtf frrghtthgvrhhnpedvleevhfehgeduveejvdeftdevieelffevheevjeeggfetteetjeet ledtfeeuveenucffohhmrghinhepghhnuhdrohhrghenucfkphepjeegrdduudeirdduke eirdeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehsrghmphhlvghtsehnghihrhhordgtohhm X-ME-Proxy: Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 4492D108005C; Fri, 4 Dec 2020 15:07:00 -0500 (EST) From: Timothy Sample To: paul Subject: Re: [bug#44954] [PATCH] Add hledger-web and dependencies. References: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> <875z5iubgk.fsf@ngyro.com> <533e8db8-e14a-1da1-e018-c61000cd6629@autistici.org> Date: Fri, 04 Dec 2020 15:06:59 -0500 In-Reply-To: <533e8db8-e14a-1da1-e018-c61000cd6629@autistici.org> (paul's message of "Fri, 4 Dec 2020 20:15:37 +0100") Message-ID: <87wnxxqqsc.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44954 Cc: 44954@debbugs.gnu.org, Jonathan Frederickson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, paul writes: >> This is probably not your fault! On older versions of Guix, using the >> =E2=80=9Cstackage=E2=80=9D importer would yield packages for the most re= cent version of >> LTS Haskell. This was fixed about a month ago. >> >> Now the importer will pick the correct versions, and running =E2=80=9Cgu= ix lint=E2=80=9D >> on your packages will flag any Haskell version problems. >> >> Would you be willing to fix the versions and send an updated patch >> series? > I apologize for this inconvenient, this is definitely my fault since I > imported the packages with > > guix import hackage -r hledger-web > > I'm not an expert in Haskell so I didn't know about the difference > between Hackage and Stackage and it's repercussions on Guix packaging. It=E2=80=99s not a big deal at all and an easy mistake to make. No worries! > I'm sending an updated patch series to fix the versions. Great, but you might want to look at . Someone else is working on getting the =E2=80=9Cwebapp=E2=80=9D component o= f git-annex to work, and it uses a few of the same dependencies as hledger-web. It=E2=80=99s not hard on my end to merge the patch sets, but you could poss= ibly coordinate to avoid duplicate work. I=E2=80=99ve CC=E2=80=99ed Jonathan (t= he other submitter) on this message. > Thank you for your time, Thanks for the patches! :) -- Tim From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 00:31:44 2020 Received: (at 44954) by debbugs.gnu.org; 6 Dec 2020 05:31:44 +0000 Received: from localhost ([127.0.0.1]:48708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klme8-0001tI-2T for submit@debbugs.gnu.org; Sun, 06 Dec 2020 00:31:44 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:43081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klme6-0001t6-QW for 44954@debbugs.gnu.org; Sun, 06 Dec 2020 00:31:43 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 727BF5C0080; Sun, 6 Dec 2020 00:31:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 06 Dec 2020 00:31:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=VIdW/VjeYYyH+E5rJQCitfXaHRYbOeQW3jYFoCq71 AA=; b=SsEeuJibviqJfqcVPwgkybJj01qMatSZt7QOLE19VEU1ZO6opBa2TNV4O y3EN2OEZNO7Sdw0hqUKrmmHaEMqB48YhKtjY9taS3+x8HXQyiJy4M9/pn0dJ/MxU KXxsTibiR+43jgBbYDRSlyeFoKNw6kG3QZk+Ukr0DnrjB1bISYpoIa93Jw4O8i04 KXz/Ivg9CpksNT84skkQ64fvhWhroBCfvXUGJ5yeLLs+1M55CjDMXT63mWcVAhM2 +QnNo8udeNjN2XQLdTqyZ89ZbEb2JOUIgE+35rvKjtrEDt6iAyKA7VbbUVie/S5B KeasTnh7nN32bqPok1wft6swIxuHQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudejuddgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgfgsehtqh ertddtreejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvght sehnghihrhhordgtohhmqeenucggtffrrghtthgvrhhnpeeiudeuhfeggeelleevheegud fguefhieekffdtveeilefglefhvddtgfeiheetgfenucfkphepjeegrdduudeirddukeei rdeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmphhlvghtsehnghihrhhordgtohhm X-ME-Proxy: Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id C5F6524005A; Sun, 6 Dec 2020 00:31:36 -0500 (EST) From: Timothy Sample To: paul Subject: Re: [bug#44954] [PATCH] Add hledger-web and dependencies. References: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> <875z5iubgk.fsf@ngyro.com> <533e8db8-e14a-1da1-e018-c61000cd6629@autistici.org> <87wnxxqqsc.fsf@ngyro.com> Date: Sun, 06 Dec 2020 00:31:36 -0500 In-Reply-To: <87wnxxqqsc.fsf@ngyro.com> (Timothy Sample's message of "Fri, 04 Dec 2020 15:06:59 -0500") Message-ID: <87mtyrqz47.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44954 Cc: 44954@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.7 (-) Hi, Timothy Sample writes: > paul writes: > >> I'm sending an updated patch series to fix the versions. > > Great [...] I have the new patches all lined up and ready to go. Just one more question. There should be a line for you in the copyright header of each changed file. I=E2=80=99m happy to add it, but I want to make sure it= =E2=80=99s okay. The Git author field of the commits has Giacomo Leidi Shall I use that for the copyright headers? -- Tim From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 11:14:53 2020 Received: (at 44954) by debbugs.gnu.org; 6 Dec 2020 16:14:53 +0000 Received: from localhost ([127.0.0.1]:50978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klwgO-0003rH-7c for submit@debbugs.gnu.org; Sun, 06 Dec 2020 11:14:53 -0500 Received: from latitanza.investici.org ([82.94.249.234]:45977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klwgK-0003r6-Jl for 44954@debbugs.gnu.org; Sun, 06 Dec 2020 11:14:43 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4Cps326SWLz8sf9; Sun, 6 Dec 2020 16:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1607271278; bh=dnQmF+ih/abjrm/Awp5bZgnvfruefXkFJWsPpd7932w=; h=To:Cc:References:From:Subject:Date:In-Reply-To:From; b=pf2jip33eQNSDqi/F46Ca04hakLI+aRHS5Erayzt9+gfxXVBb11s9PlIgmLVfcURh QcrU/vmt2eWves9dN4mo48RFdGs9srL5/E5onombLwSnfSdbfPIjZk4ry6hzKPvttc pYhhBt5nOzL9FXUGdSj/wRd3Oh23/yYbEmRy2b8A= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Cps324Ds6z8sf5; Sun, 6 Dec 2020 16:14:38 +0000 (UTC) To: Timothy Sample References: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> <875z5iubgk.fsf@ngyro.com> <533e8db8-e14a-1da1-e018-c61000cd6629@autistici.org> <87wnxxqqsc.fsf@ngyro.com> <87mtyrqz47.fsf@ngyro.com> From: paul Subject: Re: [bug#44954] [PATCH] Add hledger-web and dependencies. Message-ID: <3ff42945-87f4-dc70-57e6-b13b4c77c47d@autistici.org> Date: Sun, 6 Dec 2020 17:14:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.5.0 MIME-Version: 1.0 In-Reply-To: <87mtyrqz47.fsf@ngyro.com> Content-Type: multipart/mixed; boundary="------------69228476DF8A20058A96A0A8" Content-Language: en-US X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44954 Cc: 44954@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 (-) This is a multi-part message in MIME format. --------------69228476DF8A20058A96A0A8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Tim, On 12/6/20 6:31 AM, Timothy Sample wrote: > I have the new patches all lined up and ready to go. Just one more > question. There should be a line for you in the copyright header of > each changed file. I=E2=80=99m happy to add it, but I want to make sur= e it=E2=80=99s > okay. The Git author field of the commits has > > Giacomo Leidi > > Shall I use that for the copyright headers? yes, thank you. I'm not sure if it'll help but I'm attaching the patches = with the copyright header properly added, so that you may reuse them=20 if/where necessary. Cheers, Giacomo --------------69228476DF8A20058A96A0A8 Content-Type: text/x-patch; charset=UTF-8; name="0001-gnu-ghc-yesod-core-Update-to-1.6.17.2.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-gnu-ghc-yesod-core-Update-to-1.6.17.2.patch" =46rom 56e3f0d068a3560b0927e040b17a3569b6caffd2 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Fri, 4 Dec 2020 19:27:30 +0100 Subject: [PATCH 1/9] gnu: ghc-yesod-core: Update to 1.6.17.2. * gnu/packages/haskell-web.scm (ghc-yesod-core): Update to 1.6.17.2. --- gnu/packages/haskell-web.scm | 58 ++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 9a149187b6..7ffb366eab 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -11,6 +11,7 @@ ;;; Copyright =C2=A9 2020 Marius Bakke ;;; Copyright =C2=A9 2020 Kyle Meyer ;;; Copyright =C2=A9 2020 Alexandru-Sergiu Marton +;;; Copyright =C2=A9 2020 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -1258,7 +1259,7 @@ avoid any issues with characters.") (define-public ghc-yesod-core (package (name "ghc-yesod-core") - (version "1.6.16.1") + (version "1.6.17.2") (source (origin (method url-fetch) @@ -1267,7 +1268,7 @@ avoid any issues with characters.") "yesod-core-" version ".tar.gz")) (sha256 (base32 - "0a0yv7wkwvb0n6iia532y9nzrirgnm09pjc8hpm0lx4ff609pgd2")))) + "0rcfksbxnwcpg5qh9vjkddv39q95mx4nxzgix51bbwa128hhzcwf")))) (build-system haskell-build-system) (inputs `(("ghc-wai" ,ghc-wai) ("ghc-extra" ,ghc-extra) @@ -2024,3 +2025,56 @@ Bower's package manifest file, bower.json.") Authoring and Versioning (WebDAV) extensions to HTTP as well an executab= le, @command{hdav}, for command-line operation.") (license license:gpl3))) + +(define-public ghc-yesod-test + (package + (name "ghc-yesod-test") + (version "1.6.10") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/yesod-test/yesod-test-" + version + ".tar.gz")) + (sha256 + (base32 + "0vw6yg5b22a6flbl822z23k0l23as5mmxjcdnj2zgjjv5i713yfx")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-aeson" ,ghc-aeson) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-conduit" ,ghc-conduit) + ("ghc-cookie" ,ghc-cookie) + ("ghc-hspec-core" ,ghc-hspec-core) + ("ghc-html-conduit" ,ghc-html-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-network" ,ghc-network) + ("ghc-memory" ,ghc-memory) + ("ghc-pretty-show" ,ghc-pretty-show) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-xml-conduit" ,ghc-xml-conduit) + ("ghc-xml-types" ,ghc-xml-types) + ("ghc-yesod-core" ,ghc-yesod-core))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-yesod-form" ,ghc-yesod-form) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-unliftio-core" ,ghc-unliftio-core))) + (home-page "http://www.yesodweb.com") + (synopsis + "Integration testing for WAI/Yesod Applications") + (description + "This package's main goal is to encourage integration +and system testing of web applications by making everything +easy to test. Tests are like browser sessions that +keep track of cookies and the last visited page. You +can perform assertions on the content of HTML responses +using CSS selectors.") + (license license:expat))) --=20 2.29.2 --------------69228476DF8A20058A96A0A8 Content-Type: text/x-patch; charset=UTF-8; name="0002-gnu-ghc-yesod-test-Update-to-1.6.9.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0002-gnu-ghc-yesod-test-Update-to-1.6.9.patch" =46rom 9fe55e8b96f5436acf230e422d91ce1764f2954f Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Fri, 4 Dec 2020 19:38:14 +0100 Subject: [PATCH 2/9] gnu: ghc-yesod-test: Update to 1.6.9. * gnu/packages/haskell-web.scm (ghc-yesod-test): Update to 1.6.9. --- gnu/packages/haskell-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 7ffb366eab..c5fec7aaf1 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2029,7 +2029,7 @@ Authoring and Versioning (WebDAV) extensions to HTT= P as well an executable, (define-public ghc-yesod-test (package (name "ghc-yesod-test") - (version "1.6.10") + (version "1.6.9") (source (origin (method url-fetch) @@ -2039,7 +2039,7 @@ Authoring and Versioning (WebDAV) extensions to HTT= P as well an executable, ".tar.gz")) (sha256 (base32 - "0vw6yg5b22a6flbl822z23k0l23as5mmxjcdnj2zgjjv5i713yfx")))) + "0v25lqq7hgd5lggnyfd9kamkzd4126rd7vlhc131n253n4by4yak")))) (build-system haskell-build-system) (inputs `(("ghc-hunit" ,ghc-hunit) --=20 2.29.2 --------------69228476DF8A20058A96A0A8 Content-Type: text/x-patch; charset=UTF-8; name="0003-gnu-Add-ghc-wai-app-static.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0003-gnu-Add-ghc-wai-app-static.patch" =46rom 5a3646d3f4e79d492bc6cae8c35be9e414cc3356 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Sun, 29 Nov 2020 20:28:16 +0100 Subject: [PATCH 3/9] gnu: Add ghc-wai-app-static. * gnu/packages/haskell-web.scm (ghc-wai-app-static): New variable. --- gnu/packages/haskell-web.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index c5fec7aaf1..34f807df9d 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2078,3 +2078,55 @@ keep track of cookies and the last visited page. = You can perform assertions on the content of HTML responses using CSS selectors.") (license license:expat))) + +(define-public ghc-wai-app-static + (package + (name "ghc-wai-app-static") + (version "3.1.7.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "wai-app-static/wai-app-static-" + version + ".tar.gz")) + (sha256 + (base32 + "10k6jb450p89r6dgpnwh428gg0wfw2qbx9n126jkvbchcjr1f4v8")))) + (build-system haskell-build-system) + (inputs + `(("ghc-wai" ,ghc-wai) + ("ghc-http-types" ,ghc-http-types) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-memory" ,ghc-memory) + ("ghc-http-date" ,ghc-http-date) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-mime-types" ,ghc-mime-types) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-zlib" ,ghc-zlib) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative) + ("ghc-warp" ,ghc-warp))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-network" ,ghc-network) + ("ghc-temporary" ,ghc-temporary) + ("ghc-mockery" ,ghc-mockery))) + (arguments + `(#:cabal-revision + ("1" + "0bkmml30rzifvb7nxddj3pxczk0kniahra19mjn0qrkzy1n5752p"))) + (home-page + "http://www.yesodweb.com/book/web-application-interface") + (synopsis "WAI application for static serving") + (description + "This package provides a WAI application for static serving +provides some helper functions and datatypes for use outside of WAI.") + (license license:expat))) --=20 2.29.2 --------------69228476DF8A20058A96A0A8 Content-Type: text/x-patch; charset=UTF-8; name="0004-gnu-Add-ghc-cryptonite-conduit.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0004-gnu-Add-ghc-cryptonite-conduit.patch" =46rom 5db2d40ff325c4fd70c057f7ce366b87b2f6db80 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Sun, 29 Nov 2020 20:36:26 +0100 Subject: [PATCH 4/9] gnu: Add ghc-cryptonite-conduit. * gnu/packages/haskell-crypto.scm (ghc-cryptonite-conduit): New variable.= --- gnu/packages/haskell-crypto.scm | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypt= o.scm index c92dec9932..bba95e3374 100644 --- a/gnu/packages/haskell-crypto.scm +++ b/gnu/packages/haskell-crypto.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2016 Nikita ;;; Copyright =C2=A9 2017 rsiddharth ;;; Copyright =C2=A9 2017, 2019 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2020 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -838,3 +839,42 @@ implementation of SSL.") (description "This library contains io-streams routines for secure networking using OpenSSL (by way of HsOpenSSL).") (license license:bsd-3))) + +(define-public ghc-cryptonite-conduit + (package + (name "ghc-cryptonite-conduit") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cryptonite-conduit/crypt= onite-conduit-" + version + ".tar.gz")) + (sha256 + (base32 + "1bldcmda4xh52mw1wfrjljv8crhw3al7v7kv1j0vidvr7ymnjpbh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-memory" ,ghc-memory) + ("ghc-resourcet" ,ghc-resourcet))) + (native-inputs + `(("ghc-conduit-combinators" + ,ghc-conduit-combinators) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (arguments + `(#:cabal-revision + ("1" + "1hh2nzfz4qpxgivfilgk4ll416lph8b2fdkzpzrmqfjglivydfmz"))) + (home-page + "https://github.com/haskell-crypto/cryptonite-conduit") + (synopsis "Cryptonite bridge for conduit") + (description + "This package provides a conduit version for hash and hmac.") + (license license:bsd-3))) --=20 2.29.2 --------------69228476DF8A20058A96A0A8 Content-Type: text/x-patch; charset=UTF-8; name="0005-gnu-Add-ghc-hjsmin.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0005-gnu-Add-ghc-hjsmin.patch" =46rom f3c9da95d2943fc1e5f11858d5ef52995135dc6e Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Fri, 4 Dec 2020 20:15:41 +0100 Subject: [PATCH 5/9] gnu: Add ghc-hjsmin. * gnu/packages/haskell-web.scm (ghc-hjsmin): New variable. --- gnu/packages/haskell-web.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 34f807df9d..06d3c1d74b 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2130,3 +2130,35 @@ using CSS selectors.") "This package provides a WAI application for static serving provides some helper functions and datatypes for use outside of WAI.") (license license:expat))) + +(define-public ghc-hjsmin + (package + (name "ghc-hjsmin") + (version "0.2.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hjsmin/hjsmin-" + version + ".tar.gz")) + (sha256 + (base32 + "1r2p5rjdjr25j3w4s57q5hxw2c3ymw12x7ms18yvglnq2ivr9fc1")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ;there are none + (inputs + `(("ghc-language-javascript" + ,ghc-language-javascript) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative))) + (native-inputs `(("ghc-extra" ,ghc-extra))) + (home-page "https://github.com/erikd/hjsmin") + (synopsis + "Haskell implementation of a javascript minifier") + (description + "This package reduces size of javascript files by stripping +out extraneous whitespace and other syntactic elements, without +changing the semantics.") + (license license:bsd-3))) --=20 2.29.2 --------------69228476DF8A20058A96A0A8 Content-Type: text/x-patch; charset=UTF-8; name="0006-gnu-Add-ghc-yesod-static.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0006-gnu-Add-ghc-yesod-static.patch" =46rom 7716370d8ca50d2718850eb618f402667ee6a763 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Fri, 4 Dec 2020 20:15:42 +0100 Subject: [PATCH 6/9] gnu: Add ghc-yesod-static. * gnu/packages/haskell-web.scm (ghc-yesod-static): New variable. --- gnu/packages/haskell-web.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 06d3c1d74b..5a1e401b1b 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2162,3 +2162,55 @@ provides some helper functions and datatypes for u= se outside of WAI.") out extraneous whitespace and other syntactic elements, without changing the semantics.") (license license:bsd-3))) + +(define-public ghc-yesod-static + (package + (name "ghc-yesod-static") + (version "1.6.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/yesod-static/yesod-stati= c-" + version + ".tar.gz")) + (sha256 + (base32 + "1jd0ryfr2vyrwasyvbqmc6j4ngv1lgz78w427f169l7gyl1firxb")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-conduit" ,ghc-conduit) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-cryptonite-conduit" + ,ghc-cryptonite-conduit) + ("ghc-css-text" ,ghc-css-text) + ("ghc-data-default" ,ghc-data-default) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-hashable" ,ghc-hashable) + ("ghc-hjsmin" ,ghc-hjsmin) + ("ghc-http-types" ,ghc-http-types) + ("ghc-memory" ,ghc-memory) + ("ghc-mime-types" ,ghc-mime-types) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-unordered-containers" + ,ghc-unordered-containers) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-app-static" ,ghc-wai-app-static) + ("ghc-yesod-core" ,ghc-yesod-core))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-yesod-test" ,ghc-yesod-test) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-hunit" ,ghc-hunit) + ("ghc-rio" ,ghc-rio))) + (home-page "http://www.yesodweb.com/") + (synopsis + "Static file serving subsite for Yesod") + (description + "This package provides static file serving +subsite for Yesod Web Framework.") + (license license:expat))) --=20 2.29.2 --------------69228476DF8A20058A96A0A8 Content-Type: text/x-patch; charset=UTF-8; name="0007-gnu-Add-ghc-wai-handler-launch.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0007-gnu-Add-ghc-wai-handler-launch.patch" =46rom fecbd87614eb8e137005d6594992a742610da12f Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Fri, 4 Dec 2020 20:15:43 +0100 Subject: [PATCH 7/9] gnu: Add ghc-wai-handler-launch. * gnu/packages/haskell-web.scm (ghc-wai-handler-launch): New variable. --- gnu/packages/haskell-web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 5a1e401b1b..518f3e8fee 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2214,3 +2214,34 @@ changing the semantics.") "This package provides static file serving subsite for Yesod Web Framework.") (license license:expat))) + +(define-public ghc-wai-handler-launch + (package + (name "ghc-wai-handler-launch") + (version "3.0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wai-handler-launch/wai-h= andler-launch-" + version + ".tar.gz")) + (sha256 + (base32 + "1ifqgyc1ccig5angh5l1iq7vyms4lvi8wzvysg5dw82nml49n02m")))) + (build-system haskell-build-system) + (inputs + `(("ghc-wai" ,ghc-wai) + ("ghc-warp" ,ghc-warp) + ("ghc-http-types" ,ghc-http-types) + ("ghc-streaming-commons" ,ghc-streaming-commons) + ("ghc-async" ,ghc-async))) + (home-page + "http://hackage.haskell.org/package/wai-handler-launch") + (synopsis + "Launch a web app in the default browser") + (description + "This package handles cross-platform launching and inserts +Javascript code to ping the server. When the server no longer +receives pings, it shuts down.") + (license license:expat))) --=20 2.29.2 --------------69228476DF8A20058A96A0A8 Content-Type: text/x-patch; charset=UTF-8; name="0008-gnu-Add-ghc-wai-cors.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0008-gnu-Add-ghc-wai-cors.patch" =46rom 6207963c1d87995a8dc776c13881649b18085879 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Sun, 29 Nov 2020 22:59:29 +0100 Subject: [PATCH 8/9] gnu: Add ghc-wai-cors. * gnu/packages/haskell-web.scm (ghc-wai-cors): New variable. --- gnu/packages/haskell-web.scm | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 518f3e8fee..5d5764cd17 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2245,3 +2245,47 @@ subsite for Yesod Web Framework.") Javascript code to ping the server. When the server no longer receives pings, it shuts down.") (license license:expat))) + +(define-public ghc-wai-cors + (package + (name "ghc-wai-cors") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wai-cors/wai-cors-" + version + ".tar.gz")) + (sha256 + (base32 + "10gv3jjlkcb13031frr818p56v2s0qf6dqjsfpwlhwdxdssvx5r5")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ;tests require PhantomJS + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base-unicode-symbols" + ,ghc-base-unicode-symbols) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-http-types" ,ghc-http-types) + ("ghc-wai" ,ghc-wai))) + (native-inputs + `(("ghc-network" ,ghc-network) + ("ghc-wai-websockets" ,ghc-wai-websockets) + ("ghc-warp" ,ghc-warp) + ("ghc-websockets" ,ghc-websockets) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-wai-websockets" ,ghc-wai-websockets) + ("ghc-warp" ,ghc-warp) + ("ghc-websockets" ,ghc-websockets))) + (home-page + "https://github.com/larskuhtz/wai-cors") + (synopsis "CORS for WAI") + (description + "This package provides an implemenation of Cross-Origin +resource sharing (CORS) for Wai that aims to be compliant with +@url{http://www.w3.org/TR/cors}.") + (license license:expat))) --=20 2.29.2 --------------69228476DF8A20058A96A0A8 Content-Type: text/x-patch; charset=UTF-8; name="0009-gnu-Add-hledger-web.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0009-gnu-Add-hledger-web.patch" =46rom 112628c497db41d293b8b168d8be9e642b6b1ed7 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Fri, 4 Dec 2020 20:15:45 +0100 Subject: [PATCH 9/9] gnu: Add hledger-web. * gnu/packages/finance.scm (hledger-web): New variable. --- gnu/packages/finance.scm | 57 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index a79c70d1e0..ac2e2adfad 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -21,6 +21,7 @@ ;;; Copyright =C2=A9 2020 Marius Bakke ;;; Copyright =C2=A9 2020 Vinicius Monego ;;; Copyright =C2=A9 2020 Carlo Holl +;;; Copyright =C2=A9 2020 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -1648,3 +1649,59 @@ generate a variety of reports from them, and provi= des a web interface.") (synopsis "Emacs mode for beancount") (description "Emacs-beancount is an Emacs mode for the Beancount accounting too= l."))) + +(define-public hledger-web + (package + (name "hledger-web") + (version "1.14.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hledger-web/hledger-we= b-" + version + ".tar.gz")) + (sha256 + (base32 + "0w59nr7mj0nx8z44cvhy1rhlj5rmx0wq4p5nfl4dycfmp7jwvsm1")))) + (build-system haskell-build-system) + (inputs + `(("ghc-decimal" ,ghc-decimal) + ("ghc-aeson" ,ghc-aeson) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-clientsession" ,ghc-clientsession) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-data-default" ,ghc-data-default) + ("ghc-hjsmin" ,ghc-hjsmin) + ("hledger" ,hledger) + ("ghc-hledger-lib" ,ghc-hledger-lib) + ("ghc-http-client" ,ghc-http-client) + ("ghc-http-conduit" ,ghc-http-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-json" ,ghc-json) + ("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-shakespeare" ,ghc-shakespeare) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-wai-handler-launch" + ,ghc-wai-handler-launch) + ("ghc-warp" ,ghc-warp) + ("ghc-yaml" ,ghc-yaml) + ("ghc-yesod" ,ghc-yesod) + ("ghc-yesod-core" ,ghc-yesod-core) + ("ghc-yesod-form" ,ghc-yesod-form) + ("ghc-yesod-static" ,ghc-yesod-static))) + (home-page "https://hledger.org") + (synopsis + "Web-based user interface for the hledger accounting system") + (description + "This package provides a simple web-based user interface for +the hledger accounting system, providing a more modern UI than +the command-line or terminal interfaces. It can be used as a local +single-user UI, or as a multi-user UI for viewing/adding/editing on the = web.") + (license license:gpl3))) --=20 2.29.2 --------------69228476DF8A20058A96A0A8-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 21:47:52 2020 Received: (at 44954-done) by debbugs.gnu.org; 7 Dec 2020 02:47:52 +0000 Received: from localhost ([127.0.0.1]:51842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1km6Z5-0002rz-RS for submit@debbugs.gnu.org; Sun, 06 Dec 2020 21:47:52 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:52509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1km6Z3-0002rk-IW for 44954-done@debbugs.gnu.org; Sun, 06 Dec 2020 21:47:50 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 9621552A; Sun, 6 Dec 2020 21:47:43 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 06 Dec 2020 21:47:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=jn7k6YdlP8DsHfKfmS9YcCRUqlNe5nZxqz3ww5Ui8 lg=; b=BLM//RhBS+zjBvUuhNF4iKB6W/k2lM3PIfMz7Mzt945tUlfKBnA3sJlyO zAyRF00CzsxZsHh6gh2IMztUxpEAE5X8bfMM94LYsYbTSJQvE0xYrIzhCh3m0Akd tTTHBelZV/4OdvXbTkSK6hLQ9QG4+wyG2i7Yn7NQ4/Q6UQV4TL/X939uIUBl0Ot7 nOFzAXvbWKqkY+biw1wj5utF1it2AJ1NLgKYOEmbv7aJ/1jL9zfX7TfyD0XErHlu g1rWhSC59eTFZn6u4SWiCJow79rtBLesZqs2u3Wo2VlrjY+tSIYfmPY+wmF43ybq 8qa/H7QHBNjkxdohnXtF70ASTfJ5g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudejfedggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgfgsehtqh ertddtreejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvght sehnghihrhhordgtohhmqeenucggtffrrghtthgvrhhnpeeiudeuhfeggeelleevheegud fguefhieekffdtveeilefglefhvddtgfeiheetgfenucfkphepjeegrdduudeirddukeei rdeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmphhlvghtsehnghihrhhordgtohhm X-ME-Proxy: Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id B7C1D24005E; Sun, 6 Dec 2020 21:47:42 -0500 (EST) From: Timothy Sample To: paul Subject: Re: [bug#44954] [PATCH] Add hledger-web and dependencies. References: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> <875z5iubgk.fsf@ngyro.com> <533e8db8-e14a-1da1-e018-c61000cd6629@autistici.org> <87wnxxqqsc.fsf@ngyro.com> <87mtyrqz47.fsf@ngyro.com> <3ff42945-87f4-dc70-57e6-b13b4c77c47d@autistici.org> Date: Sun, 06 Dec 2020 21:47:42 -0500 In-Reply-To: <3ff42945-87f4-dc70-57e6-b13b4c77c47d@autistici.org> (paul's message of "Sun, 6 Dec 2020 17:14:37 +0100") Message-ID: <87im9eqqlt.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44954-done Cc: 44954-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.7 (-) Hello, paul writes: > On 12/6/20 6:31 AM, Timothy Sample wrote: >> I have the new patches all lined up and ready to go. Just one more >> question. There should be a line for you in the copyright header of >> each changed file. I=E2=80=99m happy to add it, but I want to make sure= it=E2=80=99s >> okay. The Git author field of the commits has >> >> Giacomo Leidi >> >> Shall I use that for the copyright headers? > > yes, thank you. I'm not sure if it'll help but I'm attaching the > patches with the copyright header properly added, so that you may > reuse them if/where necessary. Patches applied! I managed to get some tests running for both ghc-hjsmin and ghc-wai-cors (ghc-wai-cors is not actually a dependency of hledger-web, but I left it in anyway). I tweaked the odd synopsis and description, and changed some =E2=80=9Chome-page=E2=80=9D URLs from =E2=80=9Chttp://=E2=80=9D to =E2= =80=9Chttps://=E2=80=9D. Nothing major. :) Thanks again for the patches! -- Tim From unknown Sat Sep 06 02:33:10 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, 04 Jan 2021 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