From patchwork Tue Oct 5 09:47:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 33616 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 13CDC27BBE1; Tue, 5 Oct 2021 10:53:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9AEE227BBE3 for ; Tue, 5 Oct 2021 10:53:30 +0100 (BST) Received: from localhost ([::1]:34182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXh8b-0004Ig-NE for patchwork@mira.cbaines.net; Tue, 05 Oct 2021 05:53:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXh8A-0004FW-Ue for guix-patches@gnu.org; Tue, 05 Oct 2021 05:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXh8A-0005vX-MV for guix-patches@gnu.org; Tue, 05 Oct 2021 05:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXh8A-0008L6-La for guix-patches@gnu.org; Tue, 05 Oct 2021 05:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51028] [PATCH 7/7] gnu: Add julia-structarrays. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 09:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51028 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51028@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 51028-submit@debbugs.gnu.org id=B51028.163342756332020 (code B ref 51028); Tue, 05 Oct 2021 09:53:02 +0000 Received: (at 51028) by debbugs.gnu.org; 5 Oct 2021 09:52:43 +0000 Received: from localhost ([127.0.0.1]:39137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXh7r-0008KN-1B for submit@debbugs.gnu.org; Tue, 05 Oct 2021 05:52:43 -0400 Received: from flashner.co.il ([178.62.234.194]:36540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXh7p-0008KA-6G for 51028@debbugs.gnu.org; Tue, 05 Oct 2021 05:52:41 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 40F3640417; Tue, 5 Oct 2021 09:52:35 +0000 (UTC) From: Efraim Flashner Date: Tue, 5 Oct 2021 12:47:36 +0300 Message-Id: <634081e9917c27267786be8cd71315895d69c933.1633411929.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.33.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")