summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-14 13:26:30 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-14 14:45:23 +0300
commitf4e3a504dc937ecf2ad1ff94fea46f5e3d51f798 (patch)
treee7652900c234c135c4b2a796d8da012440d44bdc
parentfcc15a4a327f80ff352fca4f0f950dab33a14b56 (diff)
downloadguix-f4e3a504dc937ecf2ad1ff94fea46f5e3d51f798.tar.gz
gnu: Add julia-imagetransformations.
* gnu/packages/julia-xyz.scm (julia-imagetransformations): New variable.
-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 da66c54035..23a5ec8006 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1804,6 +1804,42 @@ for graphical platforms such as IJulia.  It is intended to provide convenient
 inline presentation of greyscale or color images.")
     (license license:expat)))
 
+(define-public julia-imagetransformations
+  (package
+    (name "julia-imagetransformations")
+    (version "0.8.12")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaImages/ImageTransformations.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0i8gw68hljshsy9wdl5mrpbb31irhmayqyglsxi7jwm88iy9pxhm"))))
+    (build-system julia-build-system)
+    (arguments
+     `(#:tests? #f))    ; Cycle with ImageMagick.jl.
+    (propagated-inputs
+     `(("julia-axisalgorithms" ,julia-axisalgorithms)
+       ("julia-colorvectorspace" ,julia-colorvectorspace)
+       ("julia-coordinatetransformations" ,julia-coordinatetransformations)
+       ("julia-identityranges" ,julia-identityranges)
+       ("julia-imagecore" ,julia-imagecore)
+       ("julia-interpolations" ,julia-interpolations)
+       ("julia-offsetarrays" ,julia-offsetarrays)
+       ("julia-rotations" ,julia-rotations)
+       ("julia-staticarrays" ,julia-staticarrays)))
+    ;(native-inputs
+    ; `(("julia-imagemagick" ,julia-imagemagick)
+    ;   ("julia-referencetests" ,julia-referencetests)
+    ;   ("julia-testimages" ,julia-testimages)))
+    (home-page "https://github.com/JuliaImages/ImageTransformations.jl")
+    (synopsis "Geometric transformations on images for Julia")
+    (description "This package provides support for image resizing, image
+rotation, and other spatial transformations of arrays.")
+    (license license:expat)))
+
 (define-public julia-indexing
   (package
     (name "julia-indexing")