From 51a10d33166a33cf25fd22397382a5684ccf003e Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 6 Mar 2024 16:00:33 +0000 Subject: [PATCH] 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 @@ (define-public go-gopkg-in-op-go-logging-v1 ;;; 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)