unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 40086@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#40086] [PATCH 06/11] gnu: Add go-github-com-klauspost-cpuid.
Date: Mon, 16 Mar 2020 09:15:54 +0200	[thread overview]
Message-ID: <20200316071559.13930-7-efraim@flashner.co.il> (raw)
In-Reply-To: <20200316070412.12364-1-efraim@flashner.co.il>

* gnu/packages/golang.scm (go-github-com-klauspost-cpuid): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 419b88552a..11dfb23e46 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3526,3 +3526,28 @@ characters with their ASCII approximations.")
       (synopsis "Go library that pluralizes and singularizes English nouns")
       (description "Go library that pluralizes and singularizes English nouns.")
       (license license:bsd-2))))
+
+(define-public go-github-com-klauspost-cpuid
+  (package
+    (name "go-github-com-klauspost-cpuid")
+    (version "1.2.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/klauspost/cpuid")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/klauspost/cpuid"))
+    (home-page "https://github.com/klauspost/cpuid")
+    (synopsis "CPU feature identification for Go")
+    (description "@code{cpuid} provides information about the CPU running the
+current program.  CPU features are detected on startup, and kept for fast access
+through the life of the application. Currently x86 / x64 (AMD64) is supported,
+and no external C (cgo) code is used, which should make the library very eas
+to use.")
+    (license license:expat)))
-- 
2.25.1

  parent reply	other threads:[~2020-03-16  7:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-16  7:04 [bug#40086] [PATCH 00/11] Expand edirect programs Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 01/11] gnu: Add go-golang-org-x-image Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 02/11] gnu: Add go-golang-org-rainycape-unidecode Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 03/11] gnu: Add go-github-com-golang-freetype Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 04/11] gnu: Add go-github-com-fogleman-gg Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 05/11] gnu: Add go-github-com-gedex-inflector Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 06/11] gnu: Add go-github-com-klauspost-cpuid Efraim Flashner
2020-03-16  7:15 ` Efraim Flashner [this message]
2020-03-16  7:15 ` [bug#40086] [PATCH 07/11] gnu: Add go-github-com-pbnjay-memory Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 08/11] gnu: Add go-github-com-surge-glog Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 09/11] gnu: Add go-github-com-surgebase-porter2 Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 10/11] gnu: Add edirect-go-programs Efraim Flashner
2020-03-16  7:15 ` [bug#40086] [PATCH 11/11] gnu: edirect: Install more programs Efraim Flashner
2020-03-22  7:59 ` bug#40086: [PATCH 00/11] Expand edirect programs Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200316071559.13930-7-efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=40086@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).