[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/37: gnu: Add go-github-com-shirou-gopsutil-v3.
From: |
guix-commits |
Subject: |
07/37: gnu: Add go-github-com-shirou-gopsutil-v3. |
Date: |
Wed, 6 Mar 2024 18:46:17 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 7991eedd0393e0a90892ef27cf1eb9ea28eb0754
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Wed Mar 6 16:31:02 2024 +0000
gnu: Add go-github-com-shirou-gopsutil-v3.
* gnu/packages/golang-xyz.scm (go-github-com-shirou-gopsutil-v3): New
variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ibbfe76f0a56daf76fc4a4ecd844b445e9355a7ce
---
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 fc1d2213de..28bd13018f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1139,6 +1139,34 @@ sensors).")
(home-page "https://github.com/shirou/gopsutil")
(license license:bsd-3)))
+(define-public go-github-com-shirou-gopsutil-v3
+ (package
+ (inherit go-github-com-shirou-gopsutil)
+ (name "go-github-com-shirou-gopsutil-v3")
+ (version "3.24.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/shirou/gopsutil")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xlfcx6giqaxdah2m02q2i8ynwlzar953wr8wqx1j3004xdgaivd"))))
+ (arguments
+ (list
+ #:go go-1.18
+ #:import-path "github.com/shirou/gopsutil"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'remove-failing-tests
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ ;; host_test.go tries to access files such as
+ ;; /var/run/utmp that do not exist in the build
+ ;; environment.
+ (string-append "src/" import-path "/host/host_test.go")))))))))
+
(define-public go-github-com-skip2-go-qrcode
(package
(name "go-github-com-skip2-go-qrcode")
- branch master updated (201f90f34f -> b4107ca3ad), guix-commits, 2024/03/06
- 01/37: gnu: Add go-github-com-tklauser-numcpus., guix-commits, 2024/03/06
- 06/37: gnu: go-github-com-shirou-gopsutil: Reformat with guix style., guix-commits, 2024/03/06
- 07/37: gnu: Add go-github-com-shirou-gopsutil-v3.,
guix-commits <=
- 02/37: gnu: Add go-github-com-tklauser-go-sysconf., guix-commits, 2024/03/06
- 09/37: gnu: go-github-com-cheggaaa-pb-v3: Enable tests., guix-commits, 2024/03/06
- 08/37: gnu: go-github-com-vividcortex-ewma: Fix import-path., guix-commits, 2024/03/06
- 18/37: gnu: Add go-github-com-nwaples-rardecode-v2., guix-commits, 2024/03/06
- 19/37: gnu: Add go-github-com-ugorji-go-codec., guix-commits, 2024/03/06
- 23/37: gnu: go-github-com-spf13-afero: Add missing input., guix-commits, 2024/03/06
- 21/37: gnu: sqls: Add missing inputs., guix-commits, 2024/03/06
- 26/37: gnu: go-go-uber-org-zap: Move to golang-xyz., guix-commits, 2024/03/06
- 27/37: gnu: Add go-github-com-cskr-pubsub., guix-commits, 2024/03/06
- 30/37: gnu: go-github-com-hashicorp-go-syslog: Move to golang-xyz., guix-commits, 2024/03/06