diff mbox series

[bug#69890,41/43] gnu: Add rust-bsd-kvm-sys-0.2.

Message ID 791480b28107de4054320ce7a22fefa216d38d68.1710817682.git.normally_js@posteo.net
State New
Headers show
Series gnu: Add procs. | expand

Commit Message

normally_js March 19, 2024, 3:51 a.m. UTC
* gnu/packages/crates-io.scm (rust-bsd-kvm-sys-0.2): New variable.

Change-Id: I711f1a91a030ebc72990a67df1eadb7f6ef40a4f
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc9e999e1a..a449d1b717 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8141,6 +8141,28 @@  (define-public rust-bs58-0.2
 alphabet.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-bsd-kvm-sys-0.2
+  (package
+    (name "rust-bsd-kvm-sys")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bsd-kvm-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cn90d0kkfcs36v3sq3lpckyy0pdpdq0m7ihjlancripdn98yh35"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t ; Missing kvm.h.
+       #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.65))))
+    (inputs (list clang))
+    (home-page "https://github.com/dalance/bsd-kvm-sys")
+    (synopsis "BSD Kernel Data Access Library (libkvm) binding")
+    (description
+     "This package provies BSD Kernel Data Access Library (libkvm) bindings.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-bson-2
   (package
     (name "rust-bson")