gnu: Add julia-cpuid.

* gnu/packages/julia-xyz.scm (julia-cpuid): New variable.

Change-Id: Ifd9abfb142184c58941c97e959a4b5c9247ce1a8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Spencer King 2025-01-02 19:54:48 +00:00 committed by Ludovic Courtès
parent af6224359f
commit e2d0eba13c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5,7 +5,7 @@
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
;;; Copyright © 2024, 2025 Spencer King <spencer.king@geneoscopy.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -1466,6 +1466,28 @@ perform optimization and therefore ideal for computer vision applications such
as SLAM (simultaneous localization and mapping).")
(license license:expat))))
(define-public julia-cpuid
(package
(name "julia-cpuid")
(version "0.3.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/m-j-w/CpuId.jl")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0x2csy8cvd1rm49qpqpkb3zs7swj4r91zdsyjafqr7hvjp9h3hjz"))))
(build-system julia-build-system)
(propagated-inputs (list julia-precompiletools))
(home-page "https://github.com/m-j-w/CpuId.jl")
(synopsis "Ask the CPU for its features and specifications")
(description
"This package allows you to query the availability of specific
CPU features with low run-time cost.")
(license license:expat)))
(define-public julia-crayons
(package
(name "julia-crayons")