[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: gnu: Add go-go-uber-org-automaxprocs.
From: |
guix-commits |
Subject: |
03/11: gnu: Add go-go-uber-org-automaxprocs. |
Date: |
Thu, 8 Feb 2024 16:48:06 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 98f8a2a34e36b806d85129207243d4c939081ef5
Author: Benjamin <benjamin@uvy.fr>
AuthorDate: Sat Nov 18 19:17:30 2023 +0100
gnu: Add go-go-uber-org-automaxprocs.
* gnu/packages/golang-xyz.scm (go-go-uber-org-automaxprocs): New variable.
Change-Id: I06abcaf3f3b74e23e5808d4ff37a93a0dc45b137
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 48f56c4244..b7c6cec1c2 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1,4 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2023 Benjamin <benjamin@uvy.fr>
;;; Copyright © 2023 Thomas Ieong <th.ieong@free.fr>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
@@ -143,6 +144,31 @@ Differentiation between text and binary files}.
(description "This package provides an idiomatic Go retry module.")
(license license:expat)))
+(define-public go-go-uber-org-automaxprocs
+ (package
+ (name "go-go-uber-org-automaxprocs")
+ (version "1.5.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/uber-go/automaxprocs")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03arxcfaj7k6iwfdk0liaynxf9rjfj9m5glsjp7ws01xjkgrdpbc"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "go.uber.org/automaxprocs"))
+ (native-inputs (list go-github-com-stretchr-testify
+ go-github-com-prashantv-gostub))
+ (home-page "https://github.com/uber-go/automaxprocs")
+ (synopsis "CPU-count detection library for Go")
+ (description
+ "This package automatically set GOMAXPROCS to match Linux container
+CPU quota.")
+ (license license:expat)))
+
;;;
;;; 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
- branch master updated (8798f940ad -> 90fe823638), guix-commits, 2024/02/08
- 01/11: gnu: Add go-github-com-minio-highwayhash., guix-commits, 2024/02/08
- 03/11: gnu: Add go-go-uber-org-automaxprocs.,
guix-commits <=
- 04/11: gnu: Add go-github-com-nats-io-nuid., guix-commits, 2024/02/08
- 02/11: gnu: Add go-github-com-prashantv-gostub., guix-commits, 2024/02/08
- 06/11: gnu: Add go-github-com-nats-io-jwt-v2., guix-commits, 2024/02/08
- 11/11: gnu: nats-server: Update to 2.10.10., guix-commits, 2024/02/08
- 07/11: gnu: Add go-github-com-nats-io-nats-go., guix-commits, 2024/02/08
- 05/11: gnu: Add go-github-com-nats-io-nkeys., guix-commits, 2024/02/08
- 08/11: gnu: Add nats-server., guix-commits, 2024/02/08
- 10/11: gnu: go-github-com-nats-io-nats-go: Update to 1.32.0., guix-commits, 2024/02/08
- 09/11: gnu: go-github-com-nats-io-nkeys: Update to 0.4.7., guix-commits, 2024/02/08