guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

317/409: gnu: Add rust-bsd-kvm-0.1.


From: guix-commits
Subject: 317/409: gnu: Add rust-bsd-kvm-0.1.
Date: Thu, 19 Dec 2024 02:22:43 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 4d433c799c75de6218442ee065695609421f2b3c
Author: normalmente <normally_js@posteo.net>
AuthorDate: Tue Mar 19 03:51:13 2024 +0000

    gnu: Add rust-bsd-kvm-0.1.
    
    * gnu/packages/crates-io.scm (rust-bsd-kvm-0.1): New variable.
    
    Change-Id: I7df832174963b7dfbf4824610d75b4b607bc2a78
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index de3ee2d118..0a662c522f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9893,6 +9893,30 @@ almost the same speed for encoding: about 3% slower when 
encoding 32 bytes.
         ("rust-base58" ,rust-base58-0.1)
         ("rust-rust-base58" ,rust-rust-base58-0.0))))))
 
+(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 ; Missing kvm.h.
+       #:cargo-inputs (("rust-bsd-kvm-sys" ,rust-bsd-kvm-sys-0.2)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (inputs (list clang))
+    (home-page "https://github.com/dalance/bsd-kvm";)
+    (synopsis "BSD Kernel Data Access Library (libkvm) binding")
+    (description
+     "This package provides the 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]