From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CEPPEkh29mW+NwEAe85BDQ:P1 (envelope-from ) for ; Sun, 17 Mar 2024 05:49:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CEPPEkh29mW+NwEAe85BDQ (envelope-from ) for ; Sun, 17 Mar 2024 05:49:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=BP3sy8n9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710650952; a=rsa-sha256; cv=none; b=icxXMWvlVgjdqk3K/7rb4f6HfMai/Nmh9WR6Hfl1Wov0VwOyc/A083lZ3+7rTIqVh86LZO /KjjhA8G/YFwQhY+aSTahrZ53gk5ndf/jeq+d/W98wdWiifIx7yKceTMXy9s07jSAtxFkD EwJafS/2hwMTYp8gBeEJN6XS8RyuNw1BTow7uRkB2FJD8FTDzdhmoH5AxwG/QYlgRjQqct nujLaTw1FohTkAYGTafn+/gJij8J9El0oa7LFAmSswqEcOV3kQnZUQsNSrwQ3C0XIzKOOS z5cPJMUorfulo4CxaFAnpMJGxFQqsASualO6zBao0DJX0rLHshbF/H+ydgYJ9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=BP3sy8n9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710650952; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+ts7o3LoqOpRMSYR0ZjnRT/8eOwVkZVXC5STODnr62k=; b=Lx+cJNk+r0HuOx0JHKNxz8E25vcM0NGEELTW53fJUZtOAEPmmDhyyPoEmwejgud9uTfIcT XYDGcG3JLAWmbCT1H1nkkODYbuBuQmXuEhdNNVrChCb7M6ATe2iQEECwYBgvuXU0xKF8oc aQiK+tLbautqPLv9nO6qVe8hm3p12AnUEhfGjvoP/I6nb5zfT8foerWOKgHxNyDuSuMjOb X60bKGGfVEx1yLzhNukNvGBZZEcivf061O/nOuiLD/QRH8Dv+cQ7NzvOL88lvouYKTBk8h CMUyEq22qaPdhB8O9TofiwUve3uqzbgRA1k8slhgVMQCBoGdpw0TBbW/ZF62KA== 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 DE0FB269A0 for ; Sun, 17 Mar 2024 05:49:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rliRy-0002dQ-1n; Sun, 17 Mar 2024 00:48:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rliRd-0002cR-GB for guix-patches@gnu.org; Sun, 17 Mar 2024 00:48:28 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rliRd-0004Py-7K for guix-patches@gnu.org; Sun, 17 Mar 2024 00:48:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rliSE-00038C-3l for guix-patches@gnu.org; Sun, 17 Mar 2024 00:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69838] [PATCH] gnu: Add go-pgregory-net-rapid. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 04:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69838@debbugs.gnu.org Cc: "Artyom V. Poptsov" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171065089411792 (code B ref -1); Sun, 17 Mar 2024 04:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Mar 2024 04:48:14 +0000 Received: from localhost ([127.0.0.1]:57499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rliRS-000348-CX for submit@debbugs.gnu.org; Sun, 17 Mar 2024 00:48:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:53928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rliRQ-00033x-E0 for submit@debbugs.gnu.org; Sun, 17 Mar 2024 00:48:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rliQl-0002Z7-RX for guix-patches@gnu.org; Sun, 17 Mar 2024 00:47:32 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rliQk-0004KL-3h for guix-patches@gnu.org; Sun, 17 Mar 2024 00:47:31 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2d46e25d6b9so58000071fa.1 for ; Sat, 16 Mar 2024 21:47:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710650847; x=1711255647; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+ts7o3LoqOpRMSYR0ZjnRT/8eOwVkZVXC5STODnr62k=; b=BP3sy8n9iqKrOvPTmANKKGtvjTiX6ZWMuj6dI1tStNzPRAFoax2EF5UXtMYQY6au+O aQmsXoEeDySP01fPIH0BJ6yiyUqD3sJe3lfVf9H6Ap2vbTpnRBfOoxamfqr5ObFAu04z eFERzy2641Rx4eyJyCj69ocHGUFsKSANCUMVEhjWP1j4x1KjNwREUot0BL3XNUuesa6T BIhVTQQ191BzKZkhZSop+EoeQBSKRNm6M/FWnh6riBVE9sbRDomj9I+Qv+XmKpjULLuN p6D1MAlAAOaJmZQAJ6XCrw8bOo3Q2hzeEzBV+i/MtCyq2cPZJKspTEejLJ/d5d/TxIFj UOww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710650847; x=1711255647; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+ts7o3LoqOpRMSYR0ZjnRT/8eOwVkZVXC5STODnr62k=; b=lrDFrQPKR8KGKs4A6sF5AhSoiDOR1J+xO1BTjtOYdA6kIU46nK7IZmAYirgh5ghhP7 5H7dNyfehH1yziP0rNY2j/pXNQdufCzQC33uZg+RJ33cnAHlJG6jqurI57qYLRIj2xOo tnk5qKdPUPBESEakRLCJ7/+7qVteqJLncP611IONQqLCaNd7l3JYu3mcxR3fX5t7rj3H fTs9riHnAVoDaDWMe3C0rv0F8eBOFtZJzEAKeZg9kKNUBPFDRyKreUClJBIm7guJGZep ZkalW373WEhhJzJHuHCMb/XP3UGwSrSM6tohvpl26ncz5LigibjI/2S9bdRFoFIVDu56 Oy8g== X-Gm-Message-State: AOJu0Yx+8ewtdYfmAymEjlaBRHb0fqgi4QtUfwzCcXNOMEnbyC0Yxbn/ ADvNj4PwBy/zoJAidcOOb6IxPdP2YM4HsbUe+lMndc+LUsAMmyH6Qk6sazvc X-Google-Smtp-Source: AGHT+IEbDvZrxrtCSZzO1ifd41uXuvv/VacUzisLvVVqdKJ9jkB3Zp/vJ52RjdRzaIy/IeUuV45LNQ== X-Received: by 2002:a2e:9557:0:b0:2d4:954d:2c2d with SMTP id t23-20020a2e9557000000b002d4954d2c2dmr2433649ljh.32.1710650846911; Sat, 16 Mar 2024 21:47:26 -0700 (PDT) Received: from elephant.. ([5.164.220.172]) by smtp.gmail.com with ESMTPSA id n15-20020a2e86cf000000b002d361916b1fsm1015895ljj.32.2024.03.16.21.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Mar 2024 21:47:26 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sun, 17 Mar 2024 07:47:17 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x234.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 3.00 X-Spam-Score: 3.00 X-Migadu-Queue-Id: DE0FB269A0 X-TUID: moCsg2ucq8Hh * gnu/packages/golang-check.scm (go-pgregory-net-rapid): New variable. Change-Id: I09a89c779a352e6a102d0b4c7af3aa1f7c3cac70 --- gnu/packages/golang-check.scm | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 290afdd3b9..c4bdd75f00 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -804,6 +804,45 @@ (define-public go-honnef-co-go-tools advanced Go linter.") (license license:expat))) +(define-public go-pgregory-net-rapid + (package + (name "go-pgregory-net-rapid") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flyingmutant/rapid") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1alyhcbdq6113sfymx7xxmxpcbgvkaipsn15cgjrcqrx8ks1hm5i")))) + (build-system go-build-system) + (arguments + `(#:import-path "pgregory.net/rapid" + #:go ,go-1.18)) + (native-inputs (list go-github-com-stretchr-testify)) + (home-page "https://pgregory.net/rapid/") + (synopsis "Modern Go property-based testing library") + (description + "@code{Rapid} is a Go library for property-based testing. + +Rapid checks that properties you define hold for a large number of automatically +generated test cases. If a failure is found, rapid automatically minimizes the +failing test case before presenting it. + +Features: +@itemize +@item Imperative Go API with type-safe data generation using generics. +@item Data generation biased to explore \"small\" values and edge cases more +thoroughly +@item Fully automatic minimization of failing test cases. +@item Persistence and automatic re-running of minimized failing test cases. +@item Support for state machine (\"stateful\" or \"model-based\") testing +@item No dependencies outside the Go standard library. +@end itemize") + (license license:mpl2.0))) + ;;; ;;; Executables: ;;; base-commit: edfb05e16d409ab71f5cc5c91747b693f0054d59 -- 2.41.0