* [bug#50835] [PATCH v2 02/24] gnu: Add ghc-scanner.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 03/24] gnu: Add ghc-hedis Stephen Paul Weber
` (21 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 03/24] gnu: Add ghc-hedis.
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 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 04/24] gnu: Add ghc-libxml-sax Stephen Paul Weber
` (20 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 04/24] gnu: Add ghc-libxml-sax.
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 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 05/24] gnu: Add ghc-gsasl Stephen Paul Weber
` (19 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 05/24] gnu: Add ghc-gsasl.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (2 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 04/24] gnu: Add ghc-libxml-sax Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 06/24] gnu: Add ghc-gnutls Stephen Paul Weber
` (18 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 06/24] gnu: Add ghc-gnutls.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (3 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 05/24] gnu: Add ghc-gsasl Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 07/24] gnu: Add ghc-gnuidn Stephen Paul Weber
` (17 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 07/24] gnu: Add ghc-gnuidn.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (4 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 06/24] gnu: Add ghc-gnutls Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 08/24] gnu: Add ghc-network-simple Stephen Paul Weber
` (16 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 08/24] gnu: Add ghc-network-simple.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (5 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 07/24] gnu: Add ghc-gnuidn Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 09/24] gnu: Add ghc-network-protocol-xmpp Stephen Paul Weber
` (15 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 09/24] gnu: Add ghc-network-protocol-xmpp.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (6 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 08/24] gnu: Add ghc-network-simple Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 10/24] gnu: Add ghc-unexceptionalio-trans Stephen Paul Weber
` (14 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 10/24] gnu: Add ghc-unexceptionalio-trans.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (7 preceding siblings ...)
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 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 11/24] gnu: Add ghc-base58-bytestring Stephen Paul Weber
` (13 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 11/24] gnu: Add ghc-base58-bytestring.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (8 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 10/24] gnu: Add ghc-unexceptionalio-trans Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 12/24] gnu: Add ghc-hstatsd Stephen Paul Weber
` (12 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 12/24] gnu: Add ghc-hstatsd.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (9 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 11/24] gnu: Add ghc-base58-bytestring Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 13/24] gnu: Add ghc-random-shuffle Stephen Paul Weber
` (11 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 13/24] gnu: Add ghc-random-shuffle.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (10 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 12/24] gnu: Add ghc-hstatsd Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 14/24] gnu: Add ghc-stm-delay Stephen Paul Weber
` (10 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 14/24] gnu: Add ghc-stm-delay.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (11 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 13/24] gnu: Add ghc-random-shuffle Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 15/24] gnu: Add ghc-hostandport Stephen Paul Weber
` (9 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 15/24] gnu: Add ghc-hostandport.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (12 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 14/24] gnu: Add ghc-stm-delay Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 16/24] gnu: Add ghc-binary-varint Stephen Paul Weber
` (8 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 16/24] gnu: Add ghc-binary-varint.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (13 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 15/24] gnu: Add ghc-hostandport Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 17/24] gnu: Add ghc-multihash-cryptonite Stephen Paul Weber
` (7 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 17/24] gnu: Add ghc-multihash-cryptonite.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (14 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 16/24] gnu: Add ghc-binary-varint Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 18/24] gnu: Add ghc-cpu Stephen Paul Weber
` (6 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 18/24] gnu: Add ghc-cpu.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (15 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 17/24] gnu: Add ghc-multihash-cryptonite Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 19/24] gnu: Add ghc-base32-z-bytestring Stephen Paul Weber
` (5 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 19/24] gnu: Add ghc-base32-z-bytestring.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (16 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 18/24] gnu: Add ghc-cpu Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 20/24] gnu: Add ghc-formatting Stephen Paul Weber
` (4 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 20/24] gnu: Add ghc-formatting.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (17 preceding siblings ...)
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 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 21/24] gnu: Add ghc-tasty-tap Stephen Paul Weber
` (3 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 21/24] gnu: Add ghc-tasty-tap.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (18 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 20/24] gnu: Add ghc-formatting Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 22/24] gnu: Add ghc-tasty-fail-fast Stephen Paul Weber
` (2 subsequent siblings)
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 22/24] gnu: Add ghc-tasty-fail-fast.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (19 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 21/24] gnu: Add ghc-tasty-tap Stephen Paul Weber
@ 2022-01-14 2:45 ` 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
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 23/24] gnu: Add ghc-multibase.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (20 preceding siblings ...)
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 ` Stephen Paul Weber
2022-01-14 2:45 ` [bug#50835] [PATCH v2 24/24] gnu: Add ghc-ipld-cid Stephen Paul Weber
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [bug#50835] [PATCH v2 24/24] gnu: Add ghc-ipld-cid.
2022-01-14 2:45 ` [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache Stephen Paul Weber
` (21 preceding siblings ...)
2022-01-14 2:45 ` [bug#50835] [PATCH v2 23/24] gnu: Add ghc-multibase Stephen Paul Weber
@ 2022-01-14 2:45 ` Stephen Paul Weber
22 siblings, 0 replies; 33+ messages in thread
From: Stephen Paul Weber @ 2022-01-14 2:45 UTC (permalink / raw)
To: 50835; +Cc: Stephen Paul Weber, rg
* 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
^ permalink raw reply related [flat|nested] 33+ messages in thread