[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
294/416: gnu: imgui: Use gexp output variables.
From: |
guix-commits |
Subject: |
294/416: gnu: imgui: Use gexp output variables. |
Date: |
Fri, 14 Apr 2023 15:26:06 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit b8b7622d2b02e3bbe56e5d52ae10517815cbfc23
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Apr 1 17:28:09 2023 -0400
gnu: imgui: Use gexp output variables.
* gnu/packages/toolkits.scm (imgui) [arguments]: Use gexp variables in
install
phase.
---
gnu/packages/toolkits.scm | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/toolkits.scm b/gnu/packages/toolkits.scm
index 82b9490e62..a29ab01154 100644
--- a/gnu/packages/toolkits.scm
+++ b/gnu/packages/toolkits.scm
@@ -89,32 +89,33 @@
;; fontconfig.
(find-files "misc" "\\.cpp$"))))
(replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (assoc-ref outputs "doc"))
- (header? (cut string-suffix? ".h" <>))
+ (lambda _
+ (let* ((header? (cut string-suffix? ".h" <>))
(imgui-headers (scandir "." header?))
(backend-headers (find-files
"backends"
"(glfw|opengl|sdl|vulkan).*\\.h$"))
(misc-headers (find-files "misc" "\\.h$")))
- (install-file "libimgui.so" (string-append out "/lib"))
+ (install-file "libimgui.so" (string-append #$output "/lib"))
;; Install headers.
(for-each (lambda (f)
- (install-file f (string-append out
"/include/imgui")))
+ (install-file f (string-append #$output
+ "/include/imgui")))
imgui-headers)
(for-each (lambda (f)
(install-file f (string-append
- out "/include/imgui/backends")))
+ #$output
+ "/include/imgui/backends")))
backend-headers)
(for-each (lambda (f)
- (install-file f (string-append
- out "/include/imgui/" (dirname
f))))
+ (install-file f (string-append #$output
+ "/include/imgui/"
+ (dirname f))))
misc-headers)
;; Install examples.
- (copy-recursively
- "examples" (string-append
- doc "/share/imgui/examples"))))))))
+ (copy-recursively "examples"
+ (string-append #$output:doc
+
"/share/imgui/examples"))))))))
(inputs (list fontconfig glfw mesa sdl2))
(home-page "https://github.com/ocornut/imgui")
(synopsis "Immediate-mode C++ GUI library with minimal dependencies")
- 221/416: gnu: ffmpeg: Update to 6.0., (continued)
- 221/416: gnu: ffmpeg: Update to 6.0., guix-commits, 2023/04/14
- 229/416: gnu: qt3d-5: Update to 5.15.8., guix-commits, 2023/04/14
- 234/416: gnu: qtdeclarative-5: Update to 5.15.8., guix-commits, 2023/04/14
- 245/416: gnu: qtlocation: Update to 5.15.5., guix-commits, 2023/04/14
- 248/416: gnu: qtquickcontrols-5: Update to 5.15.8., guix-commits, 2023/04/14
- 249/416: gnu: qtquickcontrols2-5: Update to 5.15.8., guix-commits, 2023/04/14
- 266/416: gnu: ruby-puma: Disable a flaky test., guix-commits, 2023/04/14
- 278/416: gnu: python-coverage: Update to 5.5., guix-commits, 2023/04/14
- 289/416: gnu: Add orangeduck-mpc., guix-commits, 2023/04/14
- 293/416: gnu: utf8-h: Install header under include/utf8 prefix., guix-commits, 2023/04/14
- 294/416: gnu: imgui: Use gexp output variables.,
guix-commits <=
- 295/416: gnu: Add imgui-1.87., guix-commits, 2023/04/14
- 300/416: gnu: farstream: Use gexps., guix-commits, 2023/04/14
- 299/416: gnu: farstream: Disable a failing test., guix-commits, 2023/04/14
- 213/416: gnu: gst-plugins-good: Update to 1.22.1., guix-commits, 2023/04/14
- 302/416: gnu: python-exceptiongroup: Update to 1.1.1., guix-commits, 2023/04/14
- 309/416: gnu: python-h5py: Update to 3.8.0., guix-commits, 2023/04/14
- 312/416: gnu: rust-pyo3-0.15: Update to 0.15.2., guix-commits, 2023/04/14
- 317/416: gnu: rust-core-foundation-sys-0.8: Update to 0.8.3., guix-commits, 2023/04/14
- 326/416: gnu: rust-cc-1: Update to 1.0.79., guix-commits, 2023/04/14
- 330/416: gnu: Add rust-prettyplease-0.1., guix-commits, 2023/04/14