aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2019-09-02 21:03:26 -0400
committerLeo Famulari <leo@famulari.name>2019-09-05 11:09:36 -0400
commit9a2f23341d8f916217b759c58f5a487e656723fd (patch)
tree950389be36875a3916870c310456950299741288 /gnu
parenta8ad05d40c35e871a23a13a02eea5c0a8c5b70b9 (diff)
downloadpatches-9a2f23341d8f916217b759c58f5a487e656723fd.tar
patches-9a2f23341d8f916217b759c58f5a487e656723fd.tar.gz
gnu: Add go-github-com-shirou-gopsutil.
* gnu/packages/syncthing.scm (go-github-com-shirou-gopsutil): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6637c9c7f8..819cc6229e 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))))