1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 11:30:44 +02:00

gnu: Add go-github-com-google-gops.

* gnu/packages/golang-xyz.scm (go-github-com-google-gops, gops): New variables.

Change-Id: I93474a2ed18b006520fba1c7bacd7eef0cd7ebe4
This commit is contained in:
Sharlatan Hellseher 2025-02-13 16:27:06 +00:00
parent f18c19cd23
commit 18325898bb
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -6780,6 +6780,43 @@ for working with API description formats supported by
lightweight distribution of these models with minimal dependencies.") lightweight distribution of these models with minimal dependencies.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public go-github-com-google-gops
(package
(name "go-github-com-google-gops")
(version "0.3.28")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/gops")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1dbnpnvf624mygajxn13qcdh9nx23lr70p3x2y6xaz4jnprkilqw"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/google/gops"
#:phases
#~(modify-phases %standard-phases
;; mkdir /homeless-shelter: permission denied
(add-before 'check 'set-home
(lambda _
(setenv "HOME" "/tmp"))))))
(propagated-inputs
(list go-github-com-shirou-gopsutil-v3
go-github-com-spf13-cobra
go-github-com-xlab-treeprint
go-golang-org-x-sys
go-rsc-io-goversion))
(home-page "https://github.com/google/gops")
(synopsis "Listing and diagnosing Go processes tool")
(description
"This package implements a functionalit to list currently running Go
processes.")
(license license:bsd-3)))
(define-public go-github-com-google-goterm (define-public go-github-com-google-goterm
(package (package
(name "go-github-com-google-goterm") (name "go-github-com-google-goterm")
@ -18829,6 +18866,20 @@ editor.")
#:import-path "github.com/client9/misspell/cmd/misspell" #:import-path "github.com/client9/misspell/cmd/misspell"
#:unpack-path "github.com/client9/misspell")))) #:unpack-path "github.com/client9/misspell"))))
(define-public gops
(package
(inherit go-github-com-google-gops)
(name "gops")
(arguments
(substitute-keyword-arguments
(package-arguments go-github-com-google-gops)
((#:tests? _ #t) #f)
((#:install-source? _ #t) #f)
((#:skip-build? _ #t) #f)))
(native-inputs (package-propagated-inputs go-github-com-google-gops))
(propagated-inputs '())
(inputs '())))
;;; ;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar ;;; of a merge conflict, place them above by existing packages with similar