gnu: rust-base64-0.12: Cleanup package.
* gnu/packages/crates-io.scm (rust-base64-0.12)[source]: Remove old rust version workaround. [cargo-development-inputs]: Remove rust-doc-comment-0.3. (rust-base64-0.11): Adjust accordingly. Change-Id: I4319f4b07934894094975da52100767b8944315f
This commit is contained in:
parent
dc076c5775
commit
8a047ca66c
1 changed files with 9 additions and 16 deletions
|
@ -6996,22 +6996,12 @@ c6e7d37. However, this package works only up to 128 bytes.")
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "base64" version))
|
(uri (crate-uri "base64" version))
|
||||||
(file-name
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1zq33had71xh48n17g4kqs96szhx3yh7qibzwi4fk217n3vz0h9l"))))
|
||||||
"1zq33had71xh48n17g4kqs96szhx3yh7qibzwi4fk217n3vz0h9l"))
|
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
'(begin
|
|
||||||
;; 'doctest' isn't stable until rust-1.40
|
|
||||||
(substitute* "src/lib.rs"
|
|
||||||
(("\\(doctest") "(test"))
|
|
||||||
#t))))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-development-inputs
|
`(#:cargo-development-inputs
|
||||||
(("rust-criterion" ,rust-criterion-0.3)
|
(("rust-criterion" ,rust-criterion-0.3)
|
||||||
("rust-doc-comment" ,rust-doc-comment-0.3)
|
|
||||||
("rust-rand" ,rust-rand-0.6))))))
|
("rust-rand" ,rust-rand-0.6))))))
|
||||||
|
|
||||||
(define-public rust-base64-0.11
|
(define-public rust-base64-0.11
|
||||||
|
@ -7023,11 +7013,14 @@ c6e7d37. However, this package works only up to 128 bytes.")
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "base64" version))
|
(uri (crate-uri "base64" version))
|
||||||
(file-name
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1iqmims6yvr6vwzyy54qd672zw29ipjj17p8klcr578c9ajpw6xl"))))
|
||||||
"1iqmims6yvr6vwzyy54qd672zw29ipjj17p8klcr578c9ajpw6xl"))))))
|
(arguments
|
||||||
|
`(#:cargo-development-inputs
|
||||||
|
(("rust-criterion" ,rust-criterion-0.3)
|
||||||
|
("rust-doc-comment" ,rust-doc-comment-0.3)
|
||||||
|
("rust-rand" ,rust-rand-0.6))))))
|
||||||
|
|
||||||
(define-public rust-base64-0.10
|
(define-public rust-base64-0.10
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue