mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: openexr: Apply 'guix style'.
* 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>
This commit is contained in:
parent
b6bc4c109b
commit
831e038dff
1 changed files with 21 additions and 21 deletions
|
@ -1118,29 +1118,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
|
||||
|
|
Loading…
Reference in a new issue