diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-06-14 12:48:49 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-06-14 14:45:22 +0300 |
commit | e490262fbd502222801aa15a1680b728dc76d533 (patch) | |
tree | 510e2300186129c9b1b134a643e1fb238848a18b | |
parent | f52f7a30851daa195664a070e50aa0992a58e2a6 (diff) | |
download | guix-e490262fbd502222801aa15a1680b728dc76d533.tar guix-e490262fbd502222801aa15a1680b728dc76d533.tar.gz |
gnu: Add julia-stackviews.
* gnu/packages/julia-xyz.scm (julia-stackviews): New variable.
-rw-r--r-- | gnu/packages/julia-xyz.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 8ab24c0a90..e5a123acb7 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -3076,6 +3076,46 @@ default are documented to have non-stable streams (which for example enables some performance improvements).") (license license:expat))) +(define-public julia-stackviews + (package + (name "julia-stackviews") + (version "0.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaArrays/StackViews.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fwiaxdpx1z9dli3jr8kyraych0jbdiny3qklynf0r13px25r6i7")))) + (build-system julia-build-system) + (arguments + `(#:tests? #f ; Documenter.jl not packaged yet + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'skip-doctest + (lambda _ + (substitute* "test/runtests.jl" + ((".*doctest.*") "")) + #t))))) + (propagated-inputs + `(("julia-offsetarrays" ,julia-offsetarrays))) + ;(native-inputs + ; `(("julia-aqua" ,julia-aqua) + ; ("julia-documenter" ,julia-documenter))) + (home-page "https://github.com/JuliaArrays/StackViews.jl") + (synopsis "No more catcat") + (description "StackViews provides only one array type: @code{StackView}. +There are multiple ways to understand @code{StackView}: +@itemize +@item inverse of @code{eachslice} +@item @code{cat} variant +@item view object +@item lazy version of @code{repeat} special case +@end itemize") + (license license:expat))) + (define-public julia-static (package (name "julia-static") |