mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: Add rust-base64-0.12.
* gnu/packages/crates-io.scm (rust-base64-0.12): New variable. (rust-base64-0.11): Inherit from rust-base64-0.12.
This commit is contained in:
parent
ab0479317e
commit
f03e4b73ff
1 changed files with 25 additions and 3 deletions
|
@ -1117,10 +1117,10 @@ (define-public rust-backtrace-sys-0.1
|
|||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-base64-0.11
|
||||
(define-public rust-base64-0.12
|
||||
(package
|
||||
(name "rust-base64")
|
||||
(version "0.11.0")
|
||||
(version "0.12.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -1129,7 +1129,14 @@ (define-public rust-base64-0.11
|
|||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1iqmims6yvr6vwzyy54qd672zw29ipjj17p8klcr578c9ajpw6xl"))))
|
||||
"0ryc48pp8dpx3rl1dcwn723dyfgifi4imh1f6kwd95lcqh6sy8z2"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; 'doctest' isn't stable until rust-1.40
|
||||
(substitute* "src/lib.rs"
|
||||
(("\\(doctest") "(test"))
|
||||
#t))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-development-inputs
|
||||
|
@ -1142,6 +1149,21 @@ (define-public rust-base64-0.11
|
|||
"This package encodes and decodes base64 as bytes or utf8.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-base64-0.11
|
||||
(package
|
||||
(inherit rust-base64-0.12)
|
||||
(name "rust-base64")
|
||||
(version "0.11.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "base64" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1iqmims6yvr6vwzyy54qd672zw29ipjj17p8klcr578c9ajpw6xl"))))))
|
||||
|
||||
(define-public rust-base64-0.10
|
||||
(package
|
||||
(inherit rust-base64-0.11)
|
||||
|
|
Loading…
Reference in a new issue