sharlatan pushed a commit to branch master
in repository guix.
commit 51a10d33166a33cf25fd22397382a5684ccf003e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Mar 6 16:00:33 2024 +0000
gnu: Add go-numcpus.
* gnu/packages/golang-xyz.scm (go-numcpus): New variable.
Change-Id: I2edb2f355fd14f2f9a470c91519e7fe1581cc243
---
gnu/packages/golang-xyz.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1badc3856c..90942f8991 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1301,6 +1301,20 @@ CPU quota.")
;;; Executables:
;;;
+(define-public go-numcpus
+ (package
+ (inherit go-github-com-tklauser-numcpus)
+ (name "go-numcpus")
+ (arguments
+ (list
+ #:go go-1.18
+ #:import-path "github.com/tklauser/numcpus/cmd/numcpus"
+ #:unpack-path "github.com/tklauser/numcpus"
+ #:install-source? #f))
+ (description
+ "This package provides a CLI build from the
+go-github-com-tklauser-numcpus source.")))
+
(define-public go-pixelmatch
(package
(inherit go-github-com-orisano-pixelmatch)