diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 11:04:48 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:11 +0200 |
commit | 9b3e53c0c4adcab4eafb1220f9228a2ec62dbc36 (patch) | |
tree | 63654dab9424c71ea8ff3fb9e69ca3770413756b | |
parent | d9cb14e78ebd72c016392f2d2f2101a0ce07ef70 (diff) | |
download | guix-9b3e53c0c4adcab4eafb1220f9228a2ec62dbc36.tar.gz |
gnu: Add rust-glutin-egl-sys-0.6.
* gnu/packages/crates-graphics.scm (rust-glutin-egl-sys-0.6): New variable. (rust-glutin-egl-sys-0.4): Inherit from rust-glutin-egl-sys-0.6. Change-Id: Ifcf57a8df86ba9c3f4d20e539044f9b84dcc84d2
-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 5f60b36213..b2793bfcbb 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1545,8 +1545,29 @@ EUI-64, also known as MAC-48 media access control addresses.") ("rust-winapi" ,rust-winapi-0.3) ("rust-winit" ,rust-winit-0.19)))))) +(define-public rust-glutin-egl-sys-0.6 + (package + (name "rust-glutin-egl-sys") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "glutin_egl_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kcv5pdpdsyhzpiahga15kk7yd4m64ia2k6xqcrz97ihylimdk3p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/rust-windowing/glutin") + (synopsis "Egl bindings for glutin") + (description "The egl bindings for glutin.") + (license license:asl2.0))) + (define-public rust-glutin-egl-sys-0.4 (package + (inherit rust-glutin-egl-sys-0.6) (name "rust-glutin-egl-sys") (version "0.4.0") (source @@ -1558,15 +1579,10 @@ EUI-64, also known as MAC-48 media access control addresses.") (sha256 (base32 "0z9nm3d6qcgqg7f6qkbnsfs4cy90d8raw09inf2qc564nnmz1ap5")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-windows-sys" ,rust-windows-sys-0.45)))) - (home-page "https://github.com/rust-windowing/glutin") - (synopsis "Egl bindings for glutin") - (description "The egl bindings for glutin.") - (license license:asl2.0))) + ("rust-windows-sys" ,rust-windows-sys-0.45)))))) (define-public rust-glutin-egl-sys-0.1 (package |