From 91286d83f69dcd0dd6f959a8953cb5b6fca7dc54 Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 11 Oct 2019 16:01:51 +0200 Subject: [PATCH] gnu: Add julia-itertools. * gnu/packages/julia-xyz.scm (julia-itertools-1.2.0): New variable. --- gnu/packages/julia-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 8c3209a472..dd00dbfd96 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1325,3 +1325,23 @@ operations. Note that here \"statically sized\" means that the size can be determined from the type, and \"static\" does not necessarily imply immutable.") (license license:expat))) + +(define-public julia-itertools + (package + (name "julia-itertools") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaCollections/IterTools.jl") + (commit (string-append "v" version)))) + (file-name "IterTools") + (sha256 + (base32 "1iq08xpj1gb2wz2hx7g177clxnxcwlma12dj240xnk7q0g623hbv")))) + (build-system julia-build-system) + (home-page "https://juliacollections.github.io/IterTools.jl/stable/") + (synopsis "Common functional iterator patterns") + (description "This Julia package provides common functional iterator +patterns like @code{nth}, @code{takenth}, @code{groupby}.") + (license license:expat)))