guix-commits
[Top][All Lists]
Advanced

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

06/11: gnu: Add rust-sys-info-0.7.


From: guix-commits
Subject: 06/11: gnu: Add rust-sys-info-0.7.
Date: Tue, 2 Mar 2021 11:47:00 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 0b300616663a77484a6b8c5e7912e9df7ddfc709
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Mar 2 14:19:56 2021 +0100

    gnu: Add rust-sys-info-0.7.
    
    * gnu/packages/crates-io.scm (rust-sys-info-0.7): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c444a8..27b4815 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40218,6 +40218,29 @@ syntax extension expansion.")
     (description "This package provides a backport of libsyntax.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-sys-info-0.7
+  (package
+    (name "rust-sys-info")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sys-info" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0facyh6hswp1i7airri8ly5kl6sv5bvkkd21vs51k2b3z22bvkz5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cc" ,rust-cc-1)
+        ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/FillZpp/sys-info-rs";)
+    (synopsis "Get system information in Rust")
+    (description
+     "This Rust crate gathers system information.")
+    (license license:expat)))
+
 (define-public rust-sysctl-0.4
   (package
     (name "rust-sysctl")



reply via email to

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