unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 51028@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#51028] [PATCH 7/7] gnu: Add julia-structarrays.
Date: Tue,  5 Oct 2021 12:47:36 +0300	[thread overview]
Message-ID: <634081e9917c27267786be8cd71315895d69c933.1633411929.git.efraim@flashner.co.il> (raw)
In-Reply-To: <cover.1633411929.git.efraim@flashner.co.il>

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

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index ee0e1fb74a..8be2277728 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4271,6 +4271,40 @@ (define-public julia-stringdistances
 applied to any distance.")
     (license license:expat)))
 
+(define-public julia-structarrays
+  (package
+    (name "julia-structarrays")
+    (version "0.6.3")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaArrays/StructArrays.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0rjcpyjwzg70n87q5r9c5i1qzigavncslxssm3rk5a3y549py56v"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-dataapi" ,julia-dataapi)
+       ("julia-staticarrays" ,julia-staticarrays)
+       ("julia-tables" ,julia-tables)))
+    (native-inputs
+     `(("julia-documenter" ,julia-documenter)
+       ("julia-offsetarrays" ,julia-offsetarrays)
+       ("julia-pooledarrays" ,julia-pooledarrays)
+       ("julia-typedtables" ,julia-typedtables)
+       ("julia-weakrefstrings" ,julia-weakrefstrings)))
+    (home-page "https://github.com/JuliaArrays/StructArrays.jl")
+    (synopsis "Efficient implementation of struct arrays in Julia")
+    (description "This package introduces the type @code{StructArray} which is
+an @code{AbstractArray} whose elements are @code{struct} (for example
+@code{NamedTuples}, or @code{ComplexF64}, or a custom user defined
+@code{struct}).  While a @code{StructArray} iterates @code{structs}, the layout
+is column based (meaning each field of the @code{struct} is stored in a separate
+@code{Array}).")
+    (license license:expat)))
+
 (define-public julia-structtypes
   (package
     (name "julia-structtypes")
-- 
2.33.0





  parent reply	other threads:[~2021-10-05  9:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05  9:35 [bug#51028] [PATCH 0/7] More julia packages Efraim Flashner
2021-10-05  9:47 ` [bug#51028] [PATCH 1/7] gnu: Add julia-latexstrings Efraim Flashner
2021-10-05  9:47 ` [bug#51028] [PATCH 2/7] gnu: Add julia-pyplot Efraim Flashner
2021-10-11 11:22   ` [bug#51028] [PATCH 0/7] More julia packages zimoun
2021-10-05  9:47 ` [bug#51028] [PATCH 3/7] gnu: Add julia-dataframes Efraim Flashner
2021-10-11 11:51   ` [bug#51028] [PATCH 0/7] More julia packages zimoun
2021-10-05  9:47 ` [bug#51028] [PATCH 4/7] gnu: Add julia-bson Efraim Flashner
2021-10-05  9:47 ` [bug#51028] [PATCH 5/7] gnu: Add julia-expronicon Efraim Flashner
2021-10-05  9:47 ` [bug#51028] [PATCH 6/7] gnu: Add julia-configurations Efraim Flashner
2021-10-11 12:01   ` [bug#51028] [PATCH 0/7] More julia packages zimoun
2021-10-05  9:47 ` Efraim Flashner [this message]
2021-10-11 12:03 ` zimoun
2021-10-12  5:44   ` bug#51028: " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=634081e9917c27267786be8cd71315895d69c933.1633411929.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=51028@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).