From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 22:09:55 2021 Received: (at submit) by debbugs.gnu.org; 27 Sep 2021 02:09:55 +0000 Received: from localhost ([127.0.0.1]:39178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg5a-00026e-SI for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:09:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:36696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg5Z-00026X-BH for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:09:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUg5Y-00036c-VM for guix-patches@gnu.org; Sun, 26 Sep 2021 22:09:53 -0400 Received: from singpolyma.net ([192.99.233.116]:43715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUg5W-0007yW-DG for guix-patches@gnu.org; Sun, 26 Sep 2021 22:09:52 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 7C031486168B; Mon, 27 Sep 2021 02:09:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708584; bh=fBh1AcsmJj41Azeiv6IUgq6QzgUkJLdPTg0OmZa3V00=; h=Date:From:To:Subject:From; b=BQDmOLUkBauv+cUxMYW/ev0kLsWgoFkZr+JEcG0qpAsd0/um8iVmieEUs1wJosQ3h D6ZnExXhz6rPIOBA7FB8huQS9NuM0Pl7V1JAm/Q3CYmE+es1RndthKRxi5NRwZcms0 eTPcBr3QMOA2mmMr7De3q3X3jPCmuXH6u9DsXSIU= Date: Sun, 26 Sep 2021 21:09:43 -0500 From: Stephen Paul Weber To: guix-patches@gnu.org Subject: [PATCH 0/8] New Haskell packages: cache, redis client, xmpp Message-ID: <20210927020943.GC2089@singpolyma-beefy.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JYK4vJDZwFMowpUq" Content-Disposition: inline Jabber-ID: singpolyma@singpolyma.net OpenPGP: id=CE519CDE; url=https://singpolyma.net/public.asc X-URL: https://singpolyma.net User-Agent: Mutt/1.10.1 (2018-07-13) Received-SPF: pass client-ip=192.99.233.116; envelope-from=singpolyma@singpolyma.net; helo=singpolyma.net 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 (--) --JYK4vJDZwFMowpUq Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline This series adds new Haskell packages for in-memory caching, a redis client and dependency, and an XMPP library and needed dependencies (including gnutls and gsasl bindings). --JYK4vJDZwFMowpUq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWeaCw+rzmiEMpzU00RwpEc5RnN4FAmFRJ+cACgkQ0RwpEc5R nN7aaRAAtj+CFHwA1FfxdAnK3r3NX2BbaAXVS0b9ITN2FSeHGRKrD57tsb5KJ6ea enC4ip+GOGOjngOLegcZH76fIFW2isesCmboYl6Ep30tsBz1fVYTCUJvRK517CPQ XJxmFfqHFH8t2dxPKHM7tsIf6sU0YP3b9pKKWBP4aq6KFzxDyQwrF3QPptLuJA5H Vbn5Rp2H4AoqMX2CKuD6oQOrb7M8gMNWIe2XTWiuIwiEmVsF/O8KZSO8b+unJ51s NV3SeuZNNTAHWz4iJVMKqyC9LfX4GAKTOCXquUNIwmkfC4PVGhkjg4R2O2XVo1s1 3f74pkmdslWnnnK1CIygHDypKlvEf15GNSd9TbOCr2C+CRBezWBs+OlmM9gHuraa 4l7+wR1HG9A4PYQ3ku9FTqtcJU3zlIJX7t8Br8DEsaDAXZOUzc5agn3pdcuSiSi6 D95dyNx7+XDo+eFyzXfj53cPMpFtT60wOWwhGPeIAl0EuZCZaG7kxZ7pYzE2VIi5 KQQVmp4C/szqysfBNfSlftCIY/A8H4g2Ke0Ck6RTkUxohxElUWSctYSXyUbiMvdR v5r6if0t+oLE6D5hz4Cpa4lsvw41U7Hd4YUkNY8BiKnkNgMSdWba2Im7PbzoyF2d 8Y2OZxTz/qFnitbsdUz6P/uDLbOG7iezuyOOfB2mOj+qVcVplrE= =AnRY -----END PGP SIGNATURE----- --JYK4vJDZwFMowpUq-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 22:10:39 2021 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:39 +0000 Received: from localhost ([127.0.0.1]:39190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6J-000293-46 for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:39 -0400 Received: from singpolyma.net ([192.99.233.116]:47551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6H-00028R-8r for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:37 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id E500E486168B; Mon, 27 Sep 2021 02:10:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708636; bh=2KnoU8xO8U7+WXlVZ9l2HHLJ+dYH15FixXn1MA2nTIU=; h=From:To:Cc:Subject:Date:From; b=ItmmXXwhQgzBCs5FpvFCx284GSJJ/iCcWCU5771cfOiH0skkh8vuO+SRoDtXLiTHl TCFYyaNU1aDP31N4PUm2zZBdZsxK+qSTMkGOjTkW7tVf9E6AqSiKSdgU7wxQoht3+V AI+UZij4C9CEM43EQ9GDE623ffx7bDgMA1r65Xko= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH 1/8] gnu: Add ghc-cache. Date: Sun, 26 Sep 2021 21:10:26 -0500 Message-Id: <20210927021033.17700-1-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber 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-cache): New variable. --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f421458e15..f5ae156d35 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15712,3 +15712,32 @@ Zstandard compression algorithm, a fast lossless compression algorithm targeting real-time compression scenarios at zlib-level and better compression ratios.") (license license:bsd-3))) + +(define-public ghc-cache + (package + (name "ghc-cache") + (version "0.1.3.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cache/cache-" + version + ".tar.gz")) + (sha256 + (base32 "0d75257kvjpnv95ja50x5cs77pj8ccfr0nh9q5gzvcps83qdksa2")))) + (build-system haskell-build-system) + (inputs + `(("ghc-clock" ,ghc-clock) + ("ghc-hashable" ,ghc-hashable) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/hverr/haskell-cache#readme") + (synopsis "In-memory key/value store with expiration support") + (description + "An in-memory key/value store with expiration support, similar to +patrickmn/go-cache for Go. The cache is a shared mutable HashMap implemented +using STM and with support for expiration times.") + (license license:bsd-3))) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 22:10:40 2021 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:40 +0000 Received: from localhost ([127.0.0.1]:39192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6J-00029K-QV for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:40 -0400 Received: from singpolyma.net ([192.99.233.116]:45215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6H-00028S-8w for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:38 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 18C44486168C; Mon, 27 Sep 2021 02:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708637; bh=/vUixefJrZRI+qZE6skxZ96F+eS71XllZSizIJJGNR8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EMTtbYJd6SG4quptvMyYx6jCRG4W02lVG5naUi9n6znYN7Hf6weHk2+98exb+lRbV U2umGuUKw7IwXz5HdEwsaC/3qPHcdjp4zPBdvNrO76SCrdNdq+aWxiGWegiwqiXBkr 5J++jcstn+NHk0Qvu7PvLf+Gtpu8QBs6RAjyaoGE= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH 2/8] gnu: Add ghc-scanner. Date: Sun, 26 Sep 2021 21:10:27 -0500 Message-Id: <20210927021033.17700-2-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net> References: <20210927021033.17700-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber 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-scanner): New variable. --- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f5ae156d35..a7af298ada 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15741,3 +15741,28 @@ compression ratios.") patrickmn/go-cache for Go. The cache is a shared mutable HashMap implemented using STM and with support for expiration times.") (license license:bsd-3))) + +(define-public ghc-scanner + (package + (name "ghc-scanner") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/scanner/scanner-" + version + ".tar.gz")) + (sha256 + (base32 "1mhqh94qra08zidqfsq0gxi83cgflqldnk9rr53haynbgmd5y82k")))) + (build-system haskell-build-system) + (inputs `(("ghc-fail" ,ghc-fail))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/Yuras/scanner") + (synopsis + "Fast non-backtracking incremental combinator parsing for bytestrings") + (description + "Parser combinator library designed to be fast. It doesn't support backtracking.") + (license license:bsd-3))) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 22:10:46 2021 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:46 +0000 Received: from localhost ([127.0.0.1]:39194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6Q-00029e-4u for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:46 -0400 Received: from singpolyma.net ([192.99.233.116]:41267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6H-00028T-Aw for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:38 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 35984486168D; Mon, 27 Sep 2021 02:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708637; bh=+paSSlMQACToGnhT9SOwqOmILSUk1k+1Gyn0unf5CP8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PjRn6E+FS2LudC8P1xtvK8ZiD0NndYAx25fSTtNqWn/enkhqeDRXtXFHL3Nb1DYqs h+ZNINUbG6CtbyPc6ysw8mMOtOY2Ys4uc7tZ8inebLSFe3qAiWzY9yTc4ZBqOb6apd SK8w6xyRNjNSprM3BH8FgzRdPHXiTK09a82Ft6M4= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH 3/8] gnu: Add ghc-hedis. Date: Sun, 26 Sep 2021 21:10:28 -0500 Message-Id: <20210927021033.17700-3-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net> References: <20210927021033.17700-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber 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-hedis): New variable. --- gnu/packages/haskell-xyz.scm | 65 ++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index a7af298ada..55efd9da2b 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15766,3 +15766,68 @@ using STM and with support for expiration times.") (description "Parser combinator library designed to be fast. It doesn't support backtracking.") (license license:bsd-3))) + +(define-public ghc-hedis + (package + (name "ghc-hedis") + (version "0.12.11") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hedis/hedis-" + version + ".tar.gz")) + (sha256 + (base32 "1n83zwg011n9w2v1zz4mwpms9jh3c8mk700zya4as1jg83748xww")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + ; The main tests require redis-server running, but not doctest + (when tests? (invoke "runhaskell" "Setup.hs" "test" "doctest")) + #t))))) + (inputs + `(("ghc-scanner" ,ghc-scanner) + ("ghc-async" ,ghc-async) + ("ghc-bytestring-lexing" ,ghc-bytestring-lexing) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-network" ,ghc-network) + ("ghc-resource-pool" ,ghc-resource-pool) + ("ghc-tls" ,ghc-tls) + ("ghc-vector" ,ghc-vector) + ("ghc-http" ,ghc-http) + ("ghc-errors" ,ghc-errors) + ("ghc-network-uri" ,ghc-network-uri))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-doctest" ,ghc-doctest))) + (home-page "https://github.com/informatikr/hedis") + (synopsis + "Client library for the Redis datastore: supports full command set, pipelining") + (description + "Redis is an open source, advanced key-value store. It is often referred +to as a data structure server since keys can contain strings, hashes, lists, +sets and sorted sets. This library is a Haskell client for the Redis datastore. +Compared to other Haskell client libraries it has some advantages. + +Hedis is intended to be used with the latest stable version of Redis. +Most redis commands are available as haskell functions, although MONITOR and SYNC +are intentionally omitted. Additionally, a low-level API is exposed that +makes it easy for the library user to implement further commands, such as new +commands from an experimental Redis version. + +Commands are pipelined as much as possible without any work by the user. + +When subscribed to the Redis PubSub server, clients are not allowed to issue +commands other than subscribing to or unsubscribing from channels. +This library uses the type system to enforce the correct behavior. + +TCP sockets are the default way to connect to a Redis server. For connections +to a server on the same machine, Unix domain sockets offer higher performance +than the standard TCP connection.") + (license license:bsd-3))) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 22:10:46 2021 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:47 +0000 Received: from localhost ([127.0.0.1]:39196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6Q-00029h-Jg for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:46 -0400 Received: from singpolyma.net ([192.99.233.116]:57541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6I-00028c-0f for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:38 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 8BDE94861690; Mon, 27 Sep 2021 02:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708637; bh=JftjfmcSkWL6Hrle6iVwEXIR5oOIagsYt4scDn7VQH0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pFHvsHLFpxqDMPnCsulnwhHRfR3UpAeMbr3Ob7HcfbFWbCYRlittO5/1ynSQ9V9op o0BKFwwXoBgzi6F/U7bCi/m/QYxibQct3UImhSmXe9BvHN3/JdlnS8PB5heeyFmZ9S 9HYpXuZrT1uk3BXINh1Bmbgn0/Fs2lkf88a9HvGA= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH 6/8] gnu: Add ghc-gnutls. Date: Sun, 26 Sep 2021 21:10:31 -0500 Message-Id: <20210927021033.17700-6-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net> References: <20210927021033.17700-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber 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-gnutls): New variable. --- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index a385d3109e..bc2f94b6ac 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -69,6 +69,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages sdl) #:use-module (gnu packages serialization) + #:use-module (gnu packages tls) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system haskell) @@ -15881,3 +15882,27 @@ than the standard TCP connection.") (synopsis "Bindings for GNU libgsasl") (description "Low-level bindings for using gsasl from Haskell.") (license license:gpl3))) + +(define-public ghc-gnutls + (package + (name "ghc-gnutls") + (version "0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/gnutls/gnutls-" + version + ".tar.gz")) + (sha256 + (base32 "1c5pm0d80wpgh2bkcgbvmc72agf89h8ghfnrn1m1x3fljbgzvrn0")))) + (build-system haskell-build-system) + (inputs + `(("ghc-monads-tf" ,ghc-monads-tf) + ("gnutls" ,gnutls))) + (native-inputs `(("pkg-config" ,pkg-config))) + (home-page "https://hackage.haskell.org/package/gnutls") + (synopsis "Bindings for GNU libgnutls") + (description + "Low-level bindings for using gnutls from Haskell.") + (license license:gpl3))) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 22:10:47 2021 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:47 +0000 Received: from localhost ([127.0.0.1]:39198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6Q-00029o-Ud for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:47 -0400 Received: from singpolyma.net ([192.99.233.116]:37443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6H-00028U-EF for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:38 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 504CF486168E; Mon, 27 Sep 2021 02:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708637; bh=STLnIjtDoXgcDksjNQwtZDBLt+vXRQxOrPVQvPQkA6w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CqvHZn9tCQ5fbqIgUcnQdBD3r7841Rz1Zmt1byawO5GVHTZyIwxMImvWfgIK8lZF0 J2+pR6Omeafi4j1Itr1MZvPFtXPtLdSxPHZdZGtfAETj2JQ3kJnl6elJ9j8FFS/2ZQ xKXGDUWV8ndd1I/WgcYdCJjtToFpvGW71Ui8G4cU= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH 4/8] gnu: Add ghc-libxml-sax. Date: Sun, 26 Sep 2021 21:10:29 -0500 Message-Id: <20210927021033.17700-4-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net> References: <20210927021033.17700-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber 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-libxml-sax): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 55efd9da2b..0e00bc0605 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15831,3 +15831,26 @@ TCP sockets are the default way to connect to a Redis server. For connections to a server on the same machine, Unix domain sockets offer higher performance than the standard TCP connection.") (license license:bsd-3))) + +(define-public ghc-libxml-sax + (package + (name "ghc-libxml-sax") + (version "0.7.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/libxml-sax/libxml-sax-" + version + ".tar.gz")) + (sha256 + (base32 "0lbdq6lmiyrnzk6gkx09vvp928wj8qnqnqfzy14mfv0drj21f54r")))) + (build-system haskell-build-system) + (inputs + `(("ghc-xml-types" ,ghc-xml-types) + ("libxml2" ,libxml2))) + (native-inputs `(("pkg-config" ,pkg-config))) + (home-page "https://hackage.haskell.org/package/libxml-sax") + (synopsis "Bindings for the libXML2 SAX interface") + (description "A very simple and direct binding to libXML2's SAX parser.") + (license license:expat))) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 22:10:47 2021 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:47 +0000 Received: from localhost ([127.0.0.1]:39200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6R-00029v-8r for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:47 -0400 Received: from singpolyma.net ([192.99.233.116]:36913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6I-00028d-0L for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:39 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id AAB8F4861691; Mon, 27 Sep 2021 02:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708637; bh=Hzsl2IJOT5iuj7RYu3Waq7A/m3BA/PvgGE6ETQYMrIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fVCZ8UniCGdRB3kfKw4G9+6QAiNbaSB6CE2EJwhJ4dAbkaK1TIy7iaCh3EIOsGWgh gqojqU6aIpRDwz7kyXztyyennuURd0jPpdHx9sXaUVhBBLTKlbawp9qn79A75A/HD5 MUuy0LUi5FRdtGo8GiI0nWcFlKsg3ARJ2doFUbB4= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH 7/8] gnu: Add ghc-gnuidn. Date: Sun, 26 Sep 2021 21:10:32 -0500 Message-Id: <20210927021033.17700-7-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net> References: <20210927021033.17700-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber 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-gnuidn): New variable. --- gnu/packages/haskell-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index bc2f94b6ac..44ab7072c9 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -60,6 +60,7 @@ #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-web) #:use-module (gnu packages libffi) + #:use-module (gnu packages libidn) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages lua) @@ -15906,3 +15907,37 @@ than the standard TCP connection.") (description "Low-level bindings for using gnutls from Haskell.") (license license:gpl3))) + +(define-public ghc-gnuidn + (package + (name "ghc-gnuidn") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/gnuidn/gnuidn-" + version + ".tar.gz")) + (sha256 + (base32 "0vxrcp9xz5gsvx60k12991zn5c9nk3fgg0yw7dixbsjcfqgnnd31")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'less-strict-dependencies + (lambda _ + (substitute* "gnuidn.cabal" + (("chell >= 0.4 && < 0.5") "chell <0.6")) + #t))))) + (inputs `(("libidn" ,libidn))) + (native-inputs + `(("ghc-chell" ,ghc-chell) + ("ghc-c2hs" ,ghc-c2hs) + ("ghc-chell-quickcheck" ,ghc-chell-quickcheck) + ("ghc-quickcheck" ,ghc-quickcheck) + ("pkg-config" ,pkg-config))) + (home-page "https://hackage.haskell.org/package/gnuidn") + (synopsis "Bindings for GNU IDN") + (description "Low-level bindings for using libidn in Haskell.") + (license license:gpl3))) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 22:10:47 2021 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:48 +0000 Received: from localhost ([127.0.0.1]:39202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6R-0002A2-Ip for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:47 -0400 Received: from singpolyma.net ([192.99.233.116]:57821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6H-00028V-Hp for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:39 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 6B099486168F; Mon, 27 Sep 2021 02:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708637; bh=i0Zjpo0K3urTZHZkLucKpMTuHcM1xIwx0DtXJYrq0Ys=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bYrwNkadCNkZ0LuaPx353hwoUw1KS+h7cXpfgut2vrScBDsvOsgAeTC4/cUT86N7n bd1aI7ENJxlgHuQQHtKZYcfm6yxO1NKHmyNfjt21/5xNdIkhJLPESR2KPJBggOjevM mT6PjrDg60PhcuP+Nucv0NPyZQ15b2Nx07Yo9TBs= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH 5/8] gnu: Add ghc-gsasl. Date: Sun, 26 Sep 2021 21:10:30 -0500 Message-Id: <20210927021033.17700-5-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net> References: <20210927021033.17700-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber 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-gsasl): New variable. --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 0e00bc0605..a385d3109e 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -52,6 +52,7 @@ #:use-module (gnu packages emacs) #:use-module (gnu packages gl) #:use-module (gnu packages graphviz) + #:use-module (gnu packages gsasl) #:use-module (gnu packages gtk) #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-apps) @@ -15854,3 +15855,29 @@ than the standard TCP connection.") (synopsis "Bindings for the libXML2 SAX interface") (description "A very simple and direct binding to libXML2's SAX parser.") (license license:expat))) + +(define-public ghc-gsasl + (package + (name "ghc-gsasl") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/gsasl/gsasl-" + version + ".tar.gz")) + (sha256 + (base32 "11i12r9s30jrq8hkgqagf2fd129r6ya607s9ibw549ablsxgr507")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "1c806a82qd1hkxxfh1mwk0i062bz6fkaap5ys3n4x9n6wjv7ilin"))) + (inputs + `(("ghc-monad-loops" ,ghc-monad-loops) + ("gsasl" ,gsasl))) + (native-inputs `(("pkg-config" ,pkg-config))) + (home-page "https://git.singpolyma.net/gsasl-haskell") + (synopsis "Bindings for GNU libgsasl") + (description "Low-level bindings for using gsasl from Haskell.") + (license license:gpl3))) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 22:10:48 2021 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:48 +0000 Received: from localhost ([127.0.0.1]:39204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6R-0002AA-TD for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:48 -0400 Received: from singpolyma.net ([192.99.233.116]:60801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6I-00028h-59 for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:39 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id C6C004861692; Mon, 27 Sep 2021 02:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708637; bh=HnMHyvoj5T+hX/p0N0E0LvBpq1Fm/8ulALmqpYeJcfc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QX6Aq2neJySAyjZn9ZOwG3N3zmDQmBAqd0IB7vzKu+46LWJFl3oc0INhyCY4BEuet sBKdsqZGrySdOFZOGK6GTmZ+Zmv1eoTIB3ntjqVS/UJaIS5QZPvZrer/j3D29+TtDq wl6AhZa55Yicpbrm9RNYEhrgXbo1QHTiqoiZfRuA= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH 8/8] gnu: Add ghc-network-protocol-xmpp. Date: Sun, 26 Sep 2021 21:10:33 -0500 Message-Id: <20210927021033.17700-8-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net> References: <20210927021033.17700-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber 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-network-protocol-xmpp): New variable. --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 44ab7072c9..433f444a74 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15941,3 +15941,32 @@ than the standard TCP connection.") (synopsis "Bindings for GNU IDN") (description "Low-level bindings for using libidn in Haskell.") (license license:gpl3))) + +(define-public ghc-network-protocol-xmpp + (package + (name "ghc-network-protocol-xmpp") + (version "0.4.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "network-protocol-xmpp/network-protocol-xmpp-" + version + ".tar.gz")) + (sha256 + (base32 "1qjm22qvsmfsf9kmg0ha117yidys0yp80mawvnzs8ym5a6j80x42")))) + (build-system haskell-build-system) + (inputs + `(("ghc-gnuidn" ,ghc-gnuidn) + ("ghc-gnutls" ,ghc-gnutls) + ("ghc-gsasl" ,ghc-gsasl) + ("ghc-libxml-sax" ,ghc-libxml-sax) + ("ghc-monads-tf" ,ghc-monads-tf) + ("ghc-network" ,ghc-network) + ("ghc-xml-types" ,ghc-xml-types))) + (home-page "https://git.singpolyma.net/network-protocol-xmpp") + (synopsis "Client library for the XMPP protocol") + (description "Client or component library for XMPP in Haskell. +Does only what it needs to and nothing more, no XEP wrappers, etc.") + (license license:gpl3))) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:03 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:03 +0000 Received: from localhost ([127.0.0.1]:34994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Pq-OJ for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:03 -0500 Received: from singpolyma.net ([192.99.233.116]:58485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbH-0000PL-JW for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:00 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id D6A5E486170C; Fri, 14 Jan 2022 02:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128358; bh=UEqReDEOT88bh2b2aAnACLrRlh7OWMlKLvofO9MwXQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dBIjeqdv7H6TkoZ2imFiz5NTr+dCxP3PmUk44WQ+Pt6nBawcYkIGsOr1awtfaLoq+ wv/kwi1nd5NrX068pk3NhxEiCiBr2JuyB+Hc6GiCyDno+B8Y8kKGz2Wy3OkK3IkhFg gRUGaL4XSOLxbqU7YEEdW6CQC95R/2yukBnZAp74= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 05/24] gnu: Add ghc-gsasl. Date: Thu, 13 Jan 2022 21:45:27 -0500 Message-Id: <20220114024546.75747-5-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-gsasl): New variable. --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 71e06e26bd..3820964eeb 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -53,6 +53,7 @@ #:use-module (gnu packages emacs) #:use-module (gnu packages gl) #:use-module (gnu packages graphviz) + #:use-module (gnu packages gsasl) #:use-module (gnu packages gtk) #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-apps) @@ -16175,3 +16176,31 @@ than the standard TCP connection.") (description "LibXML-SAX is a very simple and direct binding to libXML2's SAX parser.") (license license:expat))) + +(define-public ghc-gsasl + (package + (name "ghc-gsasl") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/gsasl/gsasl-" + version + ".tar.gz")) + (sha256 + (base32 "11i12r9s30jrq8hkgqagf2fd129r6ya607s9ibw549ablsxgr507")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "1c806a82qd1hkxxfh1mwk0i062bz6fkaap5ys3n4x9n6wjv7ilin"))) + (inputs + (list + ghc-monad-loops + gsasl)) + (native-inputs `(("pkg-config" ,pkg-config))) + (home-page "https://git.singpolyma.net/gsasl-haskell") + (synopsis "Bindings for GNU libgsasl") + (description + "This library provides low-level bindings for using gsasl from Haskell.") + (license license:gpl3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:07 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:07 +0000 Received: from localhost ([127.0.0.1]:35009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbP-0000SJ-9y for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:07 -0500 Received: from singpolyma.net ([192.99.233.116]:50303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbI-0000PU-HG for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:00 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 01594486170D; Fri, 14 Jan 2022 02:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=7BztwYP8RN1op8/FI7PJpQWTNaWVvjm6dCFiL+SF4Xo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BCbbxmKJ06xOCmp156+eV18wlJWKDUcqiHIA/ekiiMqmL3OLfkdsArtAw8HznNOpH /jblFq5n1jP7vJ5acZvoPEV/Sca57nCMhdP9z5slQcqmNrT06E6150fdHRbikXpjg8 qAbaE80vHJwAJ/uSifUYQTDWvHBlAHm62pEtdRwo= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 06/24] gnu: Add ghc-gnutls. Date: Thu, 13 Jan 2022 21:45:28 -0500 Message-Id: <20220114024546.75747-6-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-gnutls): New variable. --- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 3820964eeb..d8b1218d69 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16204,3 +16204,28 @@ SAX parser.") (description "This library provides low-level bindings for using gsasl from Haskell.") (license license:gpl3))) + +(define-public ghc-gnutls + (package + (name "ghc-gnutls") + (version "0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/gnutls/gnutls-" + version + ".tar.gz")) + (sha256 + (base32 "1c5pm0d80wpgh2bkcgbvmc72agf89h8ghfnrn1m1x3fljbgzvrn0")))) + (build-system haskell-build-system) + (inputs + (list + ghc-monads-tf + gnutls)) + (native-inputs (list pkg-config)) + (home-page "https://hackage.haskell.org/package/gnutls") + (synopsis "Bindings for GNU libgnutls") + (description + "This library provides Low-level bindings for using gnutls from Haskell.") + (license license:gpl3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:08 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:08 +0000 Received: from localhost ([127.0.0.1]:35011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbP-0000SM-Nt for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:08 -0500 Received: from singpolyma.net ([192.99.233.116]:47763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbI-0000PV-Ih for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:01 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 238AB486170E; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=rhWyywYdp6Xi5PPUpNZkzDH6Qcq3scsRYLZLqqTY3xo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DJgdlSKMcEpTfNqJqDWJR7KwRqY1fSo2xiI3JboVsd7FXp5F7EvGKvbzy+Qv9CXA9 /yPByTpnp+yhEatVgxboRajHc2k3ef4XtHIer6X07btnxPFYsd00yZl402Y9EamC0Z 5hPGVEd8tCQfOnowJk+42cHBnrffNg/YkU/uALMw= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 07/24] gnu: Add ghc-gnuidn. Date: Thu, 13 Jan 2022 21:45:29 -0500 Message-Id: <20220114024546.75747-7-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-gnuidn): New variable. --- gnu/packages/haskell-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index d8b1218d69..a206e8cabb 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -61,6 +61,7 @@ #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-web) #:use-module (gnu packages libffi) + #:use-module (gnu packages libidn) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages lua) @@ -16229,3 +16230,38 @@ SAX parser.") (description "This library provides Low-level bindings for using gnutls from Haskell.") (license license:gpl3))) + +(define-public ghc-gnuidn + (package + (name "ghc-gnuidn") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/gnuidn/gnuidn-" + version + ".tar.gz")) + (sha256 + (base32 "0vxrcp9xz5gsvx60k12991zn5c9nk3fgg0yw7dixbsjcfqgnnd31")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'less-strict-dependencies + (lambda _ + (substitute* "gnuidn.cabal" + (("chell >= 0.4 && < 0.5") "chell <0.6"))))))) + (inputs (list libidn)) + (native-inputs + (list + ghc-chell + ghc-c2hs + ghc-chell-quickcheck + ghc-quickcheck + pkg-config)) + (home-page "https://hackage.haskell.org/package/gnuidn") + (synopsis "Bindings for GNU IDN") + (description + "This library provides low-level bindings for using libidn in Haskell.") + (license license:gpl3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:08 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:08 +0000 Received: from localhost ([127.0.0.1]:35013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbQ-0000ST-2T for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:08 -0500 Received: from singpolyma.net ([192.99.233.116]:33457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbH-0000PI-KL for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:01 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 81D854861709; Fri, 14 Jan 2022 02:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128358; bh=wjbU+UxXaFxkNzQrC+JsUGFxsRcuxfoP112sNJ+RhlE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AiRgcfKExvvw59aagUT1tDLqEVln00X1F/VHessuhaS/AD5NuPww+RIM5+8aTMJMd I6YUbrwU2wcYi+E1OegyAu4XizehB+HRYftj6bM9Mh4DvHo3YzQW86mgS7Qo48ACxo rN0ZrqTcNzHHcId8+nECtu1MNXdtIidenkFkVbE8= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 02/24] gnu: Add ghc-scanner. Date: Thu, 13 Jan 2022 21:45:24 -0500 Message-Id: <20220114024546.75747-2-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-scanner): New variable. --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 8260bb7dc4..9670b50a65 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16057,3 +16057,30 @@ data Dec a patrickmn/go-cache for Go. The cache is a shared mutable HashMap implemented using STM and with support for expiration times.") (license license:bsd-3))) + +(define-public ghc-scanner + (package + (name "ghc-scanner") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/scanner/scanner-" + version + ".tar.gz")) + (sha256 + (base32 "1mhqh94qra08zidqfsq0gxi83cgflqldnk9rr53haynbgmd5y82k")))) + (build-system haskell-build-system) + (inputs (list ghc-fail)) + (native-inputs + (list + ghc-hspec + pkg-config)) + (home-page "https://github.com/Yuras/scanner") + (synopsis + "Fast non-backtracking incremental combinator parsing for bytestrings") + (description + "Scanner is a parser combinator library designed to be fast. +It doesn't support backtracking.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:08 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:08 +0000 Received: from localhost ([127.0.0.1]:35015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbQ-0000Sa-CX for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:08 -0500 Received: from singpolyma.net ([192.99.233.116]:35941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbH-0000PK-L6 for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:01 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id BB7B1486170B; Fri, 14 Jan 2022 02:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128358; bh=JI2cHWJkm9CRjxxwhj565N9CcQ+QyzRouRSH02Iuvvw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sW8geojfjJzNwoOucEN3b01Sd3GzJSrMTdhzcyR8u266io1YFPov3m16nhf0EFKjh Ko4oyP98OHa9pluC8t4DVrXAmHgpB3yniY7ai6P+aaOqK3G9VdHSHPECIk954XpvpQ W57dXAX/VWB0ROrL8d9JkSJlg3DDnrN/B1ehLBPM= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 04/24] gnu: Add ghc-libxml-sax. Date: Thu, 13 Jan 2022 21:45:26 -0500 Message-Id: <20220114024546.75747-4-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-libxml-sax): New variable. --- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index bf1aa68305..71e06e26bd 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16150,3 +16150,28 @@ TCP sockets are the default way to connect to a Redis server. For connections to a server on the same machine, Unix domain sockets offer higher performance than the standard TCP connection.") (license license:bsd-3))) + +(define-public ghc-libxml-sax + (package + (name "ghc-libxml-sax") + (version "0.7.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/libxml-sax/libxml-sax-" + version + ".tar.gz")) + (sha256 + (base32 "0lbdq6lmiyrnzk6gkx09vvp928wj8qnqnqfzy14mfv0drj21f54r")))) + (build-system haskell-build-system) + (inputs + (list + ghc-xml-types + libxml2)) + (native-inputs `(("pkg-config" ,pkg-config))) + (home-page "https://hackage.haskell.org/package/libxml-sax") + (synopsis "Bindings for the libXML2 SAX interface") + (description "LibXML-SAX is a very simple and direct binding to libXML2's +SAX parser.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:08 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:09 +0000 Received: from localhost ([127.0.0.1]:35017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbQ-0000Si-KZ for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:08 -0500 Received: from singpolyma.net ([192.99.233.116]:50303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbI-0000PU-OM for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:01 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 40EDC486170F; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=TcWVWMOlDseKVq+064aV+rd+93X7HXPaQ2sYkBUZVkU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L/6+YtQq7VkQFY+Qktm1IysGbDtouMHDa/XVCCdsL9oQ0L7VuOwMG/eaV97tXQhKG eh1ZREguzxZrlXw9EF52N/xFpipecgdn8hMegkgIEYuFx6P9ImE1NVXsHzCg12okdf WcI1iwKahPVADfGMJe2bMPqltoBYgi326BO9fdVc= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 08/24] gnu: Add ghc-network-simple. Date: Thu, 13 Jan 2022 21:45:30 -0500 Message-Id: <20220114024546.75747-8-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-network-simple): New variable. --- gnu/packages/haskell-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index a206e8cabb..8c02385f26 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16265,3 +16265,22 @@ SAX parser.") (description "This library provides low-level bindings for using libidn in Haskell.") (license license:gpl3))) + +(define-public ghc-network-simple + (package + (name "ghc-network-simple") + (version "0.4.5") + (source + (origin + (method url-fetch) + (uri (hackage-uri "network-simple" version)) + (sha256 + (base32 "17hpgcwrsx2h8lrb2wwzy0anp33mn80dnwcgnqmb8prajwjvz807")))) + (build-system haskell-build-system) + (inputs (list ghc-network ghc-network-bsd ghc-safe-exceptions ghc-socks)) + (home-page "https://github.com/k0001/network-simple") + (synopsis "Simple network sockets usage patterns") + (description + "Network Simple exports functions that abstract simple network socket +usage patterns.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:09 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:09 +0000 Received: from localhost ([127.0.0.1]:35019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbQ-0000Sp-Tg for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:09 -0500 Received: from singpolyma.net ([192.99.233.116]:34921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbH-0000PH-Ke for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:02 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 9CBFE486170A; Fri, 14 Jan 2022 02:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128358; bh=hzS0NzxRnV8RuEGCz/Kq6ygVHXFGRCO4wgaLRNTsMGk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TO+j06Y/WWH2pCJ7t0SQ0i2oHmat79yFyQ8F3z9ShTrQsbrtK83SfRdXJXduq31dz 914gn/W3Qamcz/8Tz/MxMqXLN90RqeXo5/wFeZf5G//6fPz8bZduRt/49or58pVrqh DBIQrjdhMeaGlEpEnAqIs98B/Pt0CZ7rRvnTV5HI= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 03/24] gnu: Add ghc-hedis. Date: Thu, 13 Jan 2022 21:45:25 -0500 Message-Id: <20220114024546.75747-3-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-hedis): New variable. --- gnu/packages/haskell-xyz.scm | 66 ++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 9670b50a65..bf1aa68305 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16084,3 +16084,69 @@ using STM and with support for expiration times.") "Scanner is a parser combinator library designed to be fast. It doesn't support backtracking.") (license license:bsd-3))) + +(define-public ghc-hedis + (package + (name "ghc-hedis") + (version "0.14.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hedis/hedis-" + version + ".tar.gz")) + (sha256 + (base32 "0h6s3x3pylyidjbzjqyrmc2cm5ls67m9iij35fn48rvq4l41w9h9")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + ; The main tests require redis-server running, but not doctest + (when tests? (invoke "runhaskell" "Setup.hs" "test" "doctest"))))))) + (inputs + (list + ghc-scanner + ghc-async + ghc-bytestring-lexing + ghc-unordered-containers + ghc-network + ghc-resource-pool + ghc-tls + ghc-vector + ghc-http + ghc-errors + ghc-network-uri)) + (native-inputs + (list + ghc-hunit + ghc-test-framework + ghc-test-framework-hunit + ghc-doctest)) + (home-page "https://github.com/informatikr/hedis") + (synopsis + "Client library for the Redis datastore: supports full command set, pipelining") + (description + "Redis is an open source, advanced key-value store. It is often referred +to as a data structure server since keys can contain strings, hashes, lists, +sets and sorted sets. This library is a Haskell client for the Redis datastore. +Compared to other Haskell client libraries it has some advantages. + +Hedis is intended to be used with the latest stable version of Redis. +Most redis commands are available as haskell functions, although MONITOR and SYNC +are intentionally omitted. Additionally, a low-level API is exposed that +makes it easy for the library user to implement further commands, such as new +commands from an experimental Redis version. + +Commands are pipelined as much as possible without any work by the user. + +When subscribed to the Redis PubSub server, clients are not allowed to issue +commands other than subscribing to or unsubscribing from channels. +This library uses the type system to enforce the correct behavior. + +TCP sockets are the default way to connect to a Redis server. For connections +to a server on the same machine, Unix domain sockets offer higher performance +than the standard TCP connection.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:09 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:09 +0000 Received: from localhost ([127.0.0.1]:35021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbR-0000Sw-AT for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:09 -0500 Received: from singpolyma.net ([192.99.233.116]:52021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbI-0000Pd-Qp for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:02 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 7385E4861710; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=Z52hVLKWYKk8UOfSBGu/UYRDzAHS70myCglJbqArljg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RdJ2m3HKKzcQTx1Y8LrdGtWRiKyoKMN1B6IzzQOuRjYnInpVX4jiKuVnfouTk6lxe HQD75tsFAaV7g3J34tEliBsGoq++7+c756IX33eWRPBWHq2PQ0zgmWlb3u+qQJf0TR VDFmjiJ5ugBfqWPx/DZI8F50GhAWrCaZ++j6IRP4= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 09/24] gnu: Add ghc-network-protocol-xmpp. Date: Thu, 13 Jan 2022 21:45:31 -0500 Message-Id: <20220114024546.75747-9-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-network-protocol-xmpp): New variable. --- gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 8c02385f26..cf96ca2633 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16284,3 +16284,34 @@ SAX parser.") "Network Simple exports functions that abstract simple network socket usage patterns.") (license license:bsd-3))) + +(define-public ghc-network-protocol-xmpp + (package + (name "ghc-network-protocol-xmpp") + (version "0.4.10") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "network-protocol-xmpp/network-protocol-xmpp-" + version + ".tar.gz")) + (sha256 + (base32 "03xlw8337lzwp7f5jvbvgirf546pfmfsfjvnik08qjjy1rfn5jji")))) + (build-system haskell-build-system) + (inputs + (list + ghc-gnuidn + ghc-gnutls + ghc-gsasl + ghc-libxml-sax + ghc-monads-tf + ghc-network + ghc-network-simple + ghc-xml-types)) + (home-page "https://git.singpolyma.net/network-protocol-xmpp") + (synopsis "Client library for the XMPP protocol") + (description "Network-protocol-XMPP is a client or component library for XMPP. +Does only what it needs to do and nothing more, no XEP wrappers etc.") + (license license:gpl3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:10 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:10 +0000 Received: from localhost ([127.0.0.1]:35023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbR-0000T3-KZ for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:09 -0500 Received: from singpolyma.net ([192.99.233.116]:47763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000PV-7Y for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:02 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 951CB4861711; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=WukWDB4M8SIQqQcE5C2GGIH0sylK7q1TCicr9t2CheE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FNUTiGEGO3/zb8SQtcVRIbf3Cd6yoO5gDDPMeCmA9JMQrTYQ8LBMtKmhmR4FRNmkx b7sElUQoqa4ZiRHxDeEx7mIOF4GzhHL0w8h81VgRxr2p1bqv4gYbws0dONXVrZ3frN BSEdZSd05OFJK2WKhXMZskG+djvxcY/+Ko9eZmkg= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 10/24] gnu: Add ghc-unexceptionalio-trans. Date: Thu, 13 Jan 2022 21:45:32 -0500 Message-Id: <20220114024546.75747-10-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-unexceptional-trans): New variable. --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index cf96ca2633..ebee13023e 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13615,6 +13615,33 @@ unbounded @code{Integer} type.") handled safely, this is what you're left with.") (license license:isc))) +(define-public ghc-unexceptionalio-trans + (package + (name "ghc-unexceptionalio-trans") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "unexceptionalio-trans" version)) + (sha256 + (base32 "100sfbrpaldz37a176qpfkk1nx5acyh8pchjmb8g5vhzbhyrqniz")))) + (build-system haskell-build-system) + (inputs (list ghc-unexceptionalio)) + (arguments + `(#:cabal-revision + ("1" "0f15n8hqqczwjrcqxwjp2mrd9iycv53sylv407c95nb6d4hw93ci"))) + (home-page "https://github.com/singpolyma/unexceptionalio-trans") + (synopsis "Wrapper around UnexceptionalIO using monad transformers") + (description + "UnexceptionalIO provides a basic type to witness having caught all +exceptions you can safely handle. This library builds on that with +transformers like ExceptT to provide a more ergonomic tool for many cases. +It is intended that you use qualified imports with this library. + +> import UnexceptionalIO.Trans (UIO) +> import qualified UnexceptionalIO.Trans as UIO") + (license license:isc))) + (define-public ghc-unicode-transforms (package (name "ghc-unicode-transforms") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:10 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:10 +0000 Received: from localhost ([127.0.0.1]:35025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbR-0000TB-Uq for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:10 -0500 Received: from singpolyma.net ([192.99.233.116]:53773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Pi-AB for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:03 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id B25CC4861712; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=g5umJconvr2lUkHe0k28ONWquhYIXSPKdv3XnyLFpqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o1THQgtHWOT84JMxARKdH53hZL6rOE5US15MKuO6U+NyvJNZ8rbIX0ZvSYvZKeP6m ob5l9iDsgAlQ+vchJRNIISWWadO9RtjUEgxy6Atg3Y02lvE32kEGAyDiHmY0Bp4hVw /Xrko3aCz5SoundscJjXVwu2Knh31yR232fQJelc= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 11/24] gnu: Add ghc-base58-bytestring. Date: Thu, 13 Jan 2022 21:45:33 -0500 Message-Id: <20220114024546.75747-11-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-xyz.scm (ghc-base58-bytestring): New variable. --- gnu/packages/haskell-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index ebee13023e..602fdc3ac1 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16342,3 +16342,25 @@ usage patterns.") (description "Network-protocol-XMPP is a client or component library for XMPP. Does only what it needs to do and nothing more, no XEP wrappers etc.") (license license:gpl3))) + +(define-public ghc-base58-bytestring + (package + (name "ghc-base58-bytestring") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "base58-bytestring" version)) + (sha256 + (base32 "1ls05nzswjr6aw0wwk3q7cpv1hf0lw7vk16a5khm6l21yfcgbny2")))) + (build-system haskell-build-system) + (native-inputs + (list ghc-quickcheck-assertions + ghc-quickcheck-instances + ghc-tasty + ghc-tasty-quickcheck)) + (home-page "https://bitbucket.org/s9gf4ult/base58-bytestring") + (synopsis "Implementation of BASE58 transcoding for ByteStrings") + (description + "Base58 ByteString is an implementation of BASE58 transcoding.") + (license license:public-domain))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:10 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:10 +0000 Received: from localhost ([127.0.0.1]:35027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbS-0000TI-A9 for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:10 -0500 Received: from singpolyma.net ([192.99.233.116]:46571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Po-OS for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:03 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id D13B04861713; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=ZdMmj4ATchzx8iH99KZfaJ+C5UaWDy0I+u5ex/PmZNk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N2+7bXF4GTIQfI7fYnqkI5nNETU0MDpSeohMCQUxJc4y45X//0c4P7uljcwjQ3f2w byadeIUO2w6gGo4hfDPiwlYHRQvg6vrvK/szoyR9riVVU01Oi3fxUxXk+nkPy2CI+H SRHDM1X5duG5C5TUUrjRrNTMpuQSULRYC8+5csRc= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 12/24] gnu: Add ghc-hstatsd. Date: Thu, 13 Jan 2022 21:45:34 -0500 Message-Id: <20220114024546.75747-12-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-hstatsd): New variable. --- gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 602fdc3ac1..146d5ce2cf 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16364,3 +16364,27 @@ Does only what it needs to do and nothing more, no XEP wrappers etc.") (description "Base58 ByteString is an implementation of BASE58 transcoding.") (license license:public-domain))) + +(define-public ghc-hstatsd + (package + (name "ghc-hstatsd") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "hstatsd" version)) + (sha256 + (base32 "092q52yyb1xdji1y72bdcgvp8by2w1z9j717sl1gmh2p89cpjrs4")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-for-network-3 + (lambda _ + (substitute* "src/Network/StatsD.hs" + (("sClose") "close"))))))) + (inputs (list ghc-network)) + (home-page "https://github.com/mokus0/hstatsd") + (synopsis "Quick and dirty statsd interface") + (description "Hstatsd is a statsd interface.") + (license license:public-domain))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:10 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:11 +0000 Received: from localhost ([127.0.0.1]:35029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbS-0000TP-Iu for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:10 -0500 Received: from singpolyma.net ([192.99.233.116]:44505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Pp-OZ for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:04 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 0E35B4861714; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=M1nxVXScYxfz+B9Hzy2jmAIve9s5piK3njMoo5VyFyg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=idwrsKzZMi3Kftck0r6zF7urxV5FX1XzFVeIfSCmlGjutky27pisiUv4C6Zq0ssc/ dFhB7CTkup2c18gBM9FBPkbdnL1w+sp/uoHtF4MyuRWQ27SctptxTgrq7UHsqDk9LB YLrWLvjgw0qIdFe8HCjkpHSp7KOfqsdBrJurYdhQ= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 13/24] gnu: Add ghc-random-shuffle. Date: Thu, 13 Jan 2022 21:45:35 -0500 Message-Id: <20220114024546.75747-13-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-random-shuffle): New variable. --- gnu/packages/haskell-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 146d5ce2cf..74d6460edf 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16388,3 +16388,23 @@ Does only what it needs to do and nothing more, no XEP wrappers etc.") (synopsis "Quick and dirty statsd interface") (description "Hstatsd is a statsd interface.") (license license:public-domain))) + +(define-public ghc-random-shuffle + (package + (name "ghc-random-shuffle") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (hackage-uri "random-shuffle" version)) + (sha256 + (base32 "0586bnlh0g2isc44jbjvafkcl4yw6lp1db8x6vr0pza0y08l8w2j")))) + (build-system haskell-build-system) + (inputs (list ghc-random ghc-monadrandom)) + (home-page "http://hackage.haskell.org/package/random-shuffle") + (synopsis "Random shuffle implementation") + (description + "This library is a random shuffle implementation on immutable lists, +based on `perfect shuffle' implementation by Oleg Kiselyov +available at http://okmij.org/ftp/Haskell/perfect-shuffle.txt") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:11 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:11 +0000 Received: from localhost ([127.0.0.1]:35031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbS-0000TX-Sn for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:11 -0500 Received: from singpolyma.net ([192.99.233.116]:37735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Px-Sr for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:04 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 435324861715; Fri, 14 Jan 2022 02:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=OlG/H+1ZYNB/AD8hCj2viLDSV0QK0rGzGwCM07X3kUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V3HP+OLUEWx+d/cxOXowtsaLcxwEpU9a+fMaVdm5+NmZERKAoMcMjMNHN8W0N0f7G givsLtZAjfEbzeT1sDKwQaL/EVzv1s6ZGYvisNum4wbiGY1cRSrWXCVxHzw+KBUXiv DWpSw4AU46N9/WQrddLtaIuWfWJvwobxde8/DC4E= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 14/24] gnu: Add ghc-stm-delay. Date: Thu, 13 Jan 2022 21:45:36 -0500 Message-Id: <20220114024546.75747-14-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-stm-delay): New variable. --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 74d6460edf..f7a04e2976 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16408,3 +16408,24 @@ Does only what it needs to do and nothing more, no XEP wrappers etc.") based on `perfect shuffle' implementation by Oleg Kiselyov available at http://okmij.org/ftp/Haskell/perfect-shuffle.txt") (license license:bsd-3))) + +(define-public ghc-stm-delay + (package + (name "ghc-stm-delay") + (version "0.1.1.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "stm-delay" version)) + (sha256 + (base32 "0cla21v89gcvmr1iwzibq13v1yq02xg4h6k9l6kcprj7mhd5hcmi")))) + (build-system haskell-build-system) + (home-page "https://github.com/joeyadams/haskell-stm-delay") + (synopsis "Updatable one-shot timer polled with STM") + (description + "STM Delay lets you create a one-shot timer, poll it using STM, +and update it to ring at a different time than initially specified. It uses +GHC event manager timeouts when available (GHC 7.2+, -threaded, non-Windows OS), +yielding performance similar to threadDelay and registerDelay. Otherwise, +it falls back to forked threads and threadDelay.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:11 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:11 +0000 Received: from localhost ([127.0.0.1]:35033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbT-0000Te-6u for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:11 -0500 Received: from singpolyma.net ([192.99.233.116]:46827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Pz-Tf for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:04 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 6C1CA4861716; Fri, 14 Jan 2022 02:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=wn4H7IwKWwwiBAenXb1s/MqNG3wPXDffPCXIH0Fl9mc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ET2mk02MO/e4CLUx8Hr6aLN7Tfk9UPkw6LrZfjR2UctgmcHT88957FUJxdm4RgV+H taf/1JUzAG2DMrfmVxwBPFXPs6VFaWfakiGdexjT40EgVV9zSPVFEYojjK6Ubch4Ar kSWVuYwR7/beTOZygRYQFijxeqo25Rwzgv5y2x7A= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 15/24] gnu: Add ghc-hostandport. Date: Thu, 13 Jan 2022 21:45:37 -0500 Message-Id: <20220114024546.75747-15-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-hostandport): New variable. --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f7a04e2976..c4fd46fcab 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16429,3 +16429,24 @@ GHC event manager timeouts when available (GHC 7.2+, -threaded, non-Windows OS), yielding performance similar to threadDelay and registerDelay. Otherwise, it falls back to forked threads and threadDelay.") (license license:bsd-3))) + +(define-public ghc-hostandport + (package + (name "ghc-hostandport") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "HostAndPort" version)) + (sha256 + (base32 "1rjv6c7j6fdy6gnn1zr5jnfmiqiamsmjfw9h3bx119giw3sjb9hm")))) + (build-system haskell-build-system) + (native-inputs + (list ghc-hspec ghc-doctest)) + (home-page "https://github.com/bacher09/hostandport") + (synopsis "Parser for host and port pairs like localhost:22") + (description + "HostAndPort is a simple parser for parsing host and port pairs. +Host can be either ipv4, ipv6 or domain name and port are optional. +IPv6 address should be surrounded by square brackets.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:11 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:11 +0000 Received: from localhost ([127.0.0.1]:35035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbT-0000Tm-GR for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:11 -0500 Received: from singpolyma.net ([192.99.233.116]:50303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbK-0000PU-1P for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:04 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 894124861717; Fri, 14 Jan 2022 02:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=rA7ZEIUbpw0Praqgwtt8iwAF7XF3DJHLTW2MX+yspME=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FiLMbXys872V10ozAuhXrNrOat3dGhFZhxrvqH3BCKKtKcy8hsj6RJ3lE4/H4RrKn 4UuEYLaMaBwnjIAP4Wtn+hpdn2orywjqLThrospIp8OUK1Pw3fqP34ep7IsHyvcbXS kCuvAJSIlsh3UTzZeMxm9AoKhLemGlBPb/Czpabo= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 16/24] gnu: Add ghc-binary-varint. Date: Thu, 13 Jan 2022 21:45:38 -0500 Message-Id: <20220114024546.75747-16-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-binary-varint): New variable. --- gnu/packages/haskell-xyz.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index c4fd46fcab..1534b454ef 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16450,3 +16450,19 @@ it falls back to forked threads and threadDelay.") Host can be either ipv4, ipv6 or domain name and port are optional. IPv6 address should be surrounded by square brackets.") (license license:expat))) + +(define-public ghc-binary-varint + (package + (name "ghc-binary-varint") + (version "0.1.0.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "binary-varint" version)) + (sha256 + (base32 "1i183ab4bbq3yarijnb2pwgbi9k1w1nc0fs6ph8d8xnysj6ws8l8")))) + (build-system haskell-build-system) + (home-page "https://github.com/monadic-xyz/ipfs") + (synopsis "VarInt encoding/decoding via Data.Binary") + (description "Binary VarInt implements VarInt encoding and decoding.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:12 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:12 +0000 Received: from localhost ([127.0.0.1]:35037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbT-0000Tt-OZ for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:12 -0500 Received: from singpolyma.net ([192.99.233.116]:36611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbK-0000Q8-3g for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:05 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id A67CF4861718; Fri, 14 Jan 2022 02:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=62nGesB0TBkNajL9IjJzB88PY/HtmgkqXMUSlPIPufk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QVtp7GaW5AzE3n/ShpPIp3b7J1r1IuWPXKwgBj8/kJkQ6j9ScF7wtaMahdnKDanmT E6kghNRtMBzI6bI8PV3y6WhtP5Q00kDXNew1zMbaL27xecTCK1jybdO0ChaEazBFXA T7Ek8ijiqd4w9SH7fBWk2L6oT7Y5ULX1tAqVLzTs= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 17/24] gnu: Add ghc-multihash-cryptonite. Date: Thu, 13 Jan 2022 21:45:39 -0500 Message-Id: <20220114024546.75747-17-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-multihash-cryptonite): New variable. --- gnu/packages/haskell-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 1534b454ef..26ac5cdb5d 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16466,3 +16466,23 @@ IPv6 address should be surrounded by square brackets.") (synopsis "VarInt encoding/decoding via Data.Binary") (description "Binary VarInt implements VarInt encoding and decoding.") (license license:bsd-3))) + +(define-public ghc-multihash-cryptonite + (package + (name "ghc-multihash-cryptonite") + (version "0.1.0.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "multihash-cryptonite" version)) + (sha256 + (base32 "0gl13kjqz14lnwz7x162fad3j99qs1xa3zabpr30q53pkzk8adsi")))) + (build-system haskell-build-system) + (inputs (list ghc-binary-varint ghc-cryptonite ghc-hashable ghc-memory)) + (native-inputs (list ghc-hedgehog ghc-doctest ghc-cabal-doctest)) + (home-page "https://github.com/monadic-xyz/ipfs") + (synopsis "Multihash implementation for Haskell") + (description + "Multihash Cryptonite implements self-identifying hashes as an +implementation of https://github.com/multiformats/multihash") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:12 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:12 +0000 Received: from localhost ([127.0.0.1]:35039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbU-0000U1-2s for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:12 -0500 Received: from singpolyma.net ([192.99.233.116]:46507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbK-0000QA-77 for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:05 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id E23C3486171A; Fri, 14 Jan 2022 02:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=wRpq5WjH8X6VC7p78pL6N/saRC/LV16USCNVofu1hXA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uaO8055t3jwdUZNemLioDATfL/N6zc0NkPjG9SnkhAAFRL9pPiIte0LJbKYD/LgqO WZ5jg9VDrvPA7qVYpptC7dhgrbSgVLEBVDaDsvIH5YzwIGxpYEQpD2uWU2ulsIv0WL RPwUoDeai7WYaPmcbrtDHTSgmzVk7CmvlcvqCa4w= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 19/24] gnu: Add ghc-base32-z-bytestring. Date: Thu, 13 Jan 2022 21:45:41 -0500 Message-Id: <20220114024546.75747-19-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-base32-z-bytestring): New variable. --- gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 92b3d99b19..93b81f19de 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16504,3 +16504,36 @@ implementation of https://github.com/multiformats/multihash") "CPU is a library to get basic lowlevel properties of the cpu platform, like endianness and architecture.") (license license:bsd-3))) + +(define-public ghc-base32-z-bytestring + (package + (name "ghc-base32-z-bytestring") + (version "1.0.0.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "base32-z-bytestring" version)) + (sha256 + (base32 "1r0235a2qqnavsm7jl807m555yd2k2vi2kfacw878v83zdr5qyix")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-internal-reference + (lambda _ + (substitute* "base32-z-bytestring.cabal" + (("z-base32-bytestring") "base32-z-bytestring"))))))) + (inputs (list ghc-cpu)) + (native-inputs + (list ghc-hedgehog + ghc-tasty + ghc-tasty-fail-fast + ghc-tasty-hedgehog + ghc-tasty-hspec)) + (home-page "https://github.com/oscoin/base32-z-bytestring") + (synopsis "Fast z-base32 and z-base32hex codec for ByteStrings") + (description + "Base32-Z-ByteString is an implementation of the base32 and base32hex +codecs according to RFC4648, extended to support z-base32 encoding according to +https://gist.github.com/maaku/8996338#file-bip-ecc32-mediawiki.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:12 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:12 +0000 Received: from localhost ([127.0.0.1]:35041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbU-0000U8-D6 for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:12 -0500 Received: from singpolyma.net ([192.99.233.116]:36401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbK-0000Q9-77 for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:05 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id C62F84861719; Fri, 14 Jan 2022 02:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=UQhsNpy/igKN3r9kRrprdDUJk/PBjLWJaIGEyrOhXDA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n0Tux5JLG3X8e75uUS0rJNonZgt8PE0S5rOOx+Tue3FkMIoAdc7rSJGU4VrN40jmq k7rn3T3T6iGvWl/ubqg6viUjVs5VFV9ZLb566Biydi9kB+6+3EJCuu40KuoS/Xw2hh KXgZ7eVemgcKtn1i0TVXG7yO58aJ94UcKPUkLjFY= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 18/24] gnu: Add ghc-cpu. Date: Thu, 13 Jan 2022 21:45:40 -0500 Message-Id: <20220114024546.75747-18-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-cpu): New variable. --- gnu/packages/haskell-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 26ac5cdb5d..92b3d99b19 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16486,3 +16486,21 @@ IPv6 address should be surrounded by square brackets.") "Multihash Cryptonite implements self-identifying hashes as an implementation of https://github.com/multiformats/multihash") (license license:bsd-3))) + +(define-public ghc-cpu + (package + (name "ghc-cpu") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (hackage-uri "cpu" version)) + (sha256 + (base32 "0x19mlanmkg96h6h1i04w2i631z84y4rbk22ki4zhgsajysgw9sn")))) + (build-system haskell-build-system) + (home-page "https://github.com/vincenthz/hs-cpu") + (synopsis "CPU information and properties helpers") + (description + "CPU is a library to get basic lowlevel properties of the cpu platform, +like endianness and architecture.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:13 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:13 +0000 Received: from localhost ([127.0.0.1]:35043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbU-0000UF-Ma for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:12 -0500 Received: from singpolyma.net ([192.99.233.116]:52021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbK-0000Pd-Sl for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:05 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 25EC5486171C; Fri, 14 Jan 2022 02:46:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128361; bh=Iv9Q0Pw2EEtKkCfQXC/vxGA1lAzLx5fjVgjvR8mMIrM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TETGSLUU6L3FRro/a0wEyDc2Ad1G0SL7F6LaI+grwzBkuSATD8CCUylU+QIeH9MeS x1YkHbfSKfllufSD+LBFf9Xknb6g+DeIzyPjvAX5W480249IsYX9KRDP+YnwnDPWlW 44VOKjLp6So3oiV8EDfjgjS5qo/zv5SscOAfBzKo= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 21/24] gnu: Add ghc-tasty-tap. Date: Thu, 13 Jan 2022 21:45:43 -0500 Message-Id: <20220114024546.75747-21-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-tasty-tap): New variable. --- gnu/packages/haskell-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 7ad9c3eabd..7e654c6edf 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16558,3 +16558,22 @@ https://gist.github.com/maaku/8996338#file-bip-ecc32-mediawiki.") (description "Formatting implements combinator-based type-safe formatting.") (license license:bsd-3))) + +(define-public ghc-tasty-tap + (package + (name "ghc-tasty-tap") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "tasty-tap" version)) + (sha256 + (base32 "16i7pd0xis1fyqgmsy4mq04y87ny61dh2lddnjijcf1s9jz9b6x8")))) + (build-system haskell-build-system) + (inputs (list ghc-tasty)) + (native-inputs (list ghc-tasty-hunit ghc-tasty-golden)) + (home-page "https://github.com/michaelxavier/tasty-tap") + (synopsis "TAP (Test Anything Protocol) Version 13 formatter for tasty") + (description + "Tasty TAP is a tasty ingredient to output test results in TAP 13 format.") + (license license:expat))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:13 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:13 +0000 Received: from localhost ([127.0.0.1]:35045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbV-0000UM-0d for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:13 -0500 Received: from singpolyma.net ([192.99.233.116]:47763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbK-0000PV-Um for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:06 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 61AF2486171E; Fri, 14 Jan 2022 02:46:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128361; bh=vc6sEhRAnZeVgJR1aMdm3JuB/KMWfoEiFM6wtIXE5Ls=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QeFNzZytTCNjGpbpgWMTkT2LUwGta471oL6775x7NeL1jxCpJEmcJmekKHV//YBaK hyoaTblsP5r34+D6nGbb0s6mVQwzt250p71LLYPoFu+jQ+kuIms30PnV3LoohfZIug J5qbxzdl6PM7Ksd16XCgNDwzDmMcYZ0u0ECFreh4= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 23/24] gnu: Add ghc-multibase. Date: Thu, 13 Jan 2022 21:45:45 -0500 Message-Id: <20220114024546.75747-23-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-multibase): New variable. --- gnu/packages/haskell-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index a137b8b5da..c27064a327 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16600,3 +16600,33 @@ https://gist.github.com/maaku/8996338#file-bip-ecc32-mediawiki.") (description "Tasty-fail-fast wraps any ingredient to fail as soon as the first test fails.") (license license:bsd-3))) + +(define-public ghc-multibase + (package + (name "ghc-multibase") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (hackage-uri "multibase" version)) + (sha256 + (base32 "036caj0dzhzp065dhy05flz2j5qml5pirs1y95np4hf2xv9jk32h")))) + (build-system haskell-build-system) + (inputs + (list ghc-aeson + ghc-base16-bytestring + ghc-base32-z-bytestring + ghc-base58-bytestring + ghc-base64-bytestring + ghc-formatting + ghc-hashable + ghc-sandi + ghc-serialise + ghc-tagged)) + (native-inputs (list ghc-doctest ghc-quickcheck ghc-cabal-doctest)) + (home-page "https://github.com/monadic-xyz/ipfs") + (synopsis "Multibase for Haskell") + (description + "Multibase implements self-identifying base encodings as an implementation +of https://github.com/multiformats/multihash.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:13 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:13 +0000 Received: from localhost ([127.0.0.1]:35047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbV-0000UU-AD for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:13 -0500 Received: from singpolyma.net ([192.99.233.116]:55507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbK-0000QP-VW for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:06 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 0AECB486171B; Fri, 14 Jan 2022 02:46:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128361; bh=jPifTQBvm2F4dZpOwe/StDAK1O06AzGc+zUWYcYfQSM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wQiNQUPNgUJdZy6s7EIaJMhYco2W6EY32w04B7JfspYwdQT8FjzswrIgcjo/Kc7CP xn7yriy0wGa4+GbvoZOHEhG+bRRmdK5qDDHqsIott1kHMrvcyTdmu96CHOWSsr3jVG 5lIC/rLIbDYCCqWK2KEeInEh/36DuWF5cTWsKsDM= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 20/24] gnu: Add ghc-formatting. Date: Thu, 13 Jan 2022 21:45:42 -0500 Message-Id: <20220114024546.75747-20-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-formatting): New variable. --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 93b81f19de..7ad9c3eabd 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16537,3 +16537,24 @@ like endianness and architecture.") codecs according to RFC4648, extended to support z-base32 encoding according to https://gist.github.com/maaku/8996338#file-bip-ecc32-mediawiki.") (license license:bsd-3))) + +(define-public ghc-formatting + (package + (name "ghc-formatting") + (version "7.1.3") + (source + (origin + (method url-fetch) + (uri (hackage-uri "formatting" version)) + (sha256 + (base32 "1vrc2i1b6lxx2aq5hysfl3gl6miq2wbhxc384axvgrkqjbibnqc0")))) + (build-system haskell-build-system) + (inputs + (list ghc-clock ghc-old-locale ghc-scientific ghc-double-conversion)) + (native-inputs (list ghc-hspec)) + (home-page "https://github.com/AJChapman/formatting") + (synopsis + "Combinator-based type-safe formatting (like printf() or FORMAT)") + (description + "Formatting implements combinator-based type-safe formatting.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:14 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:14 +0000 Received: from localhost ([127.0.0.1]:35049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbV-0000Uc-K9 for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:13 -0500 Received: from singpolyma.net ([192.99.233.116]:58323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbL-0000QS-0r for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:06 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 42BAC486171D; Fri, 14 Jan 2022 02:46:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128361; bh=Rsc12228rmF23c0z/4+sfhUgk4o8agOasqRErpaS7YM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jTEG4qxv06o/3vXv/3eDtwYmVdYOGLVroKOHD+SPgvst0idOm8c4/0v+/fxUdcEzi c9V6m6wN5c+PmZBJhlCLJ+KMMTgJfPSOP6wMz4apt8g4K0wwF5hlEQaPBJ5xI7DZ7l 9aNYNIClqSeygRCpVHzh7JO4NNV92wW8zYv6MeQA= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 22/24] gnu: Add ghc-tasty-fail-fast. Date: Thu, 13 Jan 2022 21:45:44 -0500 Message-Id: <20220114024546.75747-22-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-tasty-fail-fast): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 7e654c6edf..a137b8b5da 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16577,3 +16577,26 @@ https://gist.github.com/maaku/8996338#file-bip-ecc32-mediawiki.") (description "Tasty TAP is a tasty ingredient to output test results in TAP 13 format.") (license license:expat))) + +(define-public ghc-tasty-fail-fast + (package + (name "ghc-tasty-fail-fast") + (version "0.0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/MichaelXavier/tasty-fail-fast") + (commit "68d7f182f4d1f7b97a724c26f554e5da27fe9413"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05x4ly5sfj5fmjsxxrfys20qc6n078vwaxxzlk2l354l7kng5512")))) + (build-system haskell-build-system) + (inputs (list ghc-tasty ghc-tagged)) + (native-inputs (list ghc-tasty-hunit ghc-tasty-golden ghc-tasty-tap)) + (home-page "https://github.com/MichaelXavier/tasty-fail-fast") + (synopsis + "Adds the ability to fail a tasty test suite on first test failure") + (description + "Tasty-fail-fast wraps any ingredient to fail as soon as the first test fails.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:14 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:14 +0000 Received: from localhost ([127.0.0.1]:35051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbV-0000Uk-Vk for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:14 -0500 Received: from singpolyma.net ([192.99.233.116]:53773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbL-0000Pi-4s for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:06 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 8256E486171F; Fri, 14 Jan 2022 02:46:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128361; bh=DbNP1LDcmnR3FKKKBFBc5ahi4P3ZkAkEvVcRArwUmLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tENb5Bhaqwz1bOzsk03YMUrGIya9f+8mp1vomY9s9yrIUzuhfq0smzHgVW0lN0zdV Diu7Zrt7H4v6cH9yVdTrRb8bFORkbnI/VV68Ofr/xzq6ZSwO8Jcc8hhmIW7D6fnWGC zKVQAgNTws4e+aQjyJxlMcgr1kTv3Hd/KKiynRw4= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 24/24] gnu: Add ghc-ipld-cid. Date: Thu, 13 Jan 2022 21:45:46 -0500 Message-Id: <20220114024546.75747-24-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-ipld-cid): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index c27064a327..b1cc01b7d2 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16630,3 +16630,26 @@ https://gist.github.com/maaku/8996338#file-bip-ecc32-mediawiki.") "Multibase implements self-identifying base encodings as an implementation of https://github.com/multiformats/multihash.") (license license:bsd-3))) + +(define-public ghc-ipld-cid + (package + (name "ghc-ipld-cid") + (version "0.1.0.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "ipld-cid" version)) + (sha256 + (base32 "1y08j0ibcrpfcm0zv1h17zdgbl3hm3sjvm0w9bk1lzdipd6p6cwj")))) + (build-system haskell-build-system) + (inputs + (list ghc-binary-varint + ghc-cryptonite + ghc-hashable + ghc-multibase + ghc-multihash-cryptonite)) + (native-inputs (list ghc-hedgehog)) + (home-page "https://github.com/monadic-xyz/ipfs") + (synopsis "IPLD Content-IDentifiers for Hasell") + (description "IPLD-CID is an implementation of https://github.com/ipld/cid.") + (license license:bsd-3))) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 21:46:51 2022 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:51 +0000 Received: from localhost ([127.0.0.1]:35054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Cbs-0000VZ-Bi for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:51 -0500 Received: from singpolyma.net ([192.99.233.116]:57401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbH-0000PJ-JY for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:14 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 627754861708; Fri, 14 Jan 2022 02:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128358; bh=GVvv9qMt1ThPiOZBrSok7Klhi330e0UkrwxpSBzDgMo=; h=From:To:Cc:Subject:Date:From; b=i977Hd6wkW7rQjAyN8bzseUkK5xKWXSDKUmZyQeeaVfocRC2uyNwVT6Ao53gwDBDb nQk9th4xXXXxIGsPZSXRxKYydMtJyotTs6QPuQJW4/ocFs3Wu92eAfU6xmWTP06S6v eUDK3bI+H9cJIeW4eJ4blU8rUj2ewCsI0j6MD/mo= From: Stephen Paul Weber To: 50835@debbugs.gnu.org Subject: [PATCH v2 01/24] gnu: Add ghc-cache. Date: Thu, 13 Jan 2022 21:45:23 -0500 Message-Id: <20220114024546.75747-1-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50835 Cc: Stephen Paul Weber , rg@raghavgururajan.name 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-cache): New variable. --- gnu/packages/haskell-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 1d86fe0c47..8260bb7dc4 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16027,3 +16027,33 @@ data Dec a "This package provides Type-level booleans.") (license license:bsd-3))) +(define-public ghc-cache + (package + (name "ghc-cache") + (version "0.1.3.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cache/cache-" + version + ".tar.gz")) + (sha256 + (base32 "0d75257kvjpnv95ja50x5cs77pj8ccfr0nh9q5gzvcps83qdksa2")))) + (build-system haskell-build-system) + (inputs + (list + ghc-clock + ghc-hashable + ghc-unordered-containers)) + (native-inputs + (list + ghc-hspec + hspec-discover)) + (home-page "https://github.com/hverr/haskell-cache#readme") + (synopsis "In-memory key/value store with expiration support") + (description + "Cache is an in-memory key/value store with expiration support, similar to +patrickmn/go-cache for Go. The cache is a shared mutable HashMap implemented +using STM and with support for expiration times.") + (license license:bsd-3))) -- 2.30.2