diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 11:06:16 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:12 +0200 |
commit | caff40ea340c93a961a90d66bfd41d17f4354453 (patch) | |
tree | 0089c1516b00d12cd3148721600d58b04d8f5c0c /gnu | |
parent | 9b3e53c0c4adcab4eafb1220f9228a2ec62dbc36 (diff) |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 28 |
1 files changed, 22 insertions, 6 deletions
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 |