guix-commits
[Top][All Lists]
Advanced

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

04/71: gnu: julia-jpegturbo-jll: Move to (gnu packages julia-jll).


From: guix-commits
Subject: 04/71: gnu: julia-jpegturbo-jll: Move to (gnu packages julia-jll).
Date: Sun, 30 May 2021 05:57:29 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f0e0b9a55ac39da37bd0c75d7df6528118eba8cd
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 30 10:25:28 2021 +0300

    gnu: julia-jpegturbo-jll: Move to (gnu packages julia-jll).
    
    * gnu/packages/julia-xyz.scm (julia-jpegturbo-jll): Move to ...
    * gnu/packages/julia-jll.scm: ... here.
---
 gnu/packages/julia-jll.scm | 38 ++++++++++++++++++++++++++++++++++++++
 gnu/packages/julia-xyz.scm | 37 -------------------------------------
 2 files changed, 38 insertions(+), 37 deletions(-)

diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index 062e504..0357ead 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -26,6 +26,7 @@
   #:use-module (guix build-system julia)
   #:use-module (gnu packages)
   #:use-module (gnu packages gcc)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages julia)
   #:use-module (gnu packages web))
 
@@ -155,3 +156,40 @@ build tree Yggdrasil.")
 to generate themselves.  It is not intended to be used by users, but rather is
 used in autogenerated packages via @code{BinaryBuilder.jl}.")
     (license license:expat)))
+
+(define-public julia-jpegturbo-jll
+  (package
+    (name "julia-jpegturbo-jll")
+    (version "2.0.1+2")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaBinaryWrappers/JpegTurbo_jll.jl";)
+               (commit (string-append "JpegTurbo-v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "1xp1x0hrj337bgwwffwpyq7xg031j2a38fim29lixqa0a0y80x6y"))))
+    (build-system julia-build-system)
+    (arguments
+     '(#:tests? #f  ; no runtests
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'override-binary-path
+           (lambda* (#:key inputs #:allow-other-keys)
+             (map
+               (lambda (wrapper)
+                 (substitute* wrapper
+                   (("artifact\"JpegTurbo\"")
+                    (string-append "\"" (assoc-ref inputs "libjpeg-turbo") 
"\""))))
+               ;; There's a Julia file for each platform, override them all
+               (find-files "src/wrappers/" "\\.jl$")))))))
+    (inputs
+     `(("libjpeg-turbo" ,libjpeg-turbo)))
+    (propagated-inputs
+     `(("julia-jllwrappers" ,julia-jllwrappers)))
+    (home-page "https://github.com/JuliaBinaryWrappers/JpegTurbo_jll.jl";)
+    (synopsis "Libjpeg-turbo library wrappers")
+    (description "This package provides a wrapper for the libjpeg-turbo 
library.")
+    (license license:expat)))
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 49439ae..2a49cf5 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -993,43 +993,6 @@ external IRs.  It can be used with Julia metaprogramming 
tools such as
 Cassette.")
     (license license:expat)))
 
-(define-public julia-jpegturbo-jll
-  (package
-    (name "julia-jpegturbo-jll")
-    (version "2.0.1+2")
-    (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-               (url "https://github.com/JuliaBinaryWrappers/JpegTurbo_jll.jl";)
-               (commit (string-append "JpegTurbo-v" version))))
-        (file-name (git-file-name name version))
-        (sha256
-         (base32
-          "1xp1x0hrj337bgwwffwpyq7xg031j2a38fim29lixqa0a0y80x6y"))))
-    (build-system julia-build-system)
-    (arguments
-     '(#:tests? #f  ; no runtests
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'override-binary-path
-           (lambda* (#:key inputs #:allow-other-keys)
-             (map
-               (lambda (wrapper)
-                 (substitute* wrapper
-                   (("artifact\"JpegTurbo\"")
-                    (string-append "\"" (assoc-ref inputs "libjpeg-turbo") 
"\""))))
-               ;; There's a Julia file for each platform, override them all
-               (find-files "src/wrappers/" "\\.jl$")))))))
-    (inputs
-     `(("libjpeg-turbo" ,libjpeg-turbo)))
-    (propagated-inputs
-     `(("julia-jllwrappers" ,julia-jllwrappers)))
-    (home-page "https://github.com/JuliaBinaryWrappers/JpegTurbo_jll.jl";)
-    (synopsis "Libjpeg-turbo library wrappers")
-    (description "This package provides a wrapper for the libjpeg-turbo 
library.")
-    (license license:expat)))
-
 (define-public julia-json
   (package
     (name "julia-json")



reply via email to

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