From 114db2b9c40181f6c4c0f7121197b26060b50909 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 27 May 2021 15:52:10 +0300 Subject: [PATCH] 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 448197ca06..c18be17be7 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -919,6 +919,29 @@ (define-public julia-inifile 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")