From caff40ea340c93a961a90d66bfd41d17f4354453 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 4 Jan 2024 11:06:16 +0200 Subject: gnu: Add rust-glutin-glx-sys-0.5. * gnu/packages/crates-graphics.scm (rust-glutin-glx-sys-0.5): New variable. (rust-glutin-glx-sys-0.4): Inherit from rust-glutin-glx-sys-0.5. Change-Id: I9b9d4acaf2888eb5f4571f2bf7fc7fcf2932e189 --- gnu/packages/crates-graphics.scm | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index b2793bfcbb..dee52373c2 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1641,8 +1641,29 @@ EUI-64, also known as MAC-48 media access control addresses.") (description "This package provides gles2 bindings for glutin.") (license license:asl2.0))) +(define-public rust-glutin-glx-sys-0.5 + (package + (name "rust-glutin-glx-sys") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "glutin_glx_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0krv3chf5sy83rsfwq267paczskpwnb5gcw0agac5p0hdilgsrd1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) + ("rust-x11-dl" ,rust-x11-dl-2)))) + (home-page "https://github.com/rust-windowing/glutin") + (synopsis "Glx bindings for glutin") + (description "This package provides glx bindings for glutin.") + (license license:asl2.0))) + (define-public rust-glutin-glx-sys-0.4 (package + (inherit rust-glutin-glx-sys-0.5) (name "rust-glutin-glx-sys") (version "0.4.0") (source @@ -1652,15 +1673,10 @@ EUI-64, also known as MAC-48 media access control addresses.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "150l397l64p4r46wshh8zdlwifpcqpm93fm3csh4m5k8wmgwnlqv")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-x11-dl" ,rust-x11-dl-2)))) - (home-page "https://github.com/tomaka/glutin") - (synopsis "Glx bindings for glutin") - (description "This package provides glx bindings for glutin.") - (license license:asl2.0))) + ("rust-x11-dl" ,rust-x11-dl-2)))))) (define-public rust-glutin-glx-sys-0.1 (package -- cgit v1.2.3