From ad1664f8987f36c6efa0b2f82cc54e31cce38ede Mon Sep 17 00:00:00 2001 From: Spencer King Date: Thu, 5 Sep 2024 19:17:02 +0000 Subject: [PATCH] gnu: Add julia-scientifictypesbase. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/julia-xyz.scm (julia-scientifictypesbase): New variable. Change-Id: I222d943bdbd94212064d4e620e497617aea68dc9 Signed-off-by: Ludovic Courtès --- gnu/packages/julia-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 9d11961674..12a5e87628 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -5633,6 +5633,34 @@ (define-public julia-scanbyte (supported-systems '("x86_64-linux")) (license license:expat))) +(define-public julia-scientifictypesbase + (package + (name "julia-scientifictypesbase") + (version "3.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaAI/ScientificTypesBase.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gkkyvighbwplbv3mcxdrall19zjsb9cwp0w2mr26sl6xbjxr8xc")))) + (build-system julia-build-system) + (native-inputs (list julia-tables)) + (home-page "https://github.com/JuliaAI/ScientificTypesBase.jl") + (synopsis + "Base interface for dispatching on the 'scientific' type of data") + (description + "This package provides a Julia interface defining a collection +of types (without instances) for implementing conventions about the scientific +interpretation of data. This package makes a distinction between the machine +type and the scientific type of a Julia object. A machine type refers to the +Julia type being used to represent the object, for instance @code{Float64}. The +scientific type refers to how the object should be interpreted, for instance +@code{Continuous} or @code{Multiclass{3}}.") + (license license:expat))) + (define-public julia-scratch (package (name "julia-scratch")