[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57931] [PATCH v1 3/6] gnu: openexr: apply guix style.
From: |
Denis 'GNUtoo' Carikli |
Subject: |
[bug#57931] [PATCH v1 3/6] gnu: openexr: apply guix style. |
Date: |
Mon, 19 Sep 2022 12:56:13 +0200 |
* gnu/packages/graphics.scm (openexr): apply guix style.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
gnu/packages/graphics.scm | 42 +++++++++++++++++++--------------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index f968a3f558..54ee3994e8 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1119,29 +1119,29 @@ (define-public openexr
(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
--
2.37.3