summary refs log tree commit diff
path: root/gnu/packages/julia-xyz.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-14 11:40:04 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-14 14:45:21 +0300
commit6ddeadbaf092b21c0131e23040e7bace5bb9264b (patch)
treed0203fd231ff1080da0cb031663b4840d8d90f75 /gnu/packages/julia-xyz.scm
parentcb66e4ae6a2e49f3a1739a19970874eb6212017f (diff)
downloadguix-6ddeadbaf092b21c0131e23040e7bace5bb9264b.tar.gz
gnu: Add julia-testimages.
* gnu/packages/julia-xyz.scm (julia-testimages): New variable.
Diffstat (limited to 'gnu/packages/julia-xyz.scm')
-rw-r--r--gnu/packages/julia-xyz.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 160dfc49f0..dd847a3ed9 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -3140,6 +3140,43 @@ product preserves all dimensions}, and @acronym{boxdot, contracts neighboring
 dimensions}.")
     (license license:expat)))
 
+(define-public julia-testimages
+  (package
+    (name "julia-testimages")
+    (version "1.5.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaImages/TestImages.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1lnfsmx33qspyvxw0cykwh7il8xykjpcw1080sisn95ngz2qhdmy"))))
+    (build-system julia-build-system)
+    (arguments
+     `(#:tests? #f))    ; cycle with ImageMagick.jl
+    (propagated-inputs
+     `(("julia-axisarrays" ,julia-axisarrays)
+       ("julia-colortypes" ,julia-colortypes)
+       ("julia-fileio" ,julia-fileio)
+       ("julia-offsetarrays" ,julia-offsetarrays)
+       ("julia-stringdistances" ,julia-stringdistances)))
+    ;(native-inputs
+    ; `(("julia-colors" ,julia-colors)
+    ;   ("julia-fixedpointnumbers" ,julia-fixedpointnumbers)
+    ;   ("julia-imagecontrastadjustment" ,julia-imagecontrastadjustment)
+    ;   ("julia-imagemagick" ,julia-imagemagick)
+    ;   ("julia-ometiff" ,julia-ometiff)
+    ;   ("julia-referencetests" ,julia-referencetests)))
+    (home-page "https://testimages.juliaimages.org/")
+    (synopsis "Standard test images for Julia")
+    (description "This package provides a convenient Julia interface for loading
+standard named test images and example images for the internal usage in
+@code{JuliaImages}.  This can be used in conjunction with the @code{Images}
+package.")
+    (license license:expat)))
+
 (define-public julia-tracker
   (package
     (name "julia-tracker")