guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/37: gnu: Add go-numcpus.


From: guix-commits
Subject: 03/37: gnu: Add go-numcpus.
Date: Wed, 6 Mar 2024 18:46:16 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 51a10d33166a33cf25fd22397382a5684ccf003e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]