From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OExdKDmx6mDoDwAAgWs5BA (envelope-from ) for ; Sun, 11 Jul 2021 10:52:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aMwLJDmx6mCFWQAAbx9fmQ (envelope-from ) for ; Sun, 11 Jul 2021 08:52:09 +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 650BD26426 for ; Sun, 11 Jul 2021 10:52:09 +0200 (CEST) Received: from localhost ([::1]:47092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2VC4-0003CR-Ei for larch@yhetil.org; Sun, 11 Jul 2021 04:52:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2VBy-0003CG-IM for guix-patches@gnu.org; Sun, 11 Jul 2021 04:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2VBy-0002Wh-7S for guix-patches@gnu.org; Sun, 11 Jul 2021 04:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2VBy-0000Ax-7Y for guix-patches@gnu.org; Sun, 11 Jul 2021 04:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49391] [PATCH 03/21] gnu: Add rust-rust-decimal-1 Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Jul 2021 08:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49391 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Domagoj Stolfa , 49391@debbugs.gnu.org Cc: Domagoj Stolfa Received: via spool by 49391-submit@debbugs.gnu.org id=B49391.1625993503653 (code B ref 49391); Sun, 11 Jul 2021 08:52:02 +0000 Received: (at 49391) by debbugs.gnu.org; 11 Jul 2021 08:51:43 +0000 Received: from localhost ([127.0.0.1]:33857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2VBf-0000AT-EW for submit@debbugs.gnu.org; Sun, 11 Jul 2021 04:51:43 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:48996 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2VBd-0000AC-Fi for 49391@debbugs.gnu.org; Sun, 11 Jul 2021 04:51:41 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1625993495; bh=FJKnDm9L+XzUD68hs+Dq77UuCp63tkTuv/cT/e4UGP0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=V5dQus/n1+6x0EIAON7N14ZMOGXCitiXoULchbPVxrlqQ2c/78b63J+QXT7slkHO2 OqymrgJf+TQG+XvQ/Gj33BqRJmb8kwU0g8kXbnqwN6PXZl2wdC6hVqoS4Uk24OqzkA gR0cThMsPWOHG2CZvS0KU09yNMVT4+Hh+H7TRM8Y= In-Reply-To: <20210704163203.31351-4-ds815@gmx.com> References: <20210704163203.31351-1-ds815@gmx.com> <20210704163203.31351-4-ds815@gmx.com> Date: Sun, 11 Jul 2021 10:51:34 +0200 Message-ID: <87h7h1s06h.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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=1625993529; 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: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=6kHohhfEVow2krA18GLywGXduEgIS0K46TOEUC/7R5w=; b=D3u6I7Gpg9geBp1N5ZiV1I9gxJwJgbr+TLKJTe5PrdQl0ov/512OQxdEO8Ch9G0N3+6ZtN L4X0PsbZz8mmZwxTpJ0fH772HUF9y802wJDIQVfR1HPI+hubIMvFaYaw8TLKxYgjmmi7si ZHVFAicpZqgc27LgGRnL+3WryX8u35wkN+Lp33i+eLk8bWo230yLRP4ae90y0JGwot+b9p 9ewHzRcg2dyfaoEM6g89mo3eV4dymUSbZPgAtDEe9Ysn775/AaAbzj0cqx2YVOdGnMmv6n 4eaF0JxZt7rIS0DN0x7Okr3pJ2v47k64VJ9dQVIDi5qq2NKjbNU3pm6UF5v7WA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625993529; a=rsa-sha256; cv=none; b=VrvYHQUACaY6JQnp5t+5K+Thmh6sw+wt7CRljLgCwaLWzCksS8UJWlNKfvrIzKvCCYFdrZ x+mIzQseP0k0ZgMXbHk2049NKjSZrJYBvyYfvrOH7opzPUrNr2RWtLq2ug7aTmvghIR+9n s1nLFbw6TymMXh9QJnmRJHTPSxbY+UCfsl/y+iMKpcoFCFsnjXx1owkrGVnHOC68Lvabvi k5rozsDPlwtBd34mxGwVFy2A9IWsAkTl+LEdvI/lPhRemgjmqCD9zyQadnwGrZVNLDgCby t63Y+5oQDnKHJ4lkaGY6q2j0NQBRQ1eIiV5+vFwqGsRFMFt9DX/HIH9IhZq2HQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="V5dQus/n"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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-Spam-Score: -0.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="V5dQus/n"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 650BD26426 X-Spam-Score: -0.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8GcuFb1qYU8h --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, Jul 04 2021, Domagoj Stolfa wrote: > * gnu/packages/crates-io.scm (rust-rust-decimal-1): New public variable. > --- > gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm > index 842400c13d..7e0ed9e504 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -37357,6 +37357,48 @@ password hashing function.") > suitable for financial calculations.") > (license license:expat))) >=20=20 > +(define-public rust-rust-decimal-1 > + (package > + (name "rust-rust-decimal") > + (version "1.14.3") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "rust-decimal" version)) > + (file-name > + (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "10k58hf367626d4akl7ifyk5qwqphfs5x6z1yay22pkyc6w7q4h1")))) > + (build-system cargo-build-system) > + (arguments > + `(#:cargo-inputs > + (("rust-arbitrary" ,rust-arbitrary-1) > + ("rust-arrayvec" ,rust-arrayvec-0.5) > + ("rust-byteorder" ,rust-byteorder-1) > + ("rust-bytes" ,rust-bytes-1) > + ("rust-diesel" ,rust-diesel-1) > + ("rust-num-traits" ,rust-num-traits-0.2) > + ("rust-postgres" ,rust-postgres-0.19) > + ("rust-serde" ,rust-serde-1) > + ("rust-serde-json" ,rust-serde-json-1) > + ("rust-tokio-postgres" ,rust-tokio-postgres-0.7)) > + #:cargo-development-inputs > + (("rust-bincode" ,rust-bincode-1) > + ("rust-bytes" ,rust-bytes-1) > + ("rust-csv" ,rust-csv-1) > + ("rust-futures" ,rust-futures-0.3) > + ("rust-serde-derive" ,rust-serde-derive-1) > + ("rust-serde-json" ,rust-serde-json-1) > + ("rust-tokio" ,rust-tokio-1)))) > + (home-page > + "https://github.com/paupino/rust-decimal") > + (synopsis > + "A Decimal Implementation written in pure Rust suitable for financ= ial calculations.") > + (description > + "This package provides a Decimal Implementation written in pure Ru= st suitable for financial calculations.") Line break at 80 characters :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmDqsRYVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x57jsQAJthGvf/1kzB3xLWSIRZXvm1knFe 97x01kTHfD0RziqkO+iqwza26I1eIXYxuHa9MFmzLngpgD6XEVY4vVOAAeCTHH+F Q3wNjphfX+vDAaCoAhctG4FVqfgaYlL3qGH4Yx2gdrn/NP3s8YyLts8DN1bEk7m+ Uxygu/UvPZatKaczKxvgAsYoGPfBCROobzQa5thI6UcLxPEryjU5s91FltzA/csI fAEk9aFzg8r9+T+swhV//DMIMmtJYGMQPzMI9zaaX/dB7KvzHsSGImsfYN+ShXFd YX+BCET4No/vX61yhq4DDN0J2Qui3J9QWMeD9HREX+RGxjx03UN41sTnqiDD6HNE h6SlC1mowfQwYI1wxuryaJM6mx21WyNze0WtGYkd4mjqTjcfbtLT6yxn/0lwFnk3 KVb5hAu2ShY8J9Whu44T2RtYFj++aEBLtVBiuumcnxxuyEZCPCl7RnA6nV08UJac zCckp/O7Lrka0cDr+NLXJ/zGT1DunptNAtQ0X8XXguCdloK24waOCrQ2GlUfD3E7 Vx8aSLXb/Tae5kp0EPmRjd2j2r/X70x1J/4qapqOX9EOyBLudJHcYCr28kBxG4BE y5SLO/YlV6HUQukPE+a+DeLVgnwi+m3+Ur5EjN2qm8jB8/w2EKJOluIVdcw3JBW5 bDJTJYV1ZL1iiJAl =f3oU -----END PGP SIGNATURE----- --=-=-=--