From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gDEVKkj76WH1fAAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 01:16:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oExuJ0j76WEyEAEA9RJhRA (envelope-from ) for ; Fri, 21 Jan 2022 01:16:08 +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 3BD54137EB for ; Fri, 21 Jan 2022 01:16:08 +0100 (CET) Received: from localhost ([::1]:49198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAhb5-0006dq-By for larch@yhetil.org; Thu, 20 Jan 2022 19:16:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAfOC-0003Gq-LX for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:41 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38379) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAfNl-0005xU-CU for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:17 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAfNl-0001hP-Bx for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53401] [PATCH 23/49] gnu: Add rust-secp256k1 0.21.2. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 21:54:13 +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.16427156306183 (code B ref 53401); Thu, 20 Jan 2022 21:54:13 +0000 Received: (at 53401) by debbugs.gnu.org; 20 Jan 2022 21:53:50 +0000 Received: from localhost ([127.0.0.1]:59443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfNN-0001be-J1 for submit@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:49 -0500 Received: from mail-ed1-f44.google.com ([209.85.208.44]:43909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfMq-0001Vz-60 for 53401@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:16 -0500 Received: by mail-ed1-f44.google.com with SMTP id m4so34392557edb.10 for <53401@debbugs.gnu.org>; Thu, 20 Jan 2022 13:53:16 -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=oI55tFwlv4Cg11RjmAuTFqZXKyFDpaiwN+w9Mo3AZ7Y=; b=BmRR3wm+f5EgW3t4ZbF0cFL7V8Ez2AatiM717gspt6grhi1q+la9CRybQ4WQ0oVAxX dwqCK+Q89klcopuPBhQAzC0hs25Ofz9NXggKK3oQqdpLuM9dlhSosACCiidilUED1m3Q bdMVCD3+7LV74Ugnu++KA0qcw1mP0RJmXf4hdP228oxbBAgBRpx7YDTzDVw40wUDCjzB pbOYVU+HiWd0FGUIjL8T9vl9PZFTHlygrey0RLWNcGtBfuMQLJcCqNZeHA6fFkf6ckbD WDpEwAY12/0N771RhDjjIwXjtcOkTaITTwDZhfgpZjlhUCTA67BmSb84tqgouJtLQpr/ J+MA== 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=oI55tFwlv4Cg11RjmAuTFqZXKyFDpaiwN+w9Mo3AZ7Y=; b=NXO49fwXrQRZ2otqLEaAxiJTvBqIx1amtOAhe3nJCIkrKkf3cstEtuDU60I8NG3Gfb oo52y3iE49AMm108W26SZfTavfQ3kvo/rTkXz07uQKWJ8cSDQRK7ShP6h5XPrf0mspaC /dqY5hH8oaZSIO5FUnusD8fj29KqpTH3WbnUlCI6q53Fz9f/1Slo/VP0MsCLMJBfNwPk q9LKRqy29UFgBH5XYvQWYGVgIW4X1RBAOFiaHfOZeh1rv+GDCHG5Yg5LypAnqK/mRcFX qVFZmuE2Hw9JdlkoX3aLCVAY3VG9UabdyrEJxchn79VD0RSTLULvge6UZxeRU3o8AwhB uLkg== X-Gm-Message-State: AOAM531Mqok5MJIG8cjYkQFiVfTXKPcrsjSu8dU3W60IX05ib6M28OJT 0BelvywPLl2xAtgYFjrSTO2lgXx+BNE= X-Google-Smtp-Source: ABdhPJz4CW4ajUSXDdW7UCbljpq+7UlLicYa4cGJVv0pn9JkUrQKZ/3W2zx4QYZTnJbgglkq+4/uBA== X-Received: by 2002:a17:907:7b8b:: with SMTP id ne11mr777765ejc.436.1642715590564; Thu, 20 Jan 2022 13:53:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 13:53:10 -0800 (PST) From: Attila Lendvai Date: Thu, 20 Jan 2022 22:50:19 +0100 Message-Id: <20220120215045.24768-23-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=1642724168; 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=oI55tFwlv4Cg11RjmAuTFqZXKyFDpaiwN+w9Mo3AZ7Y=; b=s1ubz1IbfouZxiN2vA0Ze0zobxXtprOkE0QI2U8tZrqN3+UwY8LX5vEYw4SX0OYv5M6/Ik q95O/Vv82bXdPHG9qtMFnW2Ky3Nd5rtrEYGninfeKPyDfPa9ycGEj/g/XUe9IatP3ppLJz 0/lsnuWHITzwBpNisyC6NgNy52COCQ3RCVZGfnYr02vScscX27xlox4DljeDy9XaJWQmTM RMMRDlKfR1DAcy1lC+h414HaCwF0qrK3NZSI5wvy/JyPwU04BnqcGpVs6y1YP0T1VWo6ts 0AMprudGcO/9pWvicfBwwnG0DL/CaS+fChaVXDlIbNv80KDgyFMPXuJgMxG7VA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642724168; a=rsa-sha256; cv=none; b=PX7OIZyuT2xrRyaQoNSvPT6j/P9GeCbrWt/kTK76G+mPJJd1QDVNaIN+3XeBrqLlY54rmV DhIQuaUwZlF9APJaGNuevbFYm2GuyDzqfkE/7f3/g7VIEz+ZHRuLtPrNr1eIyZt+KMrja6 Oq+gopVIvwjdjf/zpW8ZSegc+WCDEQn+0ra2o7KDe3eySnGszzIo7QKyighpWMutsxcKwz uD9SsodHXyEY2ZsBhE5VB+CVK9ZtiV6pARcOMWWOMf1vFdP7T3okfFJQ09FhVWpswgh0BL mzJI9gl5NlAmPGVaGwZT7vYgPhQbxmww4KT5dmYWoKcKohTMW3FWuzyyubpUig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BmRR3wm+; 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: -0.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BmRR3wm+; 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: 3BD54137EB X-Spam-Score: -0.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: 25wZsG4AKLCj --- gnu/packages/crates-io.scm | 55 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e110e03f45..06314f17a6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48536,6 +48536,61 @@ (define-public rust-section-testing-0.0 "This package provides a library for section-style testing.") (license license:expat))) +(define-public rust-secp256k1-0.21 + (package + (name "rust-secp256k1") + (version "0.21.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "secp256k1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09gia5hjf1hb9jgac9nzq0s0ijbsdjfflh40xw8z08avgl0q6y5b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10) + ("rust-rand" ,rust-rand-0.6) + ("rust-secp256k1-sys" ,rust-secp256k1-sys-0.4) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10) + ("rust-rand" ,rust-rand-0.6) + ("rust-rand-core" ,rust-rand-core-0.4) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/rust-bitcoin/rust-secp256k1/") + (synopsis + "Rust wrapper library for Pieter Wuille's `libsecp256k1`. Implements ECDSA and BIP 340 signatures for the SECG elliptic curve group secp256k1 and related utilities.") + (description + "Rust wrapper library for Pieter Wuille's `libsecp256k1`. Implements ECDSA and +BIP 340 signatures for the SECG elliptic curve group secp256k1 and related +utilities.") + (license license:cc0))) + +(define-public rust-secp256k1-sys-0.4 + (package + (name "rust-secp256k1-sys") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "secp256k1-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dk0as7qdlvg5vkcsihndzg1jgqb9amhwmz3xiip94fy7ibs4zcm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/rust-bitcoin/rust-secp256k1/") + (synopsis "FFI for Pieter Wuille's `libsecp256k1` library.") + (description synopsis) + (license license:cc0))) + (define-public rust-security-framework-2 (package (name "rust-security-framework") -- 2.34.0