From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uWliCJ62c2RGAwEASxT56A (envelope-from ) for ; Sun, 28 May 2023 22:16:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aDG+B562c2RBCQEA9RJhRA (envelope-from ) for ; Sun, 28 May 2023 22:16:30 +0200 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 684412EDB8 for ; Sun, 28 May 2023 22:16:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3Mo9-0004sE-IE; Sun, 28 May 2023 16:16:05 -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 1q3Mo6-0004s1-Rx for guix-patches@gnu.org; Sun, 28 May 2023 16:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3Mo6-0000NI-Ke for guix-patches@gnu.org; Sun, 28 May 2023 16:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3Mo6-000738-GF for guix-patches@gnu.org; Sun, 28 May 2023 16:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60603] [PATCH] gnu: Add rust-uom Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 May 2023 20:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60603 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60603@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168530492527048 (code B ref -1); Sun, 28 May 2023 20:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 May 2023 20:15:25 +0000 Received: from localhost ([127.0.0.1]:54691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3MnU-00072B-K8 for submit@debbugs.gnu.org; Sun, 28 May 2023 16:15:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:49626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3MnS-000723-2y for submit@debbugs.gnu.org; Sun, 28 May 2023 16:15:22 -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 1q3MnR-0004pG-Sh for guix-patches@gnu.org; Sun, 28 May 2023 16:15:21 -0400 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3MnP-00008w-Mb for guix-patches@gnu.org; Sun, 28 May 2023 16:15:21 -0400 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f4f757d575so1151979e87.0 for ; Sun, 28 May 2023 13:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685304917; x=1687896917; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=2GzWhGkD+5cU7jrZd3Osw4Z4F5bQ2pg9tzYyf4RfZ5M=; b=GB9QUDo1nFyfTXfJLACu63ZjuEfF1YbWGO6VWJsU+UC+Vc1zoL4Bnj6lSom7znj34G le68H7eJRTHqVQfKW48StJHTREAsKIRLlv7lLoZbuKXCqRMBMMqK1FKhyFbj54nlVVLq tJvnhcZEI+FbBc0dMXiYsNOO8g5+tw0KJv+weROhA/KHsS6xZCcKq3ZHOetnjjYaEBS+ 4VkHpxgCWaTo7o0ZjzEm1yEnN+AwOhV00yvVYvv5uUvRFuKYrCwsvT+hk6hTtecjBn8I XZBF60XRk/nwGkYs9sUvFhrLTy5eS6FzLWlYFQ0NcvD0iVZ5Euo9riNwE8qOCTWqukmd iK2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685304917; x=1687896917; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2GzWhGkD+5cU7jrZd3Osw4Z4F5bQ2pg9tzYyf4RfZ5M=; b=bSE3pHoEBHAnuRXs3b8Z/HwRSVw8no7VNKCvbacEfkiyGNBtXZy0/eheGmK3hDlShQ D4JyEyn4GHdsbZ+wCHecPwjiUM71keN3hS5qPrQZeV3uSgoYrr4X2Br2chaR1pSXfPP3 Hwx20phYfRQryd8UXYkfoBcwhKAApV29/aEU904AFV1ORuXUzGNUs/wMamwWE4lpm5FH c+pE5agiCXABzsdEKvtyGjgfaZlrHQvS4mnmKfljUQn4o2tvq9QynHjwhTji7A9BEEIW 67UAvhG7xw6kGasauThd27K4HusdB6Yw06ttkFpW84mPd0uelx2a/H3qgf55p+YpLd8y dgtQ== X-Gm-Message-State: AC+VfDzfe4eRz7noIYpq4wJKLp48ySsJzL/PtGRIZjHhk6GTwnL+f3qv h79gcRghj20X8p1L92GbuFNZYdkOUcM= X-Google-Smtp-Source: ACHHUZ7lUOfJs5HHp4KmZHHKQTSog3gQPR/Tev2UFgk22hpVS7FommWPXyWP+WPLRRqGBZ+vkFBV5w== X-Received: by 2002:a05:6512:10cc:b0:4f2:47ea:2f32 with SMTP id k12-20020a05651210cc00b004f247ea2f32mr1943750lfg.23.1685304916737; Sun, 28 May 2023 13:15:16 -0700 (PDT) Received: from elephant ([95.79.66.161]) by smtp.gmail.com with ESMTPSA id f4-20020a2e9184000000b002adbe01cd69sm2126868ljg.9.2023.05.28.13.15.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 13:15:15 -0700 (PDT) From: "Artyom V. Poptsov" References: <878rifbmcn.fsf@gmail.com> <8735484rn0.fsf@gmail.com> Date: Sun, 28 May 2023 23:15:12 +0300 In-Reply-To: <8735484rn0.fsf@gmail.com> (Artyom V. Poptsov's message of "Sun, 07 May 2023 08:50:11 +0300") Message-ID: <87o7m4jjqn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x134.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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685304989; a=rsa-sha256; cv=none; b=TLgBXMTG+ifpix7mjiumZt2a/Cwg4jw23QrFyTPiB2rIkUL/yRPBl29EsqaqZpqQM4NRck RRMmIfZO9eEMJu4VO3MOuIsaO0xEE2sZ1BOPxRSpqbdO5MyxagcawfTbh0kwV2VkOHAuH2 ZVENbMKruP/54g5RevMDBA9MnRZ40coJZAydKpZ57caxtt8vNW2q0gOBwMOQFSB3kOgVO0 /EkSqm2cxWAibStQSbgdImgrqKVx6cLTpnLPCkUq4+HQsJe+DKJeAe29E14uNnuFcw5OO/ 7bNPwdjV1Mq/2avt2Rfded2xuGWdlPSlnx2QGHD9PWwQvY9sbtIRcnAwzShPlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=GB9QUDo1; 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=1685304989; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=2GzWhGkD+5cU7jrZd3Osw4Z4F5bQ2pg9tzYyf4RfZ5M=; b=sbj5hPToSxwQiDlXEgVWdGgHW9wK725dK3DU0W8/E6VS6Lpx1JsH55674AsYs5Ua4x6oUo 9AswXJC+eK+WhN2sfbXpEyW/EgjqMGeoTh1fO8zIXCEFYmZK4yZMwlsx2M0Bf3QMNazTM4 dEHumE9bs5miyovTakv5o820D4Mk+U7HtDRXQC1wnpPY+vYlCqX+0pHnUSfENIHRmuIhDa ekLrXNP9vRy6aP5oDYcoo3qMYx4LsO6UFooYOk47ytXU3aayCjiaCvxlZHwIiYP3f9BCBn XyCyDFk/UuxXucXio6OKJ93PxKEthF5IQnkpcq+7jW3KlKMfiKUfQ6AJduws/g== X-Migadu-Spam-Score: -1.31 X-Spam-Score: -1.31 X-Migadu-Queue-Id: 684412EDB8 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=GB9QUDo1; 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" X-TUID: 0eh2ApDxJtDl --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, I've rebased the patch onto the "master" branch. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-rust-uom.patch Content-Transfer-Encoding: quoted-printable From=202413309f05a0876a2ad4b6dcd450c07fe1961a22 Mon Sep 17 00:00:00 2001 Message-Id: <2413309f05a0876a2ad4b6dcd450c07fe1961a22.1685304694.git.poptso= v.artyom@gmail.com> From: "Artyom V. Poptsov" Date: Fri, 6 Jan 2023 19:43:20 +0300 Subject: [PATCH] gnu: Add rust-uom. * gnu/packages/crates-io.scm (rust-uom-0.34): New variable. =2D-- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index af77a40257..3877f6c977 100644 =2D-- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14304,6 +14304,40 @@ (define-public rust-cpuprofiler-0.0 (description "This package provides bindings to Google's cpu profiler.= ") (license license:bsd-2))) =20 +(define-public rust-uom-0.34 + (package + (name "rust-uom") + (version "0.34.0") + (source (origin + (method url-fetch) + (uri (crate-uri "uom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "190n79b5ywa9w0j13ld0q6dphz7vzsjkwrpp8pjnwrczsvfhxxg8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-num-complex" ,rust-num-complex-0.4) + ("rust-num-rational" ,rust-num-rational-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-typenum" ,rust-typenum-1) + ("rust-serde" ,rust-serde-1) + ("rust-num-bigint" ,rust-num-bigint-0.4)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5) + ("rust-quickcheck" ,rust-quickcheck-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-static-assertions" ,rust-static-= assertions-1)))) + (home-page "https://github.com/iliekturtles/uom") + (synopsis "Units of measurement") + (description + "@code{uom} (Units of measurement) is a crate that does automatic typ= e-safe +zero-cost dimensional analysis. You can create your own systems or use th= e pre-built +International System of Units (SI) which is based on the International Sys= tem of +Quantities (ISQ) and includes numerous quantities (length, mass, time, ...= ) with +conversion factors for even more numerous measurement units (meter, kilome= ter, foot, +mile, ...).") + (license (list license:expat license:asl2.0)))) + (define-public rust-crates-index-0.18 (package (name "rust-crates-index") base-commit: 9845e408e533f5834a13f294ca1ddc1dc7e248fd =2D-=20 2.34.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Could you please review it? Thanks, =2D avp =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmRztlAZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigLwENB/0TYB4sjuWSES8EW/DJM3/N E8BiFkmOyDLHFwTYQNZSimWrCslEb4fdJeye/xLMndR8wIvNEAOGanUhjfzdMlgR jXigIM8Kd8Y/JdDQK8MpZ4euNXdfRc5C2lSODwUgn/33+sy95jB7VGZYAHJ6f25Y c5Uhf47r4cWxtNYM3uu4cLgXw6Mk1P8Az7oQ+1SqD7++kn/UFKRpa3cHhMRIGlYn XbJYlqztbeXvOC81L8JiJHYSqb9CZiLiOfoIjB9nxk4Y+SsLAmWP6JhABrkeauw9 hQqY5A4ze/oQYa7k1l5Ji7X3krE4y11wai7r9ZAGlq4lDofJhhtgQB3mtP/cZUq2 =uewn -----END PGP SIGNATURE----- --==-=-=--