gnu: Add rust-xenstore-rs-0.6

* gnu/packages/crates-io.scm (rust-xenstore-rs-0.6): New variable.

Change-Id: I11cc6f5f014201c89d7e306b73ca8aa928f7a2cb
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Karl Hallsby 2025-01-08 14:18:59 -06:00 committed by Efraim Flashner
parent a897895b22
commit 28f1b5a981
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -92932,6 +92932,33 @@ (define-public rust-xdg-home-1
(description "The user's home directory as per the XDG Specification.")
(license license:expat)))
(define-public rust-xenstore-rs-0.6
(package
(name "rust-xenstore-rs")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "xenstore-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1i8wdif8q2cxbrmcp2jxcqg95a4yfsp1m3j4yldcgad3ksl5l4qs"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-futures" ,rust-futures-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-libloading" ,rust-libloading-0.8)
("rust-log" ,rust-log-0.4)
("rust-tokio" ,rust-tokio-1)
("rust-xenstore-sys" ,rust-xenstore-sys-0.2))
#:cargo-development-inputs (("rust-clap" ,rust-clap-4))))
(native-inputs (list pkg-config))
(inputs (list clang xen))
(home-page "https://github.com/Wenzel/xenstore")
(synopsis "Rust FFI bindings for libxenstore")
(description "This package provides Rust FFI bindings for libxenstore.")
(license license:gpl3)))
(define-public rust-xenstore-sys-0.2
(package
(name "rust-xenstore-sys")