From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eLioCEvXKl9OEAAA0tVLHw (envelope-from ) for ; Wed, 05 Aug 2020 15:59:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SPKOBEvXKl+kDwAA1q6Kng (envelope-from ) for ; Wed, 05 Aug 2020 15:59:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AE3B9940214 for ; Wed, 5 Aug 2020 15:59:06 +0000 (UTC) Received: from localhost ([::1]:53156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3Lon-0008Iz-Lt for larch@yhetil.org; Wed, 05 Aug 2020 11:59:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3Lnm-0006rt-2C for guix-patches@gnu.org; Wed, 05 Aug 2020 11:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3Lnl-0006Ag-Lt for guix-patches@gnu.org; Wed, 05 Aug 2020 11:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3Lnl-0003kJ-Ih for guix-patches@gnu.org; Wed, 05 Aug 2020 11:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42722] [PATCH 1/4] gnu: Add ghc-quickcheck-text. References: <20200805155420.19865-1-brown121407@posteo.ro> In-Reply-To: <20200805155420.19865-1-brown121407@posteo.ro> Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Aug 2020 15:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42722 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42722@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 42722-submit@debbugs.gnu.org id=B42722.159664306314356 (code B ref 42722); Wed, 05 Aug 2020 15:58:01 +0000 Received: (at 42722) by debbugs.gnu.org; 5 Aug 2020 15:57:43 +0000 Received: from localhost ([127.0.0.1]:52042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3LnP-0003jK-Hd for submit@debbugs.gnu.org; Wed, 05 Aug 2020 11:57:43 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3LnM-0003it-Nn for 42722@debbugs.gnu.org; Wed, 05 Aug 2020 11:57:37 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 67CEE2400FC for <42722@debbugs.gnu.org>; Wed, 5 Aug 2020 17:57:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1596643050; bh=UBCAKTEAsRdnyS2Gvs3TIwUR3j4OG9BmtNpl9exlmNQ=; h=From:To:Cc:Subject:Date:From; b=J12lxVY7SBUHtF2xm9PquFjso7vjpt5EPnmG4oeBxcGtoOcimPlUHMmaE465i98Py qtDAonK9dVopSlmTfq6yv41ClN95FTlddm69X/ub2tDp2QxASIW0RS5HyXkPq9lRcx c5WyweO1Srum5YUWpx+j3j0GDcZbixtjjqPIh0u0y+ZM8aqG1tnzXLAjjIHGh3Wy5w udLne8r3xbYUySOTmtqA7V7OIPnBh7qNMrMBzL0YgfG6mfmjTS2DHJUsdaXGUUeLDZ v/RgWXD13y9ZR5w03ot0hPRuvZ5TlTQ/osZS2AYPp88okmPdoGOg3/EHa2Qf/ONMu0 PKtVovpUTKHdw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BMGV160fBz6tm6; Wed, 5 Aug 2020 17:57:29 +0200 (CEST) From: Alexandru-Sergiu Marton Date: Wed, 5 Aug 2020 18:57:22 +0300 Message-Id: <20200805155725.19931-1-brown121407@posteo.ro> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.ro header.s=2017 header.b=J12lxVY7; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.ro (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: 1lsVYR+jyK7C * 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 ;;; Copyright © 2019 Timothy Sample ;;; Copyright © 2020 John Soo +;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; ;;; 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