gnu: openexr: Apply 'guix style'.
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Mon, 19 Sep 2022 10:56:13 +0000 (12:56 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 10 Oct 2022 09:16:07 +0000 (11:16 +0200)
* gnu/packages/graphics.scm (openexr): apply guix style.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/graphics.scm

index c6639c4..168de7a 100644 (file)
@@ -1118,29 +1118,29 @@ graphics.")
   (package
     (name "openexr")
     (version "3.1.3")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/AcademySoftwareFoundation/openexr")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url
+                     "https://github.com/AcademySoftwareFoundation/openexr")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6"))))
     (build-system cmake-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         ;; /var/tmp does not exist in the Guix build environment
-         (add-after 'unpack 'patch-test-directory
-           (lambda _
-             (substitute* '("src/test/OpenEXRUtilTest/tmpDir.h"
-                            "src/test/OpenEXRFuzzTest/tmpDir.h"
-                            "src/test/OpenEXRTest/tmpDir.h"
-                            "src/test/OpenEXRCoreTest/main.cpp")
-               (("/var/tmp") "/tmp")))))))
-    (inputs
-     (list imath zlib))
+     '(#:phases (modify-phases %standard-phases
+                  ;; /var/tmp does not exist in the Guix build environment
+                  (add-after 'unpack 'patch-test-directory
+                    (lambda _
+                      (substitute* '("src/test/OpenEXRUtilTest/tmpDir.h"
+                                     "src/test/OpenEXRFuzzTest/tmpDir.h"
+                                     "src/test/OpenEXRTest/tmpDir.h"
+                                     "src/test/OpenEXRCoreTest/main.cpp")
+                        (("/var/tmp")
+                         "/tmp")))))))
+    (inputs (list imath zlib))
     (home-page "https://www.openexr.com/")
     (synopsis "High-dynamic-range file format library")
     (description