guix-commits
[Top][All Lists]
Advanced

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

13/44: gnu: Add rust-sensors-0.2.


From: guix-commits
Subject: 13/44: gnu: Add rust-sensors-0.2.
Date: Mon, 12 Feb 2024 07:40:32 -0500 (EST)

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

commit 57935605a08d2a937868ab7ec437c6b4f07d67d6
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Tue Jan 30 16:24:58 2024 +0100

    gnu: Add rust-sensors-0.2.
    
    * gnu/packages/crates-io.scm (rust-sensors-0.2): Add variable.
    
    Change-Id: Ifbe65abf8a5aed9190d40136382e815dd33d786d
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 6f844759e0..bdd18c79b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60025,6 +60025,28 @@ functionality and without weak references.")
      "This package provides a Rust wrapper around Fontxonfig.")
     (license license:expat)))
 
+(define-public rust-sensors-0.2
+  (package
+    (name "rust-sensors")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sensors" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1l6nvmbbbbl9mdkd9806mmls68d6hvqb2nl0nm14chva5xwz8fks"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-libsensors-sys" ,rust-libsensors-sys-0.2))))
+    (inputs (list (list lm-sensors "lib")))
+    (home-page "https://github.com/nyantec/sensors";)
+    (synopsis "Rust-friendly interface to lm-sensors")
+    (description
+     "This package provides a Rust-friendly interface to lm-sensors.")
+    (license license:miros)))
+
 (define-public rust-shadow-rs-0.8
   (package
     (name "rust-shadow-rs")



reply via email to

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