From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8CgnGmH06WFSPQAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 00:46:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WLuFFmH06WFGiQAAauVa8A (envelope-from ) for ; Fri, 21 Jan 2022 00:46:41 +0100 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 0E965F51E for ; Fri, 21 Jan 2022 00:46:41 +0100 (CET) Received: from localhost ([::1]:49140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAh8Z-0003N4-Ii for larch@yhetil.org; Thu, 20 Jan 2022 18:46:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAfOK-0003IQ-TI for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:58 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAfNp-0005xl-79 for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:21 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAfNp-0001iU-6L for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:17 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53401] [PATCH 31/49] gnu: Add rust-parity-crypto 0.9.0. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 21:54:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53401@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 53401-submit@debbugs.gnu.org id=B53401.16427156446321 (code B ref 53401); Thu, 20 Jan 2022 21:54:17 +0000 Received: (at 53401) by debbugs.gnu.org; 20 Jan 2022 21:54:04 +0000 Received: from localhost ([127.0.0.1]:59461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfNQ-0001cd-7q for submit@debbugs.gnu.org; Thu, 20 Jan 2022 16:54:04 -0500 Received: from mail-ed1-f46.google.com ([209.85.208.46]:42774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfMv-0001Wy-U4 for 53401@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:22 -0500 Received: by mail-ed1-f46.google.com with SMTP id p12so34517518edq.9 for <53401@debbugs.gnu.org>; Thu, 20 Jan 2022 13:53:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nnJzRYnVX3WyX7lALATcIOJkDqK+ajXS9E1T1UM4L/g=; b=gQ3vrzstH3f6KWGghjnmGr3ZUsw1X8uGZys48CwB74CwSeukELcJqg0wvsYLewW6bC MaIh+TVfR8aIMIb5COEHXBkxQgoOXH9kFW6r7bFI3whKHdPs8oMxAXb/IG8jSCgPdPPh 1bs9Ni1xWpbodr5bHmCBHuruqVXgkpEJz6rDXeQxhp+zVXNhNF83VYt00LRwEsnWLC6L +TZJmNLl/yIrzB04TCe4QbmXVktWdUhTivqP+P70+NApoIzGIL/R1KV5MQ5Mxb74opjR tKpJVLyMUh8jzTh0mg/yY9LwYXcAQjsB0MstVUddg4Z7wQvwpx1XR+dQdodG+xnqB0Z1 htxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=nnJzRYnVX3WyX7lALATcIOJkDqK+ajXS9E1T1UM4L/g=; b=AahguROckV5L8w0sv+tFLx5qRSGIjpg3r0Bj6BY8FDqS9AbFQsJvztWq/8Z4N4S9Oj aWrjWoCU2OUlbHDpTO9Zriu0eGaoRhnIaZhBxqdslKgZClV27/FC4X/Knt9ilvdvnp4v TJe3XiFEp7k2KZPxzKDystiA66RdhwS+tl3NIg/1Q/lYuXwvSQ4pHau+/QXEEpiaYJlr l5yRRI44xaPHSF0QLIfU2anRT8wHc/Aphw2HmcldXVV8JDlbUi7ZLLpUhVGZ8xqICFO+ slngEIbqi2JFrtX+KJWUlLaknjoAfoDI41rz/Ype4U9CHMHJ9Q8vKiquMpm3fZj66Fky 1a8g== X-Gm-Message-State: AOAM530U9vH886j98u0aYxmaT4254HA50uGozgl3ChDNmlsSkApQpcrX rPf0gIvPE1L4y34E9tSlYAFmfdTt5/M= X-Google-Smtp-Source: ABdhPJygF9ymFNw4dgwqD/mMsjaIWzPsajV5qJqb/Z7vUayipH+tYQssnBslGtCOIMHE5DLJPUZ14A== X-Received: by 2002:aa7:cad7:: with SMTP id l23mr1171510edt.142.1642715596326; Thu, 20 Jan 2022 13:53:16 -0800 (PST) Received: from lelap.local (catv-89-132-245-188.catv.broadband.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id e17sm1405339eje.218.2022.01.20.13.53.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 13:53:15 -0800 (PST) From: Attila Lendvai Date: Thu, 20 Jan 2022 22:50:27 +0100 Message-Id: <20220120215045.24768-31-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220120215045.24768-2-attila@lendvai.name> References: <20220120215045.24768-2-attila@lendvai.name> 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642722401; 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=nnJzRYnVX3WyX7lALATcIOJkDqK+ajXS9E1T1UM4L/g=; b=eU1P/mQPP5aGqoV5T5wrOct/4BBk7zvVAeWdUPFAmCxDdRTvHbDl6j28gXbUAeTPcq+sCW bNdxOdvzMXy8KI59xK9oOC7bYd8e/4EdyHLlzAIRG6zXgBDZIYEvaAZPsSQozckm0eT0ND Rz44SiiCyQPhpTdmNgDdtJler+T1NLzp3f2leBhHxDaf6gREH59rMhxZdjqNG+RcPUrpM2 I4raFlNQYG72dWJ4sWgBH7+O20+AwhMNTW75RfMUt7eTW1FA9OvSh1HBRwUw8+3eCFYBGO XoK15V/euVXwGs0Zh+NOA1wDrnT/JJpL7P0Rk5VL8HdgSEa/UFrgTSAOYCm17g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642722401; a=rsa-sha256; cv=none; b=j4GmDc+ANN6mXltsf9NZaeFaMwlZ2AlVOmKtpKalCwxBtVwyNoTFeJW7ZmN8FCJb9FnwVB t1cBECBWJ9gUgOCRmygP2DShlNQuWjZwd5goejjgjpk1ZkUtAabPwCJYWVtEZtgyGX+fMs Xv+AvgmvjG6W0GiiAtwzuc59aqoW50otk3zr8eu6JIDYO9vY5CMEgathvprDEyEVqUiDt/ pOjZhJfL2BBy8ZJPTPSrwpgadH4XcLECUlsxepryxnQByQvROqbpqG6w5sENSQigYuScoP NEaVSa4ms2xZF5m8Bb0VnA9xl/unU5JnzX9AdaMemSX3nM3qcntnD1mtDO5qAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gQ3vrzst; dmarc=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-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gQ3vrzst; dmarc=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-Migadu-Queue-Id: 0E965F51E X-Spam-Score: -1.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: Vd8+yV3lroO3 * gnu/packages/crates-io.scm (rust-parity-crypto): New variable. --- gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 29aee4c30e..f1b2b456f4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36789,6 +36789,56 @@ (define-public rust-parity-bytes (description synopsis) (license (list license:expat license:asl2.0)))) +(define-public rust-parity-crypto + (package + (name "rust-parity-crypto") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "parity-crypto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dafz7pfi21plp6r6k2bh7ysjd3x75yix6a9gkdy3mn0vafym4jb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aes" ,rust-aes-0.6) + ("rust-block-modes" ,rust-block-modes-0.7) + ("rust-digest" ,rust-digest-0.9) + ("rust-ethereum-types" ,rust-ethereum-types-0.12) + ("rust-hex" ,rust-hex-0.2) + ("rust-hmac" ,rust-hmac-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pbkdf2" ,rust-pbkdf2-0.7) + ("rust-ripemd" ,rust-ripemd-0.1) + ("rust-rustc-hex" ,rust-rustc-hex-2) + ("rust-scrypt" ,rust-scrypt-0.5) + ("rust-secp256k1" ,rust-secp256k1-0.20) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-subtle" ,rust-subtle-2) + ("rust-tiny-keccak" ,rust-tiny-keccak-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-hex-literal" ,rust-hex-literal-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-version-requirements + (lambda _ + ;; SUBSTITUTE* can't do multiline regex, so let's just do this: + (delete-file "Cargo.toml") + (rename-file "Cargo.toml.orig" "Cargo.toml") + (substitute* "Cargo.toml" + (("aes-ctr = \"0.6.0\"") "") + (("ethereum-types = \\{ version = \"0.12.0\".*") + "ethereum-types = { version = \"0.12.0\", optional = true }\n") + (("ripemd160 = \"0.9.1\"") "ripemd = \"0.1.0\""))))))) + (home-page "https://github.com/paritytech/parity-common") + (synopsis "General cryptographic utilities for Ethereum") + (description synopsis) + (license (list license:expat license:asl2.0)))) + (define-public rust-parity-tokio-ipc-0.4 (package (name "rust-parity-tokio-ipc") -- 2.34.0