[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61611] [PATCH 02/10] gnu: Add julia-optionaldata.
From: |
Sharlatan Hellseher |
Subject: |
[bug#61611] [PATCH 02/10] gnu: Add julia-optionaldata. |
Date: |
Sun, 19 Feb 2023 00:04:45 +0000 |
* gnu/packages/julia-xyz.scm (julia-optionaldata): New variable.
---
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 b391fadd36..7eb4cb0dae 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4284,6 +4284,29 @@ (define-public julia-optimtestproblems
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")
--
2.39.1
- [bug#61611] [PATCH 00/10]: gnu: Add julia-astrotime, Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 01/10] gnu: Add julia-leapseconds., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 02/10] gnu: Add julia-optionaldata.,
Sharlatan Hellseher <=
- [bug#61611] [PATCH 04/10] gnu: Add julia-earthorientation., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 08/10] gnu: Add julia-itemgraphs., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 05/10] gnu: Add julia-inflate., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 07/10] gnu: Add julia-lightgraphs., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 03/10] gnu: Add julia-remotefiles., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 06/10] gnu: Add julia-arnoldimethod., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 09/10] gnu: Add julia-muladdmacro., Sharlatan Hellseher, 2023/02/18
- [bug#61611] [PATCH 10/10] gnu: Add julia-astrotime., Sharlatan Hellseher, 2023/02/18