From 9a2f23341d8f916217b759c58f5a487e656723fd Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 2 Sep 2019 21:03:26 -0400 Subject: 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(+) (limited to 'gnu') 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)))) -- cgit v1.2.3