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 yEyuBVncR2ClPwAA0tVLHw (envelope-from ) for ; Tue, 09 Mar 2021 20:36:41 +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 8D17AVncR2CyTAAA1q6Kng (envelope-from ) for ; Tue, 09 Mar 2021 20:36:41 +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 8F7E48CC4 for ; Tue, 9 Mar 2021 21:36:40 +0100 (CET) Received: from localhost ([::1]:37102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJj5r-000354-L6 for larch@yhetil.org; Tue, 09 Mar 2021 15:36:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJiE2-0000zD-BM for guix-patches@gnu.org; Tue, 09 Mar 2021 14:41:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJiE1-0005sW-WC for guix-patches@gnu.org; Tue, 09 Mar 2021 14:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJiE1-0001Uc-T0 for guix-patches@gnu.org; Tue, 09 Mar 2021 14:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#47027] [PATCH 1/2] gnu: Add guile-quickcheck. References: <87y2ewyv7o.fsf@ngyro.com> In-Reply-To: <87y2ewyv7o.fsf@ngyro.com> Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Mar 2021 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 47027@debbugs.gnu.org Cc: Timothy Sample Received: via spool by 47027-submit@debbugs.gnu.org id=B47027.16153188255675 (code B ref 47027); Tue, 09 Mar 2021 19:41:01 +0000 Received: (at 47027) by debbugs.gnu.org; 9 Mar 2021 19:40:25 +0000 Received: from localhost ([127.0.0.1]:47991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJiDK-0001TM-Sf for submit@debbugs.gnu.org; Tue, 09 Mar 2021 14:40:25 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:48481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJiDI-0001T5-N8 for 47027@debbugs.gnu.org; Tue, 09 Mar 2021 14:40:17 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 2053A144C; Tue, 9 Mar 2021 14:40:11 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 09 Mar 2021 14:40:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=eP+VHS +zvYHcKv0tQE+1A4md8VO3d3oLTg1449Kk9lA=; b=csD9werlDxO2PXECNlGr62 K2W2DjyGW4pl2ZQvPl2k8de28hgj6it+2qnk7iDktzHZ1p8CLftNYkt+JBHZLQ/L zmtGQkezHKKq/pbEZ69A3L6FthjT3l8zNqozo+HJgdd6h0Y0OEuQilrLFbwFOW6R zip3qsxkzClzr7IugOA2HnCM//TAzonfaIbI//lRJAslBfRF2mKT50SY5alGeOxj YAW8ETGlHBUoOhn3eYbkb+dwEan10echEHfzTFe5d9Fc3wObDay/YfV1TQQicTys 0aKdNt5YOvvFO97eXA9lHpvfuuSDNeZvXH6zVYMsGVBH2JfYr3rk9L3YVDjN5DIg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudduiedguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffogggtgfesthekre dtredtjeenucfhrhhomhepvfhimhhothhhhicuufgrmhhplhgvuceoshgrmhhplhgvthes nhhghihrohdrtghomheqnecuggftrfgrthhtvghrnheptefgteffleefieeugedugeduke fggfevteegueekfefgheetjeetvedufeelgffgnecuffhomhgrihhnpehinhhqlhgrsgdr nhgvthdpnhhghihrohdrtghomhenucfkphepjeegrdduudeirddukeeirdeggeenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsrghmphhlvght sehnghihrhhordgtohhm X-ME-Proxy: Received: from mrblack.lan (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id F1340240054; Tue, 9 Mar 2021 14:40:09 -0500 (EST) From: Timothy Sample Date: Tue, 9 Mar 2021 14:39:24 -0500 Message-Id: <20210309193925.15447-1-samplet@ngyro.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615322200; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eP+VHS+zvYHcKv0tQE+1A4md8VO3d3oLTg1449Kk9lA=; b=MFWtHP1zctcoogdJzKMADYd0EkHgzbzzhj0nlyzy67w6niJJ6XWo1p+k/BmQtWH+At7x5b KoyMAbbKLmKlEwD5h2L+Ro5KWxOZqfxDwvh3CauE/NzBpMjP6L81uucqxw9ZqKuZlEUa4G B60V3fTf/dvrA+gENbg+FvDhFP6gYGiu3kbF8D6s6t8BMHs2qAuLISnBb54x9IJFv+eLRa 0oBQ7nBH1j7ti+QdKBok19HmimITBMv4HvtkRgjRF9t5VkDOTNkXASkchNTp9xisbcQ6or ULoMDMMoevfZ4vedvSni7jdbONHPjoGNzKUStrGEsVeomdPnbBa+pqXSJZ0H/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615322200; a=rsa-sha256; cv=none; b=rUO9BMRjdUzNxSaQ6+AR8Kw6GY53iIi6zocFcKIeYbg3Scfj3jTWhEY15Zgj1llzVMSR1w HLf2aTnvI7Ik1yfjie9csV1qTBIxhpyXsdthjBULja9kHVbHVKXVIEMihnq1K+kibBFMBY JqEsosnmYkwZ3gfaEW+ULdyOFY14kSF+KNlxS51srg0PR+J9pCE2g3x3TjRwIufq6zxXSh 8cCXRSmnBGVG9823NgNGpepIA9ta2n+jfyfjKgsGtvBcxS0TY/9mOfdfYD3qNMNtK8jc0W 0LjznUG3iYHjZd9ExZE1YRHKFPBgEnQVf3obh8sTIuZAGVMuXKZwGTpxWLKgZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=csD9werl; dmarc=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-Migadu-Spam-Score: -0.38 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=csD9werl; dmarc=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-Migadu-Queue-Id: 8F7E48CC4 X-Spam-Score: -0.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: ceWPdFxPzPK9 * gnu/packages/guile-xyz.scm (guile-quickcheck): New variable. --- gnu/packages/guile-xyz.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index bd26010918..5f4329be11 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -22,7 +22,7 @@ ;;; Copyright © 2018 Eric Bavier ;;; Copyright © 2019 swedebugia ;;; Copyright © 2019, 2020 Amar Singh -;;; Copyright © 2019 Timothy Sample +;;; Copyright © 2019, 2021 Timothy Sample ;;; Copyright © 2019, 2020 Martin Becze ;;; Copyright © 2020 Evan Straw ;;; Copyright © 2020 Jack Hill @@ -4616,3 +4616,29 @@ binary which is smaller and faster to generate and parse. This package provides a Guile implementation of CBOR.") (home-page "https://inqlab.net/git/guile-cbor.git") (license license:gpl3+))) + +(define-public guile-quickcheck + (package + (name "guile-quickcheck") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (string-append "https://files.ngyro.com/" + "guile-quickcheck/guile-quickcheck-" + version ".tar.gz")) + (sha256 + (base32 + "03mwi1l3354x52nar0zwhcm0x29yai9xjln4p4gbchwvx5dsr6fb")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("guile" ,guile-3.0))) + (home-page "https://ngyro.com/software/guile-quickcheck.html") + (synopsis "Randomized property-based testing for Guile") + (description "This Guile library provides tools for randomized, +property-based testing. It follows closely the QuickCheck library +written in Haskell. You can use it to define a property (a predicate +with specifications for its inputs) and test it by generating many +random inputs and seeing if it holds.") + (license license:gpl3+))) -- 2.30.1