gnu: Add rust-glutin-glx-sys-0.4.

* gnu/packages/crates-graphics.scm (rust-glutin-glx-sys-0.4): New
variable.
(rust-glutin-glx-sys-0.1): Inherit from rust-glutin-glx-sys-0.4.
This commit is contained in:
Efraim Flashner 2023-04-24 16:12:26 +03:00
parent 7aa4846546
commit 96d6b17a3e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1272,8 +1272,30 @@ (define-public rust-glutin-gles2-sys-0.1
(description "This package provides gles2 bindings for glutin.") (description "This package provides gles2 bindings for glutin.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public rust-glutin-glx-sys-0.4
(package
(name "rust-glutin-glx-sys")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin_glx_sys" version))
(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)))
(define-public rust-glutin-glx-sys-0.1 (define-public rust-glutin-glx-sys-0.1
(package (package
(inherit rust-glutin-glx-sys-0.4)
(name "rust-glutin-glx-sys") (name "rust-glutin-glx-sys")
(version "0.1.7") (version "0.1.7")
(source (source
@ -1283,16 +1305,11 @@ (define-public rust-glutin-glx-sys-0.1
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby")))) (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-gl-generator" ,rust-gl-generator-0.14) (("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-x11-dl" ,rust-x11-dl-2)))) ("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)))
(define-public rust-glutin-wgl-sys-0.4 (define-public rust-glutin-wgl-sys-0.4
(package (package