guix-commits
[Top][All Lists]
Advanced

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

02/33: gnu: Add julia-structtypes.


From: guix-commits
Subject: 02/33: gnu: Add julia-structtypes.
Date: Mon, 14 Jun 2021 07:46:17 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit adb3d8797d0521f3e08a9ecaff33f79ee4cead01
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jun 14 10:36:35 2021 +0300

    gnu: Add julia-structtypes.
    
    * gnu/packages/julia-xyz.scm (julia-structtypes): New variable.
---
 gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 5076f06..4ddebff 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2744,6 +2744,28 @@ are defined for @code{AbstractStrings}, and any iterator 
that define
 applied to any distance.")
     (license license:expat)))
 
+(define-public julia-structtypes
+  (package
+    (name "julia-structtypes")
+    (version "1.7.2")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaData/StructTypes.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "02mn4kkhn3927dk7945c9bjwlldihydxgn5ilmqqvs8dknvbw8p1"))))
+    (build-system julia-build-system)
+    (home-page "https://juliadata.github.io/StructTypes.jl/stable/";)
+    (synopsis "Abstract definitions and convenience methods for Julia objects")
+    (description "This package provides the @code{StructTypes.StructType} trait
+for Julia types to declare the kind of \"struct\" they are, providing
+serialization/deserialization packages patterns and strategies to automatically
+construct objects.")
+    (license license:expat)))
+
 (define-public julia-suppressor
   (package
     (name "julia-suppressor")



reply via email to

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