guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/25: gnu: Add julia-paddedviews.


From: guix-commits
Subject: 06/25: gnu: Add julia-paddedviews.
Date: Tue, 8 Jun 2021 10:58:43 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 9949289082c7c4f6c7430bc01add5145b64f4ba8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jun 8 15:43:10 2021 +0300

    gnu: Add julia-paddedviews.
    
    * gnu/packages/julia-xyz.scm (julia-paddedviews): New variable.
---
 gnu/packages/julia-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 0471a8d..2a58c0c 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1615,6 +1615,33 @@ have arbitrary indices, similar to those found in some 
other programming
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]