summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSpencer King <spencer.king@geneoscopy.com>2024-12-19 23:04:19 +0000
committerLudovic Courtès <ludo@gnu.org>2024-12-24 16:09:50 +0100
commitb66b58123d9598bdd9d33b4af8334fecd2419d5f (patch)
tree4224ad85c7ff3e8525657ea0c8c6475a625f48aa /gnu/packages
parent56045f1ae15fceb8996c699467bdeb22ac8d87f3 (diff)
gnu: Add julia-staticnumbers.
* gnu/packages/julia-xyz.scm (julia-staticnumbers): New variable. Change-Id: I922d08011ef43d42cb55e09ed1f2723f7d427faf Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/julia-xyz.scm22
1 files changed, 22 insertions, 0 deletions
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")