[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/25: gnu: Add julia-identityranges.
From: |
guix-commits |
Subject: |
17/25: gnu: Add julia-identityranges. |
Date: |
Tue, 8 Jun 2021 10:58:46 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 7cb023cc0184072633ed1052eb28b5880e807fe5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jun 8 17:19:05 2021 +0300
gnu: Add julia-identityranges.
* gnu/packages/julia-xyz.scm (julia-identityranges): New variable.
---
gnu/packages/julia-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 16adf60..62c8f2a 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1223,6 +1223,32 @@ library for parsing HTML.")
implementing both a client and a server.")
(license license:expat)))
+(define-public julia-identityranges
+ (package
+ (name "julia-identityranges")
+ (version "0.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaArrays/IdentityRanges.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jvl4xn8f8k70sn473li5q62wbiycl5qi25b5k456h3a0j1lbiml"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ `(("julia-offsetarrays" ,julia-offsetarrays)))
+ (home-page "https://github.com/JuliaArrays/IdentityRanges.jl")
+ (synopsis "Ranges that preserve indices of views")
+ (description "@code{IdentityRanges} are Julia-language a helper type for
+creating \"views\" of arrays. They are a custom type of AbstractUnitRange that
+makes it easy to preserve the indices of array views. The key property of an
+@code{IdentityRange r} is that @code{r[i] == i} (hence the name of the
+type/package), and that they support arbitrary start/stop indices (i.e., not
+just starting at 1).")
+ (license license:expat)))
+
(define-public julia-ifelse
(package
(name "julia-ifelse")
- 19/25: gnu: Add julia-woodburymatrices., (continued)
- 19/25: gnu: Add julia-woodburymatrices., guix-commits, 2021/06/08
- 20/25: gnu: Add julia-axisalgorithms., guix-commits, 2021/06/08
- 22/25: gnu: Add julia-stringdistances., guix-commits, 2021/06/08
- 01/25: gnu: Add julia-statsbase., guix-commits, 2021/06/08
- 25/25: gnu: Add julia-itertools., guix-commits, 2021/06/08
- 16/25: gnu: Add julia-showoff., guix-commits, 2021/06/08
- 24/25: gnu: Add julia-simpletraits., guix-commits, 2021/06/08
- 12/25: gnu: Add julia-tracker., guix-commits, 2021/06/08
- 13/25: gnu: Add julia-lazyarrays., guix-commits, 2021/06/08
- 14/25: gnu: Add julia-blockarrays., guix-commits, 2021/06/08
- 17/25: gnu: Add julia-identityranges.,
guix-commits <=
- 18/25: gnu: Add julia-ratios., guix-commits, 2021/06/08
- 23/25: gnu: Add julia-rotations., guix-commits, 2021/06/08
- 21/25: gnu: Add julia-distances., guix-commits, 2021/06/08