diff mbox series

[bug#69890,42/43] gnu: Add rust-bsd-kvm-0.1.

Message ID 4865280065232e405a0a32c17689fc440fb2b42e.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-0.1): New variable.

Change-Id: I7df832174963b7dfbf4824610d75b4b607bc2a78
---
 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 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")