me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-flatbuffers-23.

* gnu/packages/crates-io.scm (rust-flatbuffers-23): New variable.
(rust-flatbuffers-2): Inherit from rust-flatbuffers-23.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Troy Figiel 2024-01-26 20:43:11 +01:00 committed by Efraim Flashner
parent 18819dad20
commit e2c35c5455
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 25 additions and 7 deletions

View File

@ -22829,8 +22829,32 @@ test multiple times.")
"A procedural macro to insert @code{flame::start_guard(_)} calls.") "A procedural macro to insert @code{flame::start_guard(_)} calls.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public rust-flatbuffers-23
(package
(name "rust-flatbuffers")
(version "23.5.26")
(source
(origin
(method url-fetch)
(uri (crate-uri "flatbuffers" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0h46mg8yb9igda4ff5dajkzc6k5mf4ix472asqb8rmv24ki57b2d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-rustc-version" ,rust-rustc-version-0.4)
("rust-serde" ,rust-serde-1))))
(home-page "https://flatbuffers.dev/")
(synopsis "FlatBuffers Rust serialization library")
(description
"This crates provides FlatBuffers runtime serialization library.")
(license license:asl2.0)))
(define-public rust-flatbuffers-2 (define-public rust-flatbuffers-2
(package (package
(inherit rust-flatbuffers-23)
(name "rust-flatbuffers") (name "rust-flatbuffers")
(version "2.0.0") (version "2.0.0")
(source (source
@ -22840,18 +22864,12 @@ test multiple times.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1xp5ppif0hvgh9kfvy1199gdmjc3dw1517022l1x3ynpphw5fk7g")))) (base32 "1xp5ppif0hvgh9kfvy1199gdmjc3dw1517022l1x3ynpphw5fk7g"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1) (("rust-bitflags" ,rust-bitflags-1)
("rust-smallvec" ,rust-smallvec-1) ("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1)))) ("rust-thiserror" ,rust-thiserror-1))))))
(home-page "https://google.github.io/flatbuffers/")
(synopsis "FlatBuffers Rust serialization library")
(description
"This crates provides FlatBuffers runtime serialization library.")
(license license:asl2.0)))
(define-public rust-flate2-1 (define-public rust-flate2-1
(package (package