gnu: Add go-github-com-shirou-gopsutil-v4.

* gnu/packages/golang-xyz.scm (go-github-com-shirou-gopsutil-v4): New variable.

Change-Id: I132f9fc722737442b2e8651799384138d6dec86a
This commit is contained in:
Sharlatan Hellseher 2025-09-09 11:02:54 +01:00
parent 57038b42b2
commit ba17f39998
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -18090,6 +18090,33 @@ sensors).")
;; 2. PlatformInformation() returns empty:
#:test-flags #~(list "-skip" "TestUsers|TestPlatformInformation")))))
(define-public go-github-com-shirou-gopsutil-v4
(package
(inherit go-github-com-shirou-gopsutil-v3)
(name "go-github-com-shirou-gopsutil-v4")
(version "4.25.8")
(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 "0q9125fpz4cw6mmxx7qa74qf3xq5x0nrraspfmwhlhdpabjag9lp"))))
(arguments
(list
#:import-path "github.com/shirou/gopsutil/v4"
;; Three tests fail:
;; [1] error open /var/run/utmp: no such file or directory
;; [2] PlatformInformation() returns empty
;; [3] Could not get temperature
#:test-flags #~(list "-skip" (string-join
(list "TestUsers" ;1
"TestPlatformInformation" ;2
"TestTemperatures") ;3
"|"))))))
(define-public go-github-com-shurcool-sanitized-anchor-name
(package
(name "go-github-com-shurcool-sanitized-anchor-name")