From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QKe/DXQcRmFj8wAAgWs5BA (envelope-from ) for ; Sat, 18 Sep 2021 19:05:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CKRjCXQcRmF5SgAAB5/wlQ (envelope-from ) for ; Sat, 18 Sep 2021 17:05:56 +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 E9B37A2CD for ; Sat, 18 Sep 2021 19:05:55 +0200 (CEST) Received: from localhost ([::1]:46360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRdmk-00034h-W7 for larch@yhetil.org; Sat, 18 Sep 2021 13:05:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRdlu-0001WY-Ev for guix-patches@gnu.org; Sat, 18 Sep 2021 13:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRdlu-0005qJ-7a for guix-patches@gnu.org; Sat, 18 Sep 2021 13:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRdlu-0007y9-25 for guix-patches@gnu.org; Sat, 18 Sep 2021 13:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50662] [PATCH v2 22/34] gnu: Add rust-rand-xorshift-0.3. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 17:05:02 +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.163198464830371 (code B ref 50662); Sat, 18 Sep 2021 17:05:02 +0000 Received: (at 50662) by debbugs.gnu.org; 18 Sep 2021 17:04:08 +0000 Received: from localhost ([127.0.0.1]:36700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRdl2-0007ti-Gu for submit@debbugs.gnu.org; Sat, 18 Sep 2021 13:04:08 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRdl0-0007sy-NW for 50662@debbugs.gnu.org; Sat, 18 Sep 2021 13:04:07 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3249C240027 for <50662@debbugs.gnu.org>; Sat, 18 Sep 2021 19:04:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631984641; bh=yHcfVMnvIIp9ZhBFV6YJU1WvmjiRffhD5CMuoF7CLlA=; h=From:To:Cc:Subject:Date:From; b=P8JuaqhCgei9583i5RZYVLyQTbQCzLDNZbKFJWjSStuGDfBbHbdBlbCXuvhVT/cab gtp8XHwsfDvyiDXDszePB6YMivilVwv/nPmjtvJwK1VQOlixC5cj3+iOi9cYnXrtWy GZBCe9cwb2XpMWlnM5P2yrCwUftFBGnJ8z0kc2kVOcIxe5thGsFgmN4pTL+EGgt7s2 rWt4FP18SX0SkLWCwxmMpxgUsjyOt4F8VLzDyEd/h1M0LCUgkef3FyEY8x2zTDN09K ZM5sTqMf2P88zH7ilEDHOJuGJq94bVRJEn/XT1qfOLjcOS3deEGzRg/Ia4SZ9Hpv/R tDZJ1BK6VISlw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HBcc02p9Lz6tmD; Sat, 18 Sep 2021 19:03:59 +0200 (CEST) From: Vinicius Monego Date: Sat, 18 Sep 2021 17:03:20 +0000 Message-Id: <20210918170332.213414-2-monego@posteo.net> In-Reply-To: <20210918170332.213414-1-monego@posteo.net> References: <20210918170332.213414-1-monego@posteo.net> MIME-Version: 1.0 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=1631984756; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CXyOM6JijaNDBhoMDt2dQkTFxFJzEWJqI3jhaQmL2MQ=; b=kctknpSEU3T74us/b4IlooqZ2jTgNM/ls+K/tmBaDUrnIrAfjylkcYLKcDyqNMJuch36n1 b0B4gIQcPswhKTbJnY9E+bI4/zHqrdDMK/Zx3+x5gpMXa6pnvtW76KvV7S9rrZgZwa+nDA utWAQ+XCc3gEUNVTOjF8ZrXWCe7BDs+z9jRUzVz930umhz8/mYP00RVxnnW6R1DV3b+qji 2rqIzd1RJwgQ5nIdJIF+HQpjkiKW0v9Oa5OEJn9nTKcksKYZAFhhDyXJMsY0KedI2cHbkj pMNIdMKeHmZiPxW8grwaebqTGe8sHa4+g4eMF1KtHqL31i+8LSWZsgwsxLLdtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631984756; a=rsa-sha256; cv=none; b=EM6R01WUVDlJBQoSHutiLeI8JgaklDlO9PHmmajEkb/9QjNI9buMNRvXcuT7Bs7mUGMkhL xS2SLirv+awRDBHhmbv/alUcnLRvlet0sLuXL+uLdZ/ewiM99VmioLXEicOhYJXahGpYIB wahTfvIMWEpa0jKE4z7hgiplXkAkx7HSQwpMuGTFSFQRHXyRExQGvkYX93K12VxpYZj9Zy Tm3/+TP5K9ixborxl1tIz9LK7Zc31R99oZImbW9idrCX3aXbz7DvPcjKHIdXAJysIypjC7 IZte+FvjgUZhs4xOyTecI/HAyLjmF4+5weNUO5WNTi16AFBtq7TpsHJeR3CpAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=P8JuaqhC; 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: 5.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=P8JuaqhC; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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-Migadu-Queue-Id: E9B37A2CD X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: r4YaxjsTn7ke * gnu/packages/crates-io.scm (rust-rand-xorshift-0.3): New variable. (rust-rand-xorshift-0.2): Inherit from above. [home-page]: Switch to GitHub URL. --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fbe8b33c90..eb2b9c4f36 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37907,8 +37907,33 @@ generator based on timing jitter.") #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)))))) +(define-public rust-rand-xorshift-0.3 + (package + (name "rust-rand-xorshift") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_xorshift" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13vcag7gmqspzyabfl1gr9ykvxd2142q2agrj8dkyjmfqmgg4nyj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1)))) + (home-page "https://github.com/astocko/xorshift") + (synopsis "Xorshift random number generator") + (description "Xorshift random number generator.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rand-xorshift-0.2 (package + (inherit rust-rand-xorshift-0.3) (name "rust-rand-xorshift") (version "0.2.0") (source @@ -37920,18 +37945,12 @@ generator based on timing jitter.") (sha256 (base32 "1a6wy76lc5fimm1n9n8fzhp4cfjwfwxh4hx63bg3vlh1d2w1dm3p")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.5) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1)))) - (home-page "https://crates.io/crates/rand-xorshift") - (synopsis "Xorshift random number generator") - (description - "Xorshift random number generator.") - (license (list license:expat license:asl2.0)))) + (("rust-bincode" ,rust-bincode-1)))))) (define-public rust-rand-xorshift-0.1 (package -- 2.30.2