gnu: Add rust-xenstore-sys-0.2

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

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

View file

@ -138,6 +138,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages virtualization)
#:use-module (gnu packages webkit)
#:use-module (srfi srfi-1))
@ -92931,6 +92932,28 @@ (define-public rust-xdg-home-1
(description "The user's home directory as per the XDG Specification.")
(license license:expat)))
(define-public rust-xenstore-sys-0.2
(package
(name "rust-xenstore-sys")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "xenstore-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xrjy0d3cg9qrznfsfjrgha8si1dvdyfx3g7c76hbb7lnim5vmj7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.71)
("rust-pkg-config" ,rust-pkg-config-0.3))))
(native-inputs (list pkg-config))
(inputs (list clang xen))
(home-page "https://github.com/Wenzel/xenstore-sys")
(synopsis "Rust FFI bindings for libxenstore")
(description "This package provides Rust FFI bindings for libxenstore.")
(license license:gpl3)))
(define-public rust-xi-unicode-0.3
(package
(name "rust-xi-unicode")