From d9fde1e639f481becfb1338650b2ba14fed4a9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Pastor=20P=C3=A9rez?= Date: Tue, 28 Nov 2023 22:11:50 +0100 Subject: [PATCH] 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 --- gnu/packages/crates-graphics.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 @@ (define-public rust-gl-generator-0.11 (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")