From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QNKzNEQC4mAqEQAAgWs5BA (envelope-from ) for ; Sun, 04 Jul 2021 20:47:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aAg3MEQC4mDHKwAAbx9fmQ (envelope-from ) for ; Sun, 04 Jul 2021 18:47:32 +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 3BFB523947 for ; Sun, 4 Jul 2021 20:47:32 +0200 (CEST) Received: from localhost ([::1]:36716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m06WK-0005Dj-Cg for larch@yhetil.org; Sun, 04 Jul 2021 14:07:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m053M-0006b5-GB for guix-patches@gnu.org; Sun, 04 Jul 2021 12:33:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m053M-0001Rc-8o for guix-patches@gnu.org; Sun, 04 Jul 2021 12:33:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m053M-0003R6-6w for guix-patches@gnu.org; Sun, 04 Jul 2021 12:33:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49391] [PATCH 03/21] gnu: Add rust-rust-decimal-1 Resent-From: Domagoj Stolfa Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jul 2021 16:33:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49391 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49391@debbugs.gnu.org Cc: Domagoj Stolfa X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162541634512924 (code B ref -1); Sun, 04 Jul 2021 16:33:08 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jul 2021 16:32:25 +0000 Received: from localhost ([127.0.0.1]:43096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m052e-0003MD-JG for submit@debbugs.gnu.org; Sun, 04 Jul 2021 12:32:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:39242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m052a-0003Kx-6I for submit@debbugs.gnu.org; Sun, 04 Jul 2021 12:32:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m052Z-0006XE-Qc for guix-patches@gnu.org; Sun, 04 Jul 2021 12:32:19 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:37667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m052T-0000oi-Nh for guix-patches@gnu.org; Sun, 04 Jul 2021 12:32:19 -0400 Received: by mail-wr1-x42f.google.com with SMTP id i94so19002427wri.4 for ; Sun, 04 Jul 2021 09:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ueZtMzAyQHQxuVDi2VTMHRm42z9n57bfPP/4gPtGqh8=; b=ABc9vJlF3/9RtYgOMMkExzJYSNel6ErcpdDGYsly/qiyte8P3/7ZnE6dvY85VVAaKh XIP3UIDkzCp9qrc89xsN+sib7nbnvT8QOeCpc6IhZRkOVKQmSSqz5nGIcI4LpdN3Rdz0 /ElopRGH+zbPgc/yV2TrNx4Ens/bGBc2JLDSC2wnWQUjSqREdxNEkVvjpH0Z/pDxVVvG Y16bCG1XSQxIER4WCxYTU321LRz444k2tWB0dAaIt/0SgIiMb8/SUmjx7hJqZeSruJrT xMo25TgCDt8smhE4ZyxLTeS0UtiI7kKN/fqS6z596nTfGM0xvWsYEdfO3yfCKcInoMrM XWMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ueZtMzAyQHQxuVDi2VTMHRm42z9n57bfPP/4gPtGqh8=; b=rQ6H1UE5zZl0vGtZsTrmjXdisPybAKgjNcIjTAZBgO9boUuw82yPzpPxwwLhgNNEOw XBHinujDLdVeCQg86o4AUkOKGMzXeGgdNyeD8CRo6BxFoRp+/x5Ot8KsIqhdaNBiuYQR dF8ZkeA15spAuZpcrbNG1qb/mj4bC4/tWKHLFxu55tnaqjk8D2/4TVqcvIiqRmhiEXBz b+0baJm5Y3ZyVQweJW0AOx4gFdFYURq1NQQdZEEdUeli7JQW5RIk5Cc/J3A4BvIzjW+T CST+3Evg2eWbuX62ISykTwO/TTS8dnHwfXOQCRgR7skWf/M3/2YE14QY2MMdpaMOspis d4Lg== X-Gm-Message-State: AOAM533JK7RdMw2KJ16vpPQtHTIozj2HECs5d+JcK/LEVjEKATllrEpx 1SLtgMh3Wm2zIywCORnrAYAmbCGFxD+emA== X-Google-Smtp-Source: ABdhPJxfwg9nHH7lNtx6wCuStl4EEDfmcn+qMOrMIILFWdFOSjjUP+S8jc+vkXqwkdA7cvxJpQO6kw== X-Received: by 2002:a5d:61d1:: with SMTP id q17mr11213174wrv.162.1625416332545; Sun, 04 Jul 2021 09:32:12 -0700 (PDT) Received: from pepehands.quns.cam.ac.uk (ds815.queens.cam.ac.uk. [131.111.128.28]) by smtp.googlemail.com with ESMTPSA id r18sm11359306wmh.23.2021.07.04.09.32.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jul 2021 09:32:12 -0700 (PDT) From: Domagoj Stolfa X-Google-Original-From: Domagoj Stolfa Date: Sun, 4 Jul 2021 17:31:45 +0100 Message-Id: <20210704163203.31351-4-ds815@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210704163203.31351-1-ds815@gmx.com> References: <20210704163203.31351-1-ds815@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=domagoj.stolfa@gmail.com; helo=mail-wr1-x42f.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 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-Mailman-Approved-At: Sun, 04 Jul 2021 14:06:40 -0400 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=1625424452; 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=ueZtMzAyQHQxuVDi2VTMHRm42z9n57bfPP/4gPtGqh8=; b=eZS6QV00PTDR0hB+0W+R60KbQlfo9l9s5YZcvDSl9BPXypVTa49o2Mux6zyzVjySflby7S 1VF3NI4NXQ8RVPyNbYNdxzJTPOPFqxfX7QyMODiThJFLNIn3LDccWH5mINxzpzlqkeHGR8 Ni/UGKEfAA2ZCuOnMXG+V9GvLM917Vhau1VxLCmx/IIqTbpl6uCxs0/Hjw4dZjwo1mZ1BK h5Y7Ez/nOu10WrunQQhkFdbBZSsZrHk56c/xgqc5eJzkP12BeAiNE1wsNvHh2HksZoyGd1 /JV/CnGd8OEYh3FhZ/PV3cLpgQQCpwnJJAlQNr4kSixvJtOKC7b1Yc+9wESBrw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625424452; a=rsa-sha256; cv=none; b=bNMv6HteftM0EkSEBVAGNl+SCl5Zx1L8mgUXKNO8l/k/AhmRSrOQeExqMa+qhjjPU6H4Q8 SNcGv4A5MBkCzScTRUsJz43CyH/8hcpKpcWIqskUiIJyXWCxtFoTBgHH345DAc9HfYF5q3 347Ksv5A7ge5iBzJbTUP9x48UEVI6+e3vwCAUX2ZWFc6M7225bARVGUPALYbhiniM1qoxG w29RpvwgJGyHc3He556L7IO/OXSaqLbK4fCQp7/RRKgdyGegWzzAt7pZybN/gsdq+9kuAn p9OaDKz0ZUuVH7KBXHRV4zHgnHGRZF6C18RsLHYa4vJqGxn6RPggcHMY8aW+fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=ABc9vJlF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 4.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=ABc9vJlF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 3BFB523947 X-Spam-Score: 4.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: dSbPt1vzY6mM * 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))) +(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 financial calculations.") + (description + "This package provides a Decimal Implementation written in pure Rust suitable for financial calculations.") + (license license:expat))) + (define-public rust-rust-embed-5 (package (name "rust-rust-embed") -- 2.32.0