mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add go-github-com-klauspost-cpuid.
* gnu/packages/golang.scm (go-github-com-klauspost-cpuid): New variable.
This commit is contained in:
parent
44b9e8fd8f
commit
cb38099839
1 changed files with 25 additions and 0 deletions
|
@ -3572,3 +3572,28 @@ (define-public go-github-com-gedex-inflector
|
|||
(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)))
|
||||
|
|
Loading…
Reference in a new issue