summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-14 13:30:40 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-14 14:45:23 +0300
commit6669b005c8e80fbd4cf360dc3d69af29ee7b122f (patch)
tree9a9981d734630f7d2bf726b0f87615a81c0a5d30 /gnu
parentf4e3a504dc937ecf2ad1ff94fea46f5e3d51f798 (diff)
downloadguix-6669b005c8e80fbd4cf360dc3d69af29ee7b122f.tar.gz
gnu: Add julia-imageinterminal.
* gnu/packages/julia-xyz.scm (julia-imageinterminal): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/julia-xyz.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 23a5ec8006..3405ebbd6d 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1737,6 +1737,42 @@ dependencies.")
 of packages designed to support image processing and computer vision.")
     (license license:expat)))
 
+(define-public julia-imageinterminal
+  (package
+    (name "julia-imageinterminal")
+    (version "0.4.6")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaImages/ImageInTerminal.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1mqbv27qmnsr6wqvklzb4gawi7hp4wnaspszhaxny1m53q6wbifl"))))
+    (build-system julia-build-system)
+    (arguments
+     `(#:tests? #f))    ; Cycle with ReferenceTests.jl.
+    (propagated-inputs
+     `(("julia-crayons" ,julia-crayons)
+       ("julia-imagecore" ,julia-imagecore)
+       ("julia-imagetransformations" ,julia-imagetransformations)))
+    ;(native-inputs
+    ; `(("julia-coordinatetransformations" ,julia-coordinatetransformations)
+    ;   ("julia-imagemagick" ,julia-imagemagick)
+    ;   ("julia-offsetarrays" ,julia-offsetarrays)
+    ;   ("julia-referencetests" ,julia-referencetests)
+    ;   ("julia-rotations" ,julia-rotations)
+    ;   ("julia-sparsearrays" ,julia-sparsearrays)
+    ;   ("julia-testimages" ,julia-testimages)))
+    (home-page "https://github.com/JuliaImages/ImageInTerminal.jl")
+    (synopsis "Julia package for displaying images in the terminal")
+    (description "@code{ImageInTerminal.jl} is a drop-in package that once
+imported changes a how a single @code{Colorant} and whole @code{Colorant} arrays
+(i.e. Images) are displayed in the interactive REPL.  The displayed images will
+be downscaled to fit into the size of your active terminal session.")
+    (license license:expat)))
+
 (define-public julia-imagemetadata
   (package
     (name "julia-imagemetadata")