From 21338ef0139559e66559bb2835a883b1ca15b10d Mon Sep 17 00:00:00 2001 From: msglm Date: Sun, 9 Feb 2025 14:27:30 -0600 Subject: add rust-glutin@0.4 --- unlustig.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'unlustig.scm') diff --git a/unlustig.scm b/unlustig.scm index 61f60e9..d818980 100644 --- a/unlustig.scm +++ b/unlustig.scm @@ -1373,3 +1373,44 @@ binding to JVM APIs from Rust.") "This package provides The Khronos XML API Registry, exposed as byte string constants.") (license license:asl2.0))) +(define-public rust-glutin-0.4 + (package + (name "rust-glutin") + (version "0.4.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "glutin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10d259jqbsalalnbag5mkqpqswyl424k666sqjzxbjlj2s5in7x7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-android-glue" ,rust-android-glue-0.1) + ("rust-cgl" ,rust-cgl-0.1) + ("rust-cocoa" ,rust-cocoa-0.2) + ("rust-core-foundation" ,rust-core-foundation-0.2) + ("rust-core-graphics" ,rust-core-graphics-0.3) + ("rust-dwmapi-sys" ,rust-dwmapi-sys-0.1) + ("rust-gdi32-sys" ,rust-gdi32-sys-0.1) + ("rust-gl-generator" ,rust-gl-generator-0.4) + ("rust-kernel32-sys" ,rust-kernel32-sys-0.2) + ("rust-khronos-api" ,rust-khronos-api-1) + ("rust-lazy-static" ,rust-lazy-static-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-objc" ,rust-objc-0.1) + ("rust-osmesa-sys" ,rust-osmesa-sys-0.0.5) + ("rust-shared-library" ,rust-shared-library-0.1) + ("rust-shell32-sys" ,rust-shell32-sys-0.1) + ("rust-user32-sys" ,rust-user32-sys-0.1) + ("rust-wayland-client" ,rust-wayland-client-0.5) + ("rust-wayland-kbd" ,rust-wayland-kbd-0.3) + ("rust-wayland-window" ,rust-wayland-window-0.2) + ("rust-winapi" ,rust-winapi-0.2) + ("rust-x11-dl" ,rust-x11-dl-2)))) + (home-page "https://github.com/rust-windowing/glutin") + (synopsis "Cross-platform OpenGL context provider") + (description + "This package provides Cross-platform @code{OpenGL} context provider.") + (license license:asl2.0))) + -- cgit v1.2.3