[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: Add go-github-com-shirou-gopsutil.
From: |
guix-commits |
Subject: |
02/03: gnu: Add go-github-com-shirou-gopsutil. |
Date: |
Thu, 5 Sep 2019 11:14:00 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 9a2f23341d8f916217b759c58f5a487e656723fd
Author: Leo Famulari <address@hidden>
Date: Mon Sep 2 21:03:26 2019 -0400
gnu: Add go-github-com-shirou-gopsutil.
* gnu/packages/syncthing.scm (go-github-com-shirou-gopsutil): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6637c9c..819cc62 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3662,3 +3662,27 @@ and aid debugging.")
(description "This package provides a cron library for Go. It implements
a cron spec parser and job runner.")
(license license:expat)))
+
+(define-public go-github-com-shirou-gopsutil
+ (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
+ (revision "0"))
+ (package
+ (name "go-github-com-shirou-gopsutil")
+ (version (git-version "v2.19.7" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/shirou/gopsutil")
+ (commit commit))) ; XXX
+ (sha256
+ (base32
+ "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/shirou/gopsutil"))
+ (synopsis "Process and system monitoring in Go")
+ (description "This package provides a library for retrieving information
+on running processes and system utilization (CPU, memory, disks, network,
+sensors).")
+ (home-page "https://github.com/shirou/gopsutil")
+ (license license:bsd-3))))