guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/11: gnu: Add julia-optionaldata.


From: guix-commits
Subject: 03/11: gnu: Add julia-optionaldata.
Date: Fri, 3 Mar 2023 08:25:52 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit f808ce789da223311bc0416a593ecc1b6edb2248
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Feb 19 00:04:45 2023 +0000

    gnu: Add julia-optionaldata.
    
    * gnu/packages/julia-xyz.scm (julia-optionaldata): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/julia-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 0979f21664..0724977f39 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4284,6 +4284,29 @@ optimisation rules, and tools for applying them to 
deeply nested models.")
 JuliaNLSolvers packages.")
     (license license:expat)))
 
+(define-public julia-optionaldata
+  (package
+    (name "julia-optionaldata")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/helgee/OptionalData.jl";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11js258j7cz6362ijsi24nih3lx90aalf8k1n3fv6v7iqas8bz5s"))))
+    (build-system julia-build-system)
+    (home-page "https://github.com/helgee/OptionalData.jl";)
+    (synopsis "Work with global data that might not be available")
+    (description
+     "This package provides the @code{@@OptionalData} macro and the 
corresponding
+OptData type which is a thin wrapper around a nullable value (of type 
@code{Union{T,
+Nothing} where T)}.  It allows you to load and access globally available data 
at
+runtime in a type-stable way.")
+    (license license:expat)))
+
 (define-public julia-orderedcollections
   (package
     (name "julia-orderedcollections")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]