guix-commits
[Top][All Lists]
Advanced

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

10/13: gnu: go-github-com-klauspost-cpuid: Move to golang-xyz.


From: guix-commits
Subject: 10/13: gnu: go-github-com-klauspost-cpuid: Move to golang-xyz.
Date: Fri, 28 Jun 2024 10:40:27 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit e48e8fe8d58b6f694ae36bfbdacf989c78985831
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Jun 24 20:07:28 2024 +0100

    gnu: go-github-com-klauspost-cpuid: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-klauspost-cpuid): Move from
    here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: I85bc873816f653bf5e4ce2882259708d5f37ca28
---
 gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 25 -------------------------
 2 files changed, 27 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 2906e7ffff..e814731b63 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2152,6 +2152,33 @@ word-splitting rules.")
       (home-page "https://github.com/kballard/go-shellquote";)
       (license license:expat))))
 
+(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
+     (list
+      #: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)))
+
 (define-public go-github-com-lestrrat-go-envload
   (package
     (name "go-github-com-lestrrat-go-envload")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0e95691d1f..95e8a381e5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6603,31 +6603,6 @@ characters with their ASCII approximations.")
       (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)))
-
 (define-public go-github-com-surge-glog
   (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
         (revision "1"))



reply via email to

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