From: Alexandru-Sergiu Marton <brown121407@posteo.ro>
To: 42722@debbugs.gnu.org
Cc: Alexandru-Sergiu Marton <brown121407@posteo.ro>
Subject: [bug#42722] [PATCH 1/4] gnu: Add ghc-quickcheck-text.
Date: Wed, 5 Aug 2020 18:57:22 +0300 [thread overview]
Message-ID: <20200805155725.19931-1-brown121407@posteo.ro> (raw)
In-Reply-To: <20200805155420.19865-1-brown121407@posteo.ro>
* gnu/packages/haskell-check.scm (ghc-quickcheck-text): New variable.
---
gnu/packages/haskell-check.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm
index c2cffbad9e..0c988534d4 100644
--- a/gnu/packages/haskell-check.scm
+++ b/gnu/packages/haskell-check.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2019 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -485,6 +486,33 @@ testing Unicode-related software.")
use HUnit assertions as QuickCheck properties.")
(license license:expat)))
+(define-public ghc-quickcheck-text
+ (package
+ (name "ghc-quickcheck-text")
+ (version "0.1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/quickcheck-text/quickcheck-text-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "02dbs0k6igmsa1hcw8yfvp09v7038vp4zlsp9706km3cmswgshj4"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
+ (home-page
+ "https://github.com/olorin/quickcheck-text")
+ (synopsis "Alternative arbitrary instance for Text")
+ (description
+ "The usual
+@url{https://hackage.haskell.org/package/quickcheck-instances, Arbitrary
+instance for Text} only has single-byte instances and so isn't an ideal
+representation of a valid UTF-8 character. This package has generators for
+one-, two- and three-byte UTF-8 characters (all that are currently in use).")
+ (license license:expat)))
+
(define-public ghc-quickcheck
(package
(name "ghc-quickcheck")
--
2.28.0
next prev parent reply other threads:[~2020-08-05 15:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-05 15:54 [bug#42722] [PATCH 0/4] Add some Haskell packages Alexandru-Sergiu Marton
2020-08-05 15:57 ` Alexandru-Sergiu Marton [this message]
2020-08-05 15:57 ` [bug#42722] [PATCH 2/4] gnu: Add ghc-text-short Alexandru-Sergiu Marton
2020-08-05 15:57 ` [bug#42722] [PATCH 3/4] gnu: Add ghc-deferred-folds Alexandru-Sergiu Marton
2020-08-05 15:57 ` [bug#42722] [PATCH 4/4] gnu: Add ghc-mtl-prelude Alexandru-Sergiu Marton
2020-08-07 18:12 ` [bug#42722] [PATCH 0/4] Add some Haskell packages Brett Gilio
2020-12-15 20:56 ` Leo Famulari
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=20200805155725.19931-1-brown121407@posteo.ro \
--to=brown121407@posteo.ro \
--cc=42722@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.