GNU bug report logs -
#42722
[PATCH 0/4] Add some Haskell packages.
Previous Next
Full log
Message #8 received at 42722 <at> debbugs.gnu.org (full text, mbox):
* 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 <at> systemreboot.net>
;;; Copyright © 2019 Timothy Sample <samplet <at> ngyro.com>
;;; Copyright © 2020 John Soo <jsoo1 <at> asu.edu>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> 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
This bug report was last modified 4 years and 180 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.