[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
56/71: gnu: Add julia-glfw-jll.
From: |
guix-commits |
Subject: |
56/71: gnu: Add julia-glfw-jll. |
Date: |
Sun, 30 May 2021 05:57:46 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 46fafec9c68debce225035ac08aefaa793bfc0c9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 30 12:37:42 2021 +0300
gnu: Add julia-glfw-jll.
* gnu/packages/julia-jll.scm (julia-glfw-jll): New variable.
---
gnu/packages/julia-jll.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index 80ace85..500d7d0 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -432,6 +432,49 @@ rendering library.")
(description "This package provides a wrapper for the gettext library.")
(license license:expat)))
+(define-public julia-glfw-jll
+ (package
+ (name "julia-glfw-jll")
+ (version "3.3.4+0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaBinaryWrappers/GLFW_jll.jl")
+ (commit (string-append "GLFW-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12r4g8x1pgfrx53wq1a2q0rj4p08q352mmci2px1j4bd0pwi8rc4"))))
+ (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
+ (("generate_wrapper_header.*")
+ (string-append
+ "generate_wrapper_header(\"GLFW\", \""
+ (assoc-ref inputs "glfw") "\")\n"))))
+ ;; There's a Julia file for each platform, override them all
+ (find-files "src/wrappers/" "\\.jl$")))))))
+ (inputs
+ `(("glfw" ,glfw)))
+ (propagated-inputs
+ `(("julia-jllwrappers" ,julia-jllwrappers)
+ ("julia-libglvnd-jll" ,julia-libglvnd-jll)
+ ("julia-xorg-libxcursor-jll" ,julia-xorg-libxcursor-jll)
+ ("julia-xorg-libxinerama-jll" ,julia-xorg-libxinerama-jll)
+ ("julia-xorg-libxrandr-jll" ,julia-xorg-libxrandr-jll)
+ ("julia-xorg-libxi-jll" ,julia-xorg-libxi-jll)))
+ (home-page "https://github.com/JuliaBinaryWrappers/GLFW_jll.jl")
+ (synopsis "Glfw library wrappers")
+ (description "This package provides a wrapper for the glfw library.")
+ (license license:expat)))
+
(define-public julia-glib-jll
(package
(name "julia-glib-jll")
- 29/71: gnu: Add julia-gettext-jll., (continued)
- 29/71: gnu: Add julia-gettext-jll., guix-commits, 2021/05/30
- 46/71: gnu: Add julia-xorg-libxext-jll., guix-commits, 2021/05/30
- 30/71: gnu: Add julia-pcre-jll., guix-commits, 2021/05/30
- 31/71: gnu: Add julia-libmount-jll., guix-commits, 2021/05/30
- 41/71: gnu: Add julia-lzo-jll., guix-commits, 2021/05/30
- 42/71: gnu: Add julia-xslt-jll., guix-commits, 2021/05/30
- 43/71: gnu: Add julia-xorg-libpthread-stubs-jll., guix-commits, 2021/05/30
- 48/71: gnu: Add julia-xorg-libxrender-jll., guix-commits, 2021/05/30
- 50/71: gnu: Add julia-xorg-libxfixes-jll., guix-commits, 2021/05/30
- 54/71: gnu: Add julia-xorg-libxinerama-jll., guix-commits, 2021/05/30
- 56/71: gnu: Add julia-glfw-jll.,
guix-commits <=
- 58/71: gnu: Add julia-wayland-protocols-jll., guix-commits, 2021/05/30
- 59/71: gnu: Add julia-xorg-libxkbfile-jll., guix-commits, 2021/05/30
- 57/71: gnu: Add julia-wayland-jll., guix-commits, 2021/05/30
- 66/71: gnu: Add julia-xorg-xcb-util-keysyms-jll., guix-commits, 2021/05/30
- 64/71: gnu: Add julia-xorg-xcb-util-wm-jll., guix-commits, 2021/05/30
- 32/71: gnu: Add julia-glib-jll., guix-commits, 2021/05/30
- 44/71: gnu: Add julia-xorg-libxcb-jll., guix-commits, 2021/05/30
- 45/71: gnu: Add julia-xorg-libx11-jll., guix-commits, 2021/05/30
- 51/71: gnu: Add julia-xorg-libxcursor-jll., guix-commits, 2021/05/30
- 53/71: gnu: Add julia-xorg-libxi-jll., guix-commits, 2021/05/30