From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id kMHSEnURS2ZmYwAAqHPOHw:P1 (envelope-from ) for ; Mon, 20 May 2024 11:01:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kMHSEnURS2ZmYwAAqHPOHw (envelope-from ) for ; Mon, 20 May 2024 11:01:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=j3tbA4rF; dmarc=pass (policy=none) header.from=gnu.org; 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=1716195701; h=from:from:sender:sender:reply-to: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=VbYegbb5MkfaKBJVOR0wGkh0Y9N72KfGA2Z3TmvmOnE=; b=J+2ZEB1PazajMkYSTgryVJu2WzRuKrxC0HnanHOtL0BLW22106BCOS4dJRZcx+055kr+pQ Q0EOO0qzGAMTa4FvMzKVRUqAxktpxtxJfSqBx+YUYWQ8yxraIQ4S/zSw5jevahNpPpsDJY u6J7+0Dtm1DWJN68FQgTP6UA9TRy/LLS4wdiYO2J4PI7CwMiPl3HQiU8MxmCV3INH+xvZI PyIAkg0GVG0b0u8nLOUDl0wSHdVtK2uNBc7ZDRFGO3cMuFZkFVHZV5zb5Sc7lgGOwUPM/x +klb1soJ2i1TJtnbIm0JJnikJuX8HhzmGFe5VTg4YNWEg7fyebzotwDEtkaaqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716195701; a=rsa-sha256; cv=none; b=A4GbRxQ9ii1zrimd8SLHd6w1l+7UcBQiH4T7oc4j0F49C3JdBNgkOh0V9L4OWTybao72wP GM0Qg+Pm1B6UlhwwC/h7qjhgAZ2AUHCbujK8tgPCCw3NWIJU1ZKKuaop7FrJDvwWD5owwQ 8KhvVVSpE1tG9Uvx4+V89LGtipdFvp3IEJ4WQ9LraayEpkCmRLkl+MJOZTowtY3bADmPEY 95mw3hNM9ezvAD0uEf5zLXZ1ElYkJGNX0C0kOoldLm9FG5h2z+2ZciPM3XS6CwgQ0yVV0J rvElwdeAmrg8s+QSz12jXcWelKz85jah6BN4nm3ZD/ehcW7qMRzZFD9fIWxa8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=j3tbA4rF; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 D9F01668A6 for ; Mon, 20 May 2024 11:01:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8ytN-0000YO-2a; Mon, 20 May 2024 05:01:13 -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 1s8ytB-0000R5-6Q for guix-patches@gnu.org; Mon, 20 May 2024 05:01:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s8ytA-0006jR-AH for guix-patches@gnu.org; Mon, 20 May 2024 05:01:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8ytE-0007C0-Nk; Mon, 20 May 2024 05:01:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71076] [PATCH 05/81] gnu: Add rust-simple-asn1-0.6. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 09:01:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71076@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71076-submit@debbugs.gnu.org id=B71076.171619561327153 (code B ref 71076); Mon, 20 May 2024 09:01:04 +0000 Received: (at 71076) by debbugs.gnu.org; 20 May 2024 09:00:13 +0000 Received: from localhost ([127.0.0.1]:41076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysO-00073c-3G for submit@debbugs.gnu.org; Mon, 20 May 2024 05:00:13 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:37059 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysJ-00071L-Cr for 71076@debbugs.gnu.org; Mon, 20 May 2024 05:00:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1716195595; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VbYegbb5MkfaKBJVOR0wGkh0Y9N72KfGA2Z3TmvmOnE=; b=j3tbA4rFQblFdhdQLd79SUekcMGdwZ+KZ1tL1bXDBGOiPtQGXM1QPg0f+3kgP6RUd0WI3E S1p0U3xGQr1CAR6sVhJsOW/aJTPe56tf4a1P9b0JgA2OuD1/K0EyLlXhMy59bImU8lm0WP nv3//akrm8jSOwxMdTje7fdvm2WcQOGqu6nFbaf2fb2QFBr3ssnqPhHygqKsfUwdgzGu2C eC3cVe04PewKfO0L4V9psf0i2P82juG86kHJV/KJOoLf7I1lOKeJn2RcNymtH6V0VSKT/D C9+7FC7nhKNE88pmDTgU/Y2eeBBOg9m/bPi6DMVNDWFSqWvJtPSdc8zwTuQXIQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id c0038206 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <71076@debbugs.gnu.org>; Mon, 20 May 2024 08:59:55 +0000 (UTC) Date: Mon, 20 May 2024 10:58:10 +0200 Message-ID: <3135a8ff3d46cd5e6817c329c529e2060c4739e6.1716193122.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.86 X-Spam-Score: -1.86 X-Migadu-Queue-Id: D9F01668A6 X-Migadu-Scanner: mx11.migadu.com X-TUID: jEOnKPGM4+Wu * gnu/packages/crates-crypto.scm (rust-simple-asn1-0.6): Add variable. (rust-simple-asn1-0.4): Inherit from rust-simple-asn1-0.6. Change-Id: I3d233008144aee8c39cf25914746c10b7b67fd2e --- gnu/packages/crates-crypto.scm | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 879879d09d..39f4214905 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -6063,8 +6063,33 @@ (define-public rust-signature-derive-1 ("rust-syn" ,rust-syn-1) ("rust-synstructure" ,rust-synstructure-0.12)))))) +(define-public rust-simple-asn1-0.6 + (package + (name "rust-simple-asn1") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "simple_asn1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11d0l3l7lppzr1wxhvsbmjmw6s2vy3v7b8ygz500z4di9qhfbi5d")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs (list rust-num-bigint-0.4 rust-num-traits-0.2 + rust-thiserror-1 rust-time-0.3) + #:cargo-development-inputs (list rust-quickcheck-1 rust-rand-0.8 + rust-time-0.3))) + (home-page "https://github.com/acw/simple_asn1") + (synopsis "simple DER/ASN.1 encoding/decoding library.") + (description + "This package provides a simple DER/ASN.1 encoding/decoding library.") + (license license:isc))) + (define-public rust-simple-asn1-0.4 (package + (inherit rust-simple-asn1-0.6) (name "rust-simple-asn1") (version "0.4.1") (source @@ -6074,18 +6099,12 @@ (define-public rust-simple-asn1-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0jxy9as8nj65c2n27j843g4fpb95x4fjz31w6qx63q3wwlys2b39")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) ("rust-num-bigint" ,rust-num-bigint-0.2) ("rust-num-traits" ,rust-num-traits-0.2)) #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.7) - ("rust-rand" ,rust-rand-0.5)))) - (home-page "https://github.com/acw/simple_asn1") - (synopsis "Simple DER/ASN.1 encoding/decoding library") - (description - "This package provides a simple DER/ASN.1 encoding/decoding library.") - (license license:isc))) + ("rust-rand" ,rust-rand-0.5)))))) (define-public rust-sm3-0.4 (package -- 2.41.0