Subject: [PATCH 42/43] gnu: Add rust-bsd-kvm-0.1.

From: normalmente <[email-masked]>
Date: Tue, 19 Mar 2024 03:51:13 +0000

* gnu/packages/crates-io.scm (rust-bsd-kvm-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a449d1b717..91ff4d9bbd 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-0.1
+  (package
+    (name "rust-bsd-kvm")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bsd-kvm" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gncwfwlx6mq47qc1siwaiqlsaccy7vsc1v39ybs4xvvn4lfpd4l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bsd-kvm-sys" ,rust-bsd-kvm-sys-0.2)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/dalance/bsd-kvm")
+    (synopsis "BSD Kernel Data Access Library (libkvm) binding")
+    (description "BSD Kernel Data Access Library (libkvm) binding")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-bsd-kvm-sys-0.2
   (package
     (name "rust-bsd-kvm-sys")
-- 
2.41.0