From b66b58123d9598bdd9d33b4af8334fecd2419d5f Mon Sep 17 00:00:00 2001 From: Spencer King Date: Thu, 19 Dec 2024 23:04:19 +0000 Subject: gnu: Add julia-staticnumbers. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/julia-xyz.scm (julia-staticnumbers): New variable. Change-Id: I922d08011ef43d42cb55e09ed1f2723f7d427faf Signed-off-by: Ludovic Courtès --- gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages') 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") -- cgit v1.2.3