all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Paul Weber <singpolyma@singpolyma.net>
To: 50835@debbugs.gnu.org
Cc: Stephen Paul Weber <singpolyma@singpolyma.net>
Subject: [bug#50835] [PATCH 3/8] gnu: Add ghc-hedis.
Date: Sun, 26 Sep 2021 21:10:28 -0500	[thread overview]
Message-ID: <20210927021033.17700-3-singpolyma@singpolyma.net> (raw)
In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net>

* 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




  parent reply	other threads:[~2021-09-27  2:11 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27  2:09 [bug#50835] [PATCH 0/8] New Haskell packages: cache, redis client, xmpp Stephen Paul Weber
2021-09-27  2:10 ` [bug#50835] [PATCH 1/8] gnu: Add ghc-cache Stephen Paul Weber
2021-09-27  2:10   ` [bug#50835] [PATCH 2/8] gnu: Add ghc-scanner Stephen Paul Weber
2021-09-27  2:10   ` Stephen Paul Weber [this message]
2021-09-27  2:10   ` [bug#50835] [PATCH 4/8] gnu: Add ghc-libxml-sax Stephen Paul Weber
2021-09-27  2:10   ` [bug#50835] [PATCH 5/8] gnu: Add ghc-gsasl Stephen Paul Weber
2021-09-27  2:10   ` [bug#50835] [PATCH 6/8] gnu: Add ghc-gnutls Stephen Paul Weber
2021-09-27  2:10   ` [bug#50835] [PATCH 7/8] gnu: Add ghc-gnuidn Stephen Paul Weber
2021-09-27  2:10   ` [bug#50835] [PATCH 8/8] gnu: Add ghc-network-protocol-xmpp Stephen Paul Weber
2022-01-14  2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 02/24] gnu: Add ghc-scanner Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 03/24] gnu: Add ghc-hedis Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 04/24] gnu: Add ghc-libxml-sax Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 05/24] gnu: Add ghc-gsasl Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 06/24] gnu: Add ghc-gnutls Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 07/24] gnu: Add ghc-gnuidn Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 08/24] gnu: Add ghc-network-simple Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 09/24] gnu: Add ghc-network-protocol-xmpp Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 10/24] gnu: Add ghc-unexceptionalio-trans Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 11/24] gnu: Add ghc-base58-bytestring Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 12/24] gnu: Add ghc-hstatsd Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 13/24] gnu: Add ghc-random-shuffle Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 14/24] gnu: Add ghc-stm-delay Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 15/24] gnu: Add ghc-hostandport Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 16/24] gnu: Add ghc-binary-varint Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 17/24] gnu: Add ghc-multihash-cryptonite Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 18/24] gnu: Add ghc-cpu Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 19/24] gnu: Add ghc-base32-z-bytestring Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 20/24] gnu: Add ghc-formatting Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 21/24] gnu: Add ghc-tasty-tap Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 22/24] gnu: Add ghc-tasty-fail-fast Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 23/24] gnu: Add ghc-multibase Stephen Paul Weber
2022-01-14  2:45   ` [bug#50835] [PATCH v2 24/24] gnu: Add ghc-ipld-cid Stephen Paul Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210927021033.17700-3-singpolyma@singpolyma.net \
    --to=singpolyma@singpolyma.net \
    --cc=50835@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.