unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Arjan Adriaanse <arjan@adriaan.se>
To: 61958@debbugs.gnu.org
Cc: Arjan Adriaanse <arjan@adriaan.se>
Subject: [bug#61958] [PATCH 05/32] gnu: Add rust-cipher-0.4.
Date: Sat,  4 Mar 2023 14:53:59 +0100	[thread overview]
Message-ID: <007443456076b9083de928fd985f7e113e19de7c.1677936690.git.arjan@adriaan.se> (raw)
In-Reply-To: <cover.1677936690.git.arjan@adriaan.se>

* gnu/packages/crates-io.scm (rust-cipher-0.4): New variable.
(rust-cipher-0.3): Inherit from above.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6bae1c146e..a4d0f4eae5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10343,10 +10343,10 @@ (define-public rust-clang-sys-1
     (description "This package provides Rust bindings for libclang.")
     (license license:asl2.0)))
 
-(define-public rust-cipher-0.3
+(define-public rust-cipher-0.4
   (package
     (name "rust-cipher")
-    (version "0.3.0")
+    (version "0.4.3")
     (source
       (origin
         (method url-fetch)
@@ -10354,12 +10354,14 @@ (define-public rust-cipher-0.3
         (file-name
          (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32 "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby"))))
+         (base32 "17mmmqaalirdx7bpdhrgzp1sd392zm08mjrr24cjr57pz1q351yi"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
         (("rust-blobby" ,rust-blobby-0.3)
-         ("rust-generic-array" ,rust-generic-array-0.14))))
+         ("rust-crypto-common" ,rust-crypto-common-0.1)
+         ("rust-inout" ,rust-inout-0.1)
+         ("rust-zeroize" ,rust-zeroize-1))))
     (home-page "https://docs.rs/cipher/")
     (synopsis "Traits for describing block ciphers and stream ciphers")
     (description "This package provides traits which define the functionality
@@ -10368,6 +10370,24 @@ (define-public rust-cipher-0.3
 traits.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-cipher-0.3
+  (package
+    (inherit rust-cipher-0.4)
+    (name "rust-cipher")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cipher" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-blobby" ,rust-blobby-0.3)
+        ("rust-generic-array" ,rust-generic-array-0.14))))))
+
 (define-public rust-cipher-0.2
   (package
     (inherit rust-cipher-0.3)
-- 
2.39.1





  parent reply	other threads:[~2023-03-04 13:56 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-04 13:50 [bug#61958] [PATCH 00/32] various Rust updates and additions Arjan Adriaanse
2023-03-04 13:53 ` [bug#61958] [PATCH 01/32] gnu: Add rust-block-padding-0.3 Arjan Adriaanse
2023-03-04 13:53 ` [bug#61958] [PATCH 02/32] gnu: Add rust-inout-0.1 Arjan Adriaanse
2023-03-04 13:53 ` [bug#61958] [PATCH 03/32] gnu: rust-typenum-1: Update to 1.16.0 Arjan Adriaanse
2023-03-04 13:53 ` [bug#61958] [PATCH 04/32] gnu: rust-crypto-common-0.1: Update to 0.1.6 Arjan Adriaanse
2023-03-04 13:53 ` Arjan Adriaanse [this message]
2023-03-04 13:54 ` [bug#61958] [PATCH 06/32] gnu: Add rust-aes-0.8 Arjan Adriaanse
2023-03-04 13:54 ` [bug#61958] [PATCH 07/32] gnu: Add rust-anes-0.1 Arjan Adriaanse
2023-03-04 13:54 ` [bug#61958] [PATCH 08/32] gnu: Add rust-rstest-0.11 Arjan Adriaanse
2023-03-04 13:54 ` [bug#61958] [PATCH 09/32] gnu: Add rust-ciborium-io-0.2 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 10/32] gnu: Add rust-ciborium-ll-0.2 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 11/32] gnu: Add rust-ciborium-0.2 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 12/32] gnu: Add rust-criterion-plot-0.5 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 13/32] gnu: Add rust-criterion-0.4 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 14/32] gnu: rust-rand-0.8: Update to 0.8.5 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 15/32] gnu: Add rust-rstest-0.12 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 16/32] gnu: Add rust-rstest-reuse-0.3 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 17/32] gnu: Add rust-base64-0.21 Arjan Adriaanse
2023-03-04 14:01 ` [bug#61958] [PATCH 18/32] gnu: rust-serde-1: Update to 1.0.139 Arjan Adriaanse
2023-03-04 14:01 ` [bug#61958] [PATCH 19/32] gnu: rust-serde-derive-1: " Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 20/32] gnu: Add rust-basic-toml-0.1 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 21/32] gnu: rust-trybuild-1: Update to 1.0.77 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 22/32] gnu: rust-anyhow-1: Update to 1.0.69 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 23/32] gnu: rust-async-trait-0.1: Update to 0.1.64 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 24/32] gnu: Add rust-cbc-0.1 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 25/32] gnu: Add rust-windows-targets-0.42 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 26/32] gnu: Add rust-windows-sys-0.45 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 27/32] gnu: Add rust-linux-raw-sys-0.1 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 28/32] gnu: rust-os-pipe-1: Update to 1.1.3 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 29/32] gnu: Add rust-io-lifetimes-1 Arjan Adriaanse
2023-03-04 14:13 ` [bug#61958] [PATCH 30/32] gnu: Add rust-rustix-0.36 Arjan Adriaanse
2023-03-04 14:13 ` [bug#61958] [PATCH 31/32] gnu: Add rust-hermit-abi-0.3 Arjan Adriaanse
2023-03-04 14:13 ` [bug#61958] [PATCH 32/32] gnu: Add rust-is-terminal-0.4 Arjan Adriaanse
     [not found] ` <handler.61958.B.16779379161834.ack@debbugs.gnu.org>
2023-03-04 16:30   ` [bug#61958] Acknowledgement ([PATCH 00/32] various Rust updates and additions) Arjan Adriaanse
2023-05-15 13:45 ` [bug#61958] (no subject) Tyler Wolf
2023-05-16  6:47   ` bug#61958: " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=007443456076b9083de928fd985f7e113e19de7c.1677936690.git.arjan@adriaan.se \
    --to=arjan@adriaan.se \
    --cc=61958@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).