summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSergio Pastor PĂ©rez <sergio.pastorperez@outlook.es>2023-11-28 22:11:50 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:41 +0200
commitd9fde1e639f481becfb1338650b2ba14fed4a9e5 (patch)
tree17a57586ed5672df5593a386501015b300987a1c /gnu/packages
parent3fb7f36b0659900510933882d55c1a3fc4b97da6 (diff)
downloadguix-d9fde1e639f481becfb1338650b2ba14fed4a9e5.tar.gz
gnu: Add rust-gl-loader-0.1.
* gnu/packages/crates-graphics.scm (rust-gl-loader-0.1): New variable.

Change-Id: I646847c502e8a7fef18496697b4dd2a97b97b0dd
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-graphics.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index a75d15ae34..a1f4c3a269 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1069,6 +1069,28 @@ EUI-64, also known as MAC-48 media access control addresses.")
        (base32
         "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir"))))))
 
+(define-public rust-gl-loader-0.1
+  (package
+    (name "rust-gl-loader")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gl_loader" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lwr1gd7hrb2nk67zw4pc04vl4h868r5a7846zjr0548bzfrcbg3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; missing `gl` crate
+       #:cargo-inputs (("rust-cc" ,rust-cc-1)
+                       ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/maeln/gl_loader")
+    (synopsis "Simple OpenGL function pointer loader based on Glad")
+    (description
+     "Simple @code{OpenGL} function pointer loader based on Glad.")
+    (license license:cecill)))
+
 (define-public rust-gleam-0.6
   (package
     (name "rust-gleam")