guix-commits
[Top][All Lists]
Advanced

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

418/472: gnu: Add rust-platform-info-2.


From: guix-commits
Subject: 418/472: gnu: Add rust-platform-info-2.
Date: Tue, 18 Jul 2023 14:09:54 -0400 (EDT)

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

commit c8abd1f5678f325b3a18d8e35dc00a924f2c30c2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 13 19:14:21 2023 +0300

    gnu: Add rust-platform-info-2.
    
    * gnu/packages/crates-io.scm (rust-platform-info-2): New variable.
---
 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 eff70f9586..4c2062414d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46669,6 +46669,30 @@ network packet formats.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-platform-info-2
+  (package
+    (name "rust-platform-info")
+    (version "2.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "platform-info" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "03rhwsfhdr3sb6fxr0bmf7xav745m132y6vg05jzcfz5c149q9fn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs (("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/uutils/platform-info";)
+    (synopsis "Cross-platform interface to get info about a system")
+    (description
+     "This package provides a simple cross-platform interface to get info about
+a system.")
+    (license license:expat)))
+
 (define-public rust-pledge-0.4
   (package
     (name "rust-pledge")



reply via email to

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