guix-commits
[Top][All Lists]
Advanced

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

05/10: gnu: Add go-github-com-whyrusleeping-go-sysinfo.


From: guix-commits
Subject: 05/10: gnu: Add go-github-com-whyrusleeping-go-sysinfo.
Date: Sat, 16 Mar 2024 20:11:25 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 85c816c7ad0c9486fe71c72a5c15d6e625da7458
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Sat Mar 9 01:21:55 2024 +0300

    gnu: Add go-github-com-whyrusleeping-go-sysinfo.
    
    * gnu/packages/golang-xyz.scm (go-github-com-whyrusleeping-go-sysinfo): New
      variable.
    
    Change-Id: I73cd3fa1ab3a73545121bb3a047795ca2850c0f7
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index cd3fbb8098..d1e0666ea5 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1810,6 +1810,34 @@ query information regarding the number of CPUs available 
to the system.")
 weighted moving averages}.")
     (license license:expat)))
 
+(define-public go-github-com-whyrusleeping-go-sysinfo
+  (package
+    (name "go-github-com-whyrusleeping-go-sysinfo")
+    (version "0.0.0-20190219211824-4a357d4b90b1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/whyrusleeping/go-sysinfo";)
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s6yjp9incc579wbbga33vq0hcanv8j2xh9l90ya0r4fihz39jiq"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/whyrusleeping/go-sysinfo"))
+    (propagated-inputs
+     (list go-github-com-dustin-go-humanize))
+    (home-page "https://github.com/whyrusleeping/go-sysinfo";)
+    (synopsis "Package to extract system information")
+    ;; There is not much information provided by the project, see
+    ;; <https://github.com/whyrusleeping/go-sysinfo/issues>.
+    (description
+     "This packages provides a basic system stats like @code{DiskUsage} and
+@code{MemoryInfo}.")
+    (license license:expat)))
+
 (define-public go-go-uber-org-automaxprocs
   (package
     (name "go-go-uber-org-automaxprocs")



reply via email to

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