[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51028] [PATCH 6/7] gnu: Add julia-configurations.
From: |
Efraim Flashner |
Subject: |
[bug#51028] [PATCH 6/7] gnu: Add julia-configurations. |
Date: |
Tue, 5 Oct 2021 12:47:35 +0300 |
* gnu/packages/julia-xyz.scm (julia-configurations): New variable.
---
gnu/packages/julia-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 895e43bb14..ee0e1fb74a 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -729,6 +729,49 @@ (define-public julia-compat
way.")
(license license:expat)))
+(define-public julia-configurations
+ (package
+ (name "julia-configurations")
+ (version "0.16.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Roger-luo/Configurations.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1b23p0zk8dx2sf01cnw177mqci7qd81b9s32ixz9clsh0r0icl1b"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (substitute* "test/runtests.jl"
+ (("option.toml") "test/option.toml"))
+ #t))
+ (add-after 'unpack 'dont-use-exproniconlite
+ (lambda _
+ (substitute* '("Project.toml"
+ "src/Configurations.jl"
+ "test/runtests.jl")
+ (("ExproniconLite") "Expronicon"))
+ (substitute* "Project.toml"
+ (("55351af7-c7e9-48d6-89ff-24e801d99491")
+ "6b7a57c9-7cc1-4fdf-b7f5-e857abae3636"))
+ #t)))))
+ (propagated-inputs
+ `(("julia-crayons" ,julia-crayons)
+ ("julia-expronicon" ,julia-expronicon)
+ ("julia-orderedcollections" ,julia-orderedcollections)))
+ (home-page "https://configurations.rogerluo.dev/stable/")
+ (synopsis "Options and configurations in Julia")
+ (description "@code{Configurations.jl} provides a macro @code{@@option} to
+let you define @code{structs} to represent options/configurations, and
serialize
+between different option/configuration file formats such as @code{TOML}.")
+ (license license:expat)))
+
(define-public julia-constructionbase
(package
(name "julia-constructionbase")
--
2.33.0
- [bug#51028] [PATCH 0/7] More julia packages, Efraim Flashner, 2021/10/05
- [bug#51028] [PATCH 1/7] gnu: Add julia-latexstrings., Efraim Flashner, 2021/10/05
- [bug#51028] [PATCH 2/7] gnu: Add julia-pyplot., Efraim Flashner, 2021/10/05
- [bug#51028] [PATCH 3/7] gnu: Add julia-dataframes., Efraim Flashner, 2021/10/05
- [bug#51028] [PATCH 4/7] gnu: Add julia-bson., Efraim Flashner, 2021/10/05
- [bug#51028] [PATCH 5/7] gnu: Add julia-expronicon., Efraim Flashner, 2021/10/05
- [bug#51028] [PATCH 6/7] gnu: Add julia-configurations.,
Efraim Flashner <=
- [bug#51028] [PATCH 7/7] gnu: Add julia-structarrays., Efraim Flashner, 2021/10/05
- [bug#51028] [PATCH 0/7] More julia packages, zimoun, 2021/10/11