me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-scroll-0.11.

* gnu/packages/crates-io.scm (rust-scroll-0.11): New variable.
(rust-scroll-0.10): Inherit from rust-scroll-0.11.
Efraim Flashner 2023-07-13 19:11:01 +03:00
parent 5977428880
commit 94a108d271
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 27 additions and 8 deletions

View File

@ -56387,8 +56387,34 @@ function.")
("rust-sha2" ,rust-sha2-0.9) ("rust-sha2" ,rust-sha2-0.9)
("rust-subtle" ,rust-subtle-2)))))) ("rust-subtle" ,rust-subtle-2))))))
(define-public rust-scroll-0.11
(package
(name "rust-scroll")
(version "0.11.0")
(source (origin
(method url-fetch)
(uri (crate-uri "scroll" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1nhrhpzf95pxbcjjy222blwf8rl3adws6vsqax0yzyxsa6snbi84"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-scroll-derive" ,rust-scroll-derive-0.11))
#:cargo-development-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-rayon" ,rust-rayon-1))))
(home-page "https://github.com/m4b/scroll")
(synopsis "Endian-aware Read/Write traits for byte buffers")
(description
"This package provides a suite of powerful, extensible, generic,
endian-aware Read/Write traits for byte buffers.")
(license license:expat)))
(define-public rust-scroll-0.10 (define-public rust-scroll-0.10
(package (package
(inherit rust-scroll-0.11)
(name "rust-scroll") (name "rust-scroll")
(version "0.10.2") (version "0.10.2")
(source (source
@ -56400,19 +56426,12 @@ function.")
(sha256 (sha256
(base32 (base32
"1v61drdig30qfx2xh8bn7qdk2xgqbmmhwyrznjl0gf1h915qv8px")))) "1v61drdig30qfx2xh8bn7qdk2xgqbmmhwyrznjl0gf1h915qv8px"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-scroll-derive" ,rust-scroll-derive-0.10)) (("rust-scroll-derive" ,rust-scroll-derive-0.10))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-byteorder" ,rust-byteorder-1) (("rust-byteorder" ,rust-byteorder-1)
("rust-rayon" ,rust-rayon-1)))) ("rust-rayon" ,rust-rayon-1))))))
(home-page "https://github.com/m4b/scroll")
(synopsis "Endian-aware Read/Write traits for byte buffers")
(description
"This package provides a suite of powerful, extensible, generic,
endian-aware Read/Write traits for byte buffers.")
(license license:expat)))
(define-public rust-scroll-0.9 (define-public rust-scroll-0.9
(package (package