guix-commits
[Top][All Lists]
Advanced

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

21/26: gnu: Add julia-indirectarrays.


From: guix-commits
Subject: 21/26: gnu: Add julia-indirectarrays.
Date: Mon, 31 May 2021 05:56:24 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 4541cda7d76b8fdea39b2abfda283e1e392d12fd
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 31 12:43:32 2021 +0300

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

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 71f2019..82e7be9 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1025,6 +1025,33 @@ out of dictionaries, tuples, etc, extending this ability 
beyond
 @code{AbstractArray}.")
     (license license:expat)))
 
+(define-public julia-indirectarrays
+  (package
+    (name "julia-indirectarrays")
+    (version "0.5.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaArrays/IndirectArrays.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0l0jq0jnr9z3k431ni82xycq7mqapgxrbrx4yyk6lycvi41ipm4s"))))
+    (build-system julia-build-system)
+    (native-inputs
+     `(("julia-colors" ,julia-colors)
+       ("julia-fixedpointnumbers" ,julia-fixedpointnumbers)
+       ("julia-mappedarrays" ,julia-mappedarrays)))
+    (home-page "https://github.com/JuliaArrays/IndirectArrays.jl";)
+    (synopsis "Julia implementation of indexed arrays")
+    (description "An @code{IndirectArray} is one that encodes data using a
+combination of an @code{index} and a @code{value} table.  Each element is
+assigned its own index, which is used to retrieve the value from the
+@code{value} table.  Among other uses, @code{IndirectArrays} can represent
+indexed images, sometimes called \"colormap images\" or \"paletted images.\"")
+    (license license:expat)))
+
 (define-public julia-inifile
   (package
     (name "julia-inifile")



reply via email to

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