[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
152/281: gnu: Add rust-base64-0.21.
From: |
guix-commits |
Subject: |
152/281: gnu: Add rust-base64-0.21. |
Date: |
Wed, 22 Feb 2023 05:41:04 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 9caa1d016d5648f266ad8e0a964e5fc99da3a781
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 09:17:32 2023 +0200
gnu: Add rust-base64-0.21.
* gnu/packages/crates-io.scm (rust-base64-0.21): New variable.
(rust-base64-0.13): Inherit from rust-base64-0.21.
---
gnu/packages/crates-io.scm | 47 +++++++++++++++++++++++++++++++---------------
1 file changed, 32 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9183e59b77..0e5040ff4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5702,10 +5702,10 @@ RFC4648 Base32 or in Crockford Base32.")
c6e7d37. However, this package works only up to 128 bytes.")
(license license:expat)))
-(define-public rust-base64-0.13
+(define-public rust-base64-0.21
(package
(name "rust-base64")
- (version "0.13.0")
+ (version "0.21.0")
(source
(origin
(method url-fetch)
@@ -5713,27 +5713,44 @@ c6e7d37. However, this package works only up to 128
bytes.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1z82g23mbzjgijkpcrilc7nljpxpvpf7zxf6iyiapkgka2ngwkch"))))
+ (base32 "0sidjip5b33sr6w7kasfj9qxpbda41nw0x4gjjk55g55a6mdv954"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-development-inputs
- (("rust-criterion" ,rust-criterion-0.3)
- ("rust-rand" ,rust-rand-0.6)
- ("rust-structopt" ,rust-structopt-0.3))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-criterion-minor-version
- (lambda* _
- (substitute* "Cargo.toml"
- (("0\\.3\\.2")
- ,(package-version rust-criterion-0.3))))))))
+ `(#: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.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "base64" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1s494mqmzjb766fy1kqlccgfg2sdcjb6hzbvzqv2jw65fdi5h6wy"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("=0\\.3\\.2") "^0.3.2"))))))
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-structopt" ,rust-structopt-0.3))))))
+
(define-public rust-base64-0.12
(package
(inherit rust-base64-0.13)
- 128/281: gnu: librsvg: Update to 2.54.4., (continued)
- 128/281: gnu: librsvg: Update to 2.54.4., guix-commits, 2023/02/22
- 155/281: gnu: Add rust-botan-sys-0.8., guix-commits, 2023/02/22
- 159/281: gnu: Add rust-cipher-0.4., guix-commits, 2023/02/22
- 161/281: gnu: Add rust-concolor-query-0.1., guix-commits, 2023/02/22
- 138/281: gnu: Add rust-1.67., guix-commits, 2023/02/22
- 130/281: gnu: rust-windows-aarch64-msvc: Remove bundled library., guix-commits, 2023/02/22
- 142/281: build: cargo-build-system: Don't try to package when skipping build., guix-commits, 2023/02/22
- 144/281: gnu: rust: Update to 1.67., guix-commits, 2023/02/22
- 145/281: gnu: Add rust-toml-datetime-0.6., guix-commits, 2023/02/22
- 148/281: gnu: rust-1.55: Explicitly use llvm-13., guix-commits, 2023/02/22
- 152/281: gnu: Add rust-base64-0.21.,
guix-commits <=
- 110/281: gnu: rust-ryu-1: Update to 1.0.12., guix-commits, 2023/02/22
- 107/281: gnu: rust-rand-pcg-0.3: Update to 0.3.1., guix-commits, 2023/02/22
- 116/281: gnu: rust-curl-sys-0.4: Update to 0.4.53+curl-7.82.0., guix-commits, 2023/02/22
- 115/281: gnu: rust-curl-0.4: Update to 0.4.43., guix-commits, 2023/02/22
- 125/281: gnu: newsboat: Update to 2.30.1., guix-commits, 2023/02/22
- 136/281: gnu: rust.scm: Sort packages alphabetically., guix-commits, 2023/02/22
- 169/281: gnu: rust-document-features-0.2: Update to 0.2.7., guix-commits, 2023/02/22
- 170/281: gnu: Add rust-enum-as-inner-0.5., guix-commits, 2023/02/22
- 172/281: gnu: rust-futures-macro-0.3: Update to 0.3.26., guix-commits, 2023/02/22
- 173/281: gnu: rust-futures-task-0.3: Update to 0.3.26., guix-commits, 2023/02/22