gnu: Add julia-paddedviews.

* gnu/packages/julia-xyz.scm (julia-paddedviews): New variable.
This commit is contained in:
Efraim Flashner 2021-06-08 15:43:10 +03:00
parent ba637c5cb2
commit 9949289082
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1615,6 +1615,33 @@ (define-public julia-offsetarrays
languages like Fortran.")
(license license:expat)))
(define-public julia-paddedviews
(package
(name "julia-paddedviews")
(version "0.5.8")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaArrays/PaddedViews.jl")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ran2vj6ahlzib0g77y7g0jhavy3k9s2mqq23ybpgp9z677wf26h"))))
(build-system julia-build-system)
(arguments
'(#:tests? #f)) ;require Documenter, not packaged yet
(propagated-inputs
`(("julia-offsetarrays" ,julia-offsetarrays)))
(home-page "https://github.com/JuliaArrays/PaddedViews.jl")
(synopsis "Add virtual padding to the edges of an array")
(description "@code{PaddedViews} provides a simple wrapper type,
@code{PaddedView}, to add \"virtual\" padding to any array without copying data.
Edge values not specified by the array are assigned a @code{fillvalue}.
Multiple arrays may be \"promoted\" to have common indices using the
@code{paddedviews} function.")
(license license:expat)))
(define-public julia-parameters
(package
(name "julia-parameters")