From patchwork Sat Sep 18 17:03:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 33163 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D05C827BBE4; Sat, 18 Sep 2021 18:05:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7F91327BBE3 for ; Sat, 18 Sep 2021 18:05:19 +0100 (BST) Received: from localhost ([::1]:44392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRdmA-0001cP-IW for patchwork@mira.cbaines.net; Sat, 18 Sep 2021 13:05:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRdlv-0001Yv-Pu for guix-patches@gnu.org; Sat, 18 Sep 2021 13:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53442) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRdlv-0005rJ-Gc for guix-patches@gnu.org; Sat, 18 Sep 2021 13:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRdlv-0007yW-B5 for guix-patches@gnu.org; Sat, 18 Sep 2021 13:05:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50662] [PATCH v2 25/34] gnu: Add rust-proptest-1. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 17:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50662 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50662@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50662-submit@debbugs.gnu.org id=B50662.163198466130431 (code B ref 50662); Sat, 18 Sep 2021 17:05:03 +0000 Received: (at 50662) by debbugs.gnu.org; 18 Sep 2021 17:04:21 +0000 Received: from localhost ([127.0.0.1]:36712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRdlF-0007ul-CV for submit@debbugs.gnu.org; Sat, 18 Sep 2021 13:04:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRdlD-0007uE-SP for 50662@debbugs.gnu.org; Sat, 18 Sep 2021 13:04:20 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2FBF4240104 for <50662@debbugs.gnu.org>; Sat, 18 Sep 2021 19:04:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631984654; bh=OFiPuvTkd1khlbWfIpZnEpUdazBmiLG8tgMRihvIxfc=; h=From:To:Cc:Subject:Date:From; b=M8gudGMgjlRF7IDjd1ZFuI/r8hMQQapeTqI6JqA7XYzWNPkg0RHNN+RVNfSGwTEdH XCQpt9xOin2DbYQFvglRmxHgflcwAU2IhX6q+tZ1scbuT5ECfHHKQfvez5gugl2Xv+ B96AQ7SYO+pOjh3XO1pMLQ5zXTzDv6opaDcnyKOMSsz5pzB9FWhw2NFCyiVAUUWaf7 z1OIysuGcbu+lYO6RxG+MfDBfKdheASKalkitSPihFX3H6E+EZhXQPTfeMqyZSIeSj tBXUFHN/y3ZcY0iyw7tMlbaAs3womu12xHLcEmko+NWZSEMn/iK3C46QD5CXuuJ1mj FrNH1w7VmRE3w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HBccF2Rrhz6tmM; Sat, 18 Sep 2021 19:04:13 +0200 (CEST) From: Vinicius Monego Date: Sat, 18 Sep 2021 17:03:23 +0000 Message-Id: <20210918170332.213414-5-monego@posteo.net> In-Reply-To: <20210918170332.213414-1-monego@posteo.net> References: <20210918170332.213414-1-monego@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-proptest-1): New variable. (rust-proptest-0.10): Inherit from above. --- gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7d52355d59..868926341a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36147,8 +36147,45 @@ transfer). This library mimics the Git way of showing progress.") (license license:gpl2+))) +(define-public rust-proptest-1 + (package + (name "rust-proptest") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "proptest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rdhjnf0xma5rmsq04d31n2vq1pgbm42pjc6jn3jsj8qgz09q38y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bit-set" ,rust-bit-set-0.5) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-quick-error" ,rust-quick-error-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-regex-syntax" ,rust-regex-syntax-0.6) + ("rust-rusty-fork" ,rust-rusty-fork-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-x86" ,rust-x86-0.33)) + #:cargo-development-inputs + (("rust-regex" ,rust-regex-1)))) + (home-page "https://altsysrq.github.io/proptest-book/proptest/index.html") + (synopsis "Hypothesis-like property-based testing and shrinking") + (description + "The @code{proptest} crate provides most of Proptest’s functionality, +including most strategies and the testing framework itself.") + (license (list license:expat license:asl2.0)))) + (define-public rust-proptest-0.10 (package + (inherit rust-proptest-1) (name "rust-proptest") (version "0.10.1") (source @@ -36158,7 +36195,6 @@ This library mimics the Git way of showing progress.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0vv4cvwn1v7h0zjajmhznll554a2ri8dqw26xql3q49r246cirhj")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -36176,13 +36212,7 @@ This library mimics the Git way of showing progress.") ("rust-tempfile" ,rust-tempfile-3) ("rust-x86" ,rust-x86-0.33)) #:cargo-development-inputs - (("rust-regex" ,rust-regex-1)))) - (home-page "https://altsysrq.github.io/proptest-book/proptest/index.html") - (synopsis "Hypothesis-like property-based testing and shrinking") - (description - "The @code{proptest} crate provides most of Proptest’s functionality, -including most strategies and the testing framework itself.") - (license (list license:expat license:asl2.0)))) + (("rust-regex" ,rust-regex-1)))))) (define-public rust-proptest-0.9 (package