guix-commits
[Top][All Lists]
Advanced

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

03/10: gnu: Add julia-invertedindices.


From: guix-commits
Subject: 03/10: gnu: Add julia-invertedindices.
Date: Thu, 27 May 2021 09:59:44 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 114db2b9c40181f6c4c0f7121197b26060b50909
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 27 15:52:10 2021 +0300

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

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 448197c..c18be17 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -919,6 +919,29 @@ conditional ifelse.  It is similar to @code{Core.ifelse} 
but it is extendable.")
 interfaces with @file{.ini} files.")
     (license license:expat)))
 
+(define-public julia-invertedindices
+  (package
+    (name "julia-invertedindices")
+    (version "1.0.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/mbauman/InvertedIndices.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1179z20yxnkyziip7gn26wr1g3k3ssl1ci7pig3khc900f62di46"))))
+    (build-system julia-build-system)
+    (native-inputs
+     `(("julia-offsetarrays" ,julia-offsetarrays)))
+    (home-page "https://github.com/mbauman/InvertedIndices.jl";)
+    (synopsis "Index type that allows for inverted selections")
+    (description "This package just exports one type: the @code{InvertedIndex},
+or @code{Not} for short.  It can wrap any supported index type and may be used
+as an index into any @code{AbstractArray} subtype, including OffsetArrays.")
+    (license license:expat)))
+
 (define-public julia-iocapture
   (package
     (name "julia-iocapture")



reply via email to

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