gnu: Add rust-ciborium.
* gnu/packages/crates-io.scm (rust-ciborium-0.2): New variable.master
parent
77337a1863
commit
2d438e4b87
|
@ -10343,6 +10343,34 @@ transfer coding.")
|
|||
(sha256
|
||||
(base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9"))))))
|
||||
|
||||
(define-public rust-ciborium-0.2
|
||||
(package
|
||||
(name "rust-ciborium")
|
||||
(version "0.2.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "ciborium" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"13vqkm88kaq8nvxhaj6qsl0gsc16rqsin014fx5902y6iib3ghdh"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-ciborium-io" ,rust-ciborium-io-0.2)
|
||||
("rust-ciborium-ll" ,rust-ciborium-ll-0.2)
|
||||
("rust-serde" ,rust-serde-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-hex" ,rust-hex-0.4)
|
||||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-rstest" ,rust-rstest-0.11)
|
||||
("rust-serde-bytes" ,rust-serde-bytes-0.11))))
|
||||
(home-page "https://github.com/enarx/ciborium")
|
||||
(synopsis "Serde implementation of CBOR")
|
||||
(description
|
||||
"This package provides CBOR serialization implementations for serde.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public rust-ciborium-io-0.2
|
||||
(package
|
||||
(name "rust-ciborium-io")
|
||||
|
|
Reference in New Issue