From patchwork Sun Nov 29 22:32:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25444 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E34D927BBF9; Sun, 29 Nov 2020 22:34:45 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 92FC827BBF8 for ; Sun, 29 Nov 2020 22:34:45 +0000 (GMT) Received: from localhost ([::1]:35256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHI-0008VH-NB for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:34:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGc-0008Uq-PU for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGc-0005bN-Hj for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGc-0002UX-FF for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 01/12] gnu: ghc-doctest: Update to 0.16.3. References: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> In-Reply-To: <2f1f6cef-22b5-8706-076d-bebac71d450d@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892019401 (code B ref 44954); Sun, 29 Nov 2020 22:34:02 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 From patchwork Sun Nov 29 22:32:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25448 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2E9FD27BC21; Sun, 29 Nov 2020 22:35:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0CFA927BC05 for ; Sun, 29 Nov 2020 22:35:12 +0000 (GMT) Received: from localhost ([::1]:36062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHj-0000Vh-2Q for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:35:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGd-0008Ux-7i for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGc-0005bs-Vx for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGc-0002Ue-RR for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 02/12] gnu: ghc-yesod-core: Update to 1.6.17. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892019410 (code B ref 44954); Sun, 29 Nov 2020 22:34:02 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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) From patchwork Sun Nov 29 22:32:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25445 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CE5B627BBF9; Sun, 29 Nov 2020 22:34:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 567F627BBF8 for ; Sun, 29 Nov 2020 22:34:47 +0000 (GMT) Received: from localhost ([::1]:35268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHK-00005L-Bs for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:34:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008VM-0z for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGd-0005cG-BR for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGd-0002Ul-7L for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 03/12] gnu: Add ghc-yesod-test. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892029424 (code B ref 44954); Sun, 29 Nov 2020 22:34:03 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))) From patchwork Sun Nov 29 22:32:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25454 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B692827BBF9; Sun, 29 Nov 2020 22:36:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 44BB027BBF8 for ; Sun, 29 Nov 2020 22:36:19 +0000 (GMT) Received: from localhost ([::1]:37488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVIo-0001DU-A3 for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:36:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008VS-9E for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41324) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGd-0005cI-MA for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGd-0002Ut-Jk for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 04/12] gnu: Add ghc-wai-app-static. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892039445 (code B ref 44954); Sun, 29 Nov 2020 22:34:03 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))) From patchwork Sun Nov 29 22:32:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25453 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 763FB27BBF8; Sun, 29 Nov 2020 22:35:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6F16727BBFA for ; Sun, 29 Nov 2020 22:35:38 +0000 (GMT) Received: from localhost ([::1]:36960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVI9-0000sx-Fb for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:35:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008VX-9J for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGe-0005cJ-2Q for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGd-0002V0-Vt for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 05/12] gnu: Add ghc-cryptonite-conduit. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892149493 (code B ref 44954); Sun, 29 Nov 2020 22:34:03 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))) From patchwork Sun Nov 29 22:32:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25446 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 03BB027BBF9; Sun, 29 Nov 2020 22:34:49 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8A80927BBF8 for ; Sun, 29 Nov 2020 22:34:48 +0000 (GMT) Received: from localhost ([::1]:35286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHL-00005v-Gq for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:34:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008VU-9W for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGe-0005cK-F6 for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGe-0002V7-Cf for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 06/12] gnu: Add ghc-hjsmin. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892149501 (code B ref 44954); Sun, 29 Nov 2020 22:34:04 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))) From patchwork Sun Nov 29 22:32:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25455 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7360827BBF9; Sun, 29 Nov 2020 22:36:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F25B227BBF8 for ; Sun, 29 Nov 2020 22:36:45 +0000 (GMT) Received: from localhost ([::1]:37752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVJF-0001Mi-0e for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:36:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008VZ-Aa for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGe-0005cL-RH for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGe-0002VH-Of for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 07/12] gnu: Add ghc-yesod-static. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892159508 (code B ref 44954); Sun, 29 Nov 2020 22:34:04 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))) From patchwork Sun Nov 29 22:32:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25449 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D888A27BBF9; Sun, 29 Nov 2020 22:35:25 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A23D727BC0C for ; Sun, 29 Nov 2020 22:35:13 +0000 (GMT) Received: from localhost ([::1]:36116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHk-0000X6-Lw for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:35:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008VY-9t for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGf-0005cN-7n for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGf-0002VO-5Q for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 08/12] gnu: Add ghc-wai-handler-launch. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892159515 (code B ref 44954); Sun, 29 Nov 2020 22:34:05 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))) From patchwork Sun Nov 29 22:32:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25451 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3070627BBF9; Sun, 29 Nov 2020 22:35:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D634827BBFF for ; Sun, 29 Nov 2020 22:35:15 +0000 (GMT) Received: from localhost ([::1]:36202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHm-0000ZG-Sr for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:35:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008Vl-Fr for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41329) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGf-0005cO-Ks for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGf-0002VV-I7 for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 09/12] gnu: Add ghc-wai-cors. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892159522 (code B ref 44954); Sun, 29 Nov 2020 22:34:05 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))) From patchwork Sun Nov 29 22:32:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25447 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C88B127BBF9; Sun, 29 Nov 2020 22:34:49 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6BAAA27BBF8 for ; Sun, 29 Nov 2020 22:34:49 +0000 (GMT) Received: from localhost ([::1]:35304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHM-00006R-Ee for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:34:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008Vm-GI for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0005cS-0f for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGf-0002Vd-Ub for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 10/12] gnu: ghc-hledger-lib: Update to 1.19.1. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892159530 (code B ref 44954); Sun, 29 Nov 2020 22:34:05 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))) From patchwork Sun Nov 29 22:33:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25452 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 19F3927BBF8; Sun, 29 Nov 2020 22:35:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2371327BBF9 for ; Sun, 29 Nov 2020 22:35:40 +0000 (GMT) Received: from localhost ([::1]:37012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVIB-0000uH-5w for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:35:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008WE-Nq for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0005cv-GM for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGg-0002Vk-C0 for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 11/12] gnu: hledger: Update to 1.19.1. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892169537 (code B ref 44954); Sun, 29 Nov 2020 22:34:06 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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) From patchwork Sun Nov 29 22:33:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 25450 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7E26F27BBF9; Sun, 29 Nov 2020 22:35:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 642C527BC11 for ; Sun, 29 Nov 2020 22:35:14 +0000 (GMT) Received: from localhost ([::1]:36160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHl-0000YC-GL for patchwork@mira.cbaines.net; Sun, 29 Nov 2020 17:35:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGh-00004q-3f for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0005dg-SU for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGg-0002Vr-Pw for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 12/12] gnu: Add hledger-web. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892169543 (code B ref 44954); Sun, 29 Nov 2020 22:34:06 +0000 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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)))