summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2025-02-09 12:54:42 -0600
committermsglm <msglm@techchud.xyz>2025-02-09 12:54:42 -0600
commit62870dd4cd12bab21b79d85cd6977737d48e536f (patch)
treef923be05d537290064ddbd3c0d89ddb7f1e8be34
parent45cb03e1e65c9b428e12ae2193fa29faff4582ca (diff)
downloadguix-msglm-62870dd4cd12bab21b79d85cd6977737d48e536f.tar.gz
guix-msglm-62870dd4cd12bab21b79d85cd6977737d48e536f.tar.bz2
guix-msglm-62870dd4cd12bab21b79d85cd6977737d48e536f.zip
add rust-glium@0.30
-rw-r--r--unlustig.scm55
1 files changed, 55 insertions, 0 deletions
diff --git a/unlustig.scm b/unlustig.scm
index 65e575a..8f3ec0d 100644
--- a/unlustig.scm
+++ b/unlustig.scm
@@ -637,3 +637,58 @@ in the Windows API.")
"This package provides Cross-platform @code{OpenGL} context provider.")
(license license:asl2.0)))
+(define-public rust-glium-0.30
+ (package
+ (name "rust-glium")
+ (version "0.30.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glium" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01q0r4q098qsm0nrbrx33v8ddvx835ss66sxmr3x94a8ashjlsjh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-gl-generator" ,rust-gl-generator-0.14)
+ ("rust-glutin" ,rust-glutin-0.27)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-memoffset" ,rust-memoffset-0.6)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-takeable-option" ,rust-takeable-option-0.5))
+ #:cargo-development-inputs (("rust-cgmath" ,rust-cgmath-0.18)
+ ("rust-genmesh" ,rust-genmesh-0.6)
+ ("rust-image" ,rust-image-0.23)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-obj" ,rust-obj-0.10)
+ ("rust-ouroboros" ,rust-ouroboros-0.10)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/glium/glium")
+ (synopsis
+ "Elegant and safe OpenGL wrapper.
+
+Glium is an intermediate layer between OpenGL and your application. You still need to manually handle
+the graphics pipeline, but without having to use OpenGL's old and error-prone API.
+
+Its objectives:
+
+ - Be safe to use. Many aspects of OpenGL that can trigger a crash if misused are automatically handled by glium.
+ - Provide an API that enforces good pratices such as RAII or stateless function calls.
+ - Be compatible with all OpenGL versions that support shaders, providing unified API when things diverge.
+ - Avoid all OpenGL errors beforehand.
+ - Produce optimized OpenGL function calls, and allow the user to easily use modern OpenGL techniques.")
+ (description
+ "This package provides Elegant and safe @code{OpenGL} wrapper. Glium is an intermediate layer between
+@code{OpenGL} and your application. You still need to manually handle the
+graphics pipeline, but without having to use @code{OpenGL's} old and error-prone
+API. Its objectives: - Be safe to use. Many aspects of @code{OpenGL} that can
+trigger a crash if misused are automatically handled by glium. - Provide an API
+that enforces good pratices such as RAII or stateless function calls. - Be
+compatible with all @code{OpenGL} versions that support shaders, providing
+unified API when things diverge. - Avoid all @code{OpenGL} errors beforehand. -
+Produce optimized @code{OpenGL} function calls, and allow the user to easily use
+modern @code{OpenGL} techniques.")
+ (license license:asl2.0)))
+