mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-bytes-0.6.
* gnu/packages/crates-io.scm (rust-bytes-0.6): New variable. (rust-bytes-0.5): Inherit from above.
This commit is contained in:
parent
e49cd072c2
commit
46f5b2285c
1 changed files with 25 additions and 6 deletions
|
@ -3154,8 +3154,32 @@ little-endian.")
|
||||||
(("rust-quickcheck" ,rust-quickcheck-0.2)
|
(("rust-quickcheck" ,rust-quickcheck-0.2)
|
||||||
("rust-rand" ,rust-rand-0.3))))))
|
("rust-rand" ,rust-rand-0.3))))))
|
||||||
|
|
||||||
|
(define-public rust-bytes-0.6
|
||||||
|
(package
|
||||||
|
(name "rust-bytes")
|
||||||
|
(version "0.6.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "bytes" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "05ivrcbgl4f7z2zzm9hbsi8cy66spi70xlm6fp16zsq4ylsvrp70"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-serde" ,rust-serde-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-loom" ,rust-loom-0.3)
|
||||||
|
("rust-serde-test" ,rust-serde-test-1))))
|
||||||
|
(home-page "https://github.com/tokio-rs/bytes")
|
||||||
|
(synopsis "Types and traits for working with bytes")
|
||||||
|
(description "This package is a utility library for working with bytes.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-bytes-0.5
|
(define-public rust-bytes-0.5
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-bytes-0.6)
|
||||||
(name "rust-bytes")
|
(name "rust-bytes")
|
||||||
(version "0.5.4")
|
(version "0.5.4")
|
||||||
(source
|
(source
|
||||||
|
@ -3165,17 +3189,12 @@ little-endian.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1q9r7si1l8vndg4n2ny2nv833ghp5vyqzk5indb9rmhd5ibaq2hk"))))
|
(base32 "1q9r7si1l8vndg4n2ny2nv833ghp5vyqzk5indb9rmhd5ibaq2hk"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-serde" ,rust-serde-1))
|
(("rust-serde" ,rust-serde-1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-loom" ,rust-loom-0.2)
|
(("rust-loom" ,rust-loom-0.2)
|
||||||
("rust-serde-test" ,rust-serde-test-1))))
|
("rust-serde-test" ,rust-serde-test-1))))))
|
||||||
(home-page "https://github.com/tokio-rs/bytes")
|
|
||||||
(synopsis "Types and traits for working with bytes")
|
|
||||||
(description "Types and traits for working with bytes.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-bytes-0.4
|
(define-public rust-bytes-0.4
|
||||||
(package/inherit rust-bytes-0.5
|
(package/inherit rust-bytes-0.5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue