mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
57038b42b2
commit
ba17f39998
1 changed files with 27 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue