civodul pushed a commit to branch master
in repository guix.
commit b66b58123d9598bdd9d33b4af8334fecd2419d5f
Author: Spencer King <[email protected]>
AuthorDate: Thu Dec 19 23:04:19 2024 +0000
gnu: Add julia-staticnumbers.
* gnu/packages/julia-xyz.scm (julia-staticnumbers): New variable.
Change-Id: I922d08011ef43d42cb55e09ed1f2723f7d427faf
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 71e5aaa7f4..4b778812ca 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -6260,6 +6260,28 @@ downstream packages to implement new methods on these
types without
depending on the entirety of @code{StaticArrays.jl}.")
(license license:expat)))
+(define-public julia-staticnumbers
+ (package
+ (name "julia-staticnumbers")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/perrutquist/StaticNumbers.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1m6drdyxgizc6d5qak9l6c2dv8nb6x5kj7sgfxkgwnfxf6ran257"))))
+ (build-system julia-build-system)
+ (native-inputs (list julia-simd julia-staticarrays))
+ (home-page "https://github.com/perrutquist/StaticNumbers.jl")
+ (synopsis "Static numbers in Julia")
+ (description
+ "This package provides number datatypes which store their values in
+ type parameters, making them runtime constants.")
+ (license license:expat)))
+
(define-public julia-statisticaltraits
(package
(name "julia-statisticaltraits")