all messages for Guix-related lists mirrored at yhetil.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 17/32] gnu: Add rust-base64-0.21.
Date: Sat,  4 Mar 2023 15:00:59 +0100	[thread overview]
Message-ID: <11915102dee01598d775c717ef7fb6d1844d69bf.1677936691.git.arjan@adriaan.se> (raw)
In-Reply-To: <cover.1677936690.git.arjan@adriaan.se>

* gnu/packages/crates-io.scm (rust-base64-0.21): New variable.
(rust-base64-0.13): Inherit from above.
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ce406474fc..4cbaaf0810 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5645,8 +5645,34 @@ (define-public rust-base58-0.1
 c6e7d37.  However, this package works only up to 128 bytes.")
     (license license:expat)))
 
+(define-public rust-base64-0.21
+  (package
+    (name "rust-base64")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "base64" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0sidjip5b33sr6w7kasfj9qxpbda41nw0x4gjjk55g55a6mdv954"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.4)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rstest" ,rust-rstest-0.12)
+        ("rust-rstest-reuse" ,rust-rstest-reuse-0.3)
+        ("rust-structopt" ,rust-structopt-0.3))))
+    (home-page "https://github.com/marshallpierce/rust-base64")
+    (synopsis "Encodes and decodes base64 as bytes or utf8")
+    (description
+     "This package encodes and decodes base64 as bytes or utf8.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-base64-0.13
   (package
+    (inherit rust-base64-0.21)
     (name "rust-base64")
     (version "0.13.0")
     (source
@@ -5657,7 +5683,6 @@ (define-public rust-base64-0.13
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1z82g23mbzjgijkpcrilc7nljpxpvpf7zxf6iyiapkgka2ngwkch"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-development-inputs
@@ -5670,12 +5695,7 @@ (define-public rust-base64-0.13
           (lambda* _
            (substitute* "Cargo.toml"
              (("0\\.3\\.2")
-              ,(package-version rust-criterion-0.3))))))))
-    (home-page "https://github.com/marshallpierce/rust-base64")
-    (synopsis "Encodes and decodes base64 as bytes or utf8")
-    (description
-     "This package encodes and decodes base64 as bytes or utf8.")
-    (license (list license:expat license:asl2.0))))
+              ,(package-version rust-criterion-0.3))))))))))
 
 (define-public rust-base64-0.12
   (package
-- 
2.39.1





  parent reply	other threads:[~2023-03-04 14:03 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 ` [bug#61958] [PATCH 05/32] gnu: Add rust-cipher-0.4 Arjan Adriaanse
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 ` Arjan Adriaanse [this message]
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

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

  git send-email \
    --in-reply-to=11915102dee01598d775c717ef7fb6d1844d69bf.1677936691.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.