sharlatan pushed a commit to branch master
in repository guix.

commit f3a2cf6643433eb9906f1dff7f93c88f25cd527b
Author: Artyom V. Poptsov <[email protected]>
AuthorDate: Sat Jul 13 14:13:12 2024 +0300

    gnu: glfw-3.4: New variable.
    
    * gnu/packages/gl.scm (glfw-3.4): New variable.
    
    Change-Id: I77f2214c78f35455436897a3fbff083331295314
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/gl.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index f40ddaeb86..8441f3ae65 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -995,6 +995,21 @@ desktop computers.  It provides a simple API for creating 
windows, contexts
 and surfaces, receiving input and events.")
     (license license:zlib)))
 
+(define-public glfw-3.4
+  (package
+    (inherit glfw)
+    (version "3.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/glfw/glfw";
+                                  "/releases/download/" version
+                                  "/glfw-" version ".zip"))
+              (sha256
+               (base32
+                "1sd396kkn53myp61kxrd18h7b1q4ix173hhxhvl0iz8j4x5h1v5m"))))
+    (native-inputs (modify-inputs (package-native-inputs glfw)
+                     (prepend pkg-config)))))
+
 (define-public nanovg-for-extempore
   (let ((version "0.7.1")
         (revision "0")

Reply via email to