gnu: Add rust-wayland-client-0.28.

* gnu/packages/crates-graphics.scm (rust-wayland-client-0.28): New variable.
(rust-wayland-client-0.23): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-01-29 23:33:59 +01:00
parent 318c2db0c9
commit b3de00f574
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1979,8 +1979,40 @@ (define-public rust-tiff-0.2
("rust-num-derive" ,rust-num-derive-0.2)
("rust-num-traits" ,rust-num-traits-0.2))))))
(define-public rust-wayland-client-0.28
(package
(name "rust-wayland-client")
(version "0.28.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-client" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mxnflzv9s3qpcp0z7kqvrzki5bknfar9n9yky06f8ivs00vxgdx"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-downcast-rs" ,rust-downcast-rs-1)
("rust-libc" ,rust-libc-0.2)
("rust-nix" ,rust-nix-0.18)
("rust-scoped-tls" ,rust-scoped-tls-1)
("rust-wayland-commons" ,rust-wayland-commons-0.28)
("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
("rust-wayland-sys" ,rust-wayland-sys-0.28))))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis
"Rust bindings to the standard C implementation of the wayland protocol")
(description
"This package provides Rust bindings to the standard C implementation of
the wayland protocol, client side.")
(license license:expat)))
(define-public rust-wayland-client-0.23
(package
(inherit rust-wayland-client-0.28)
(name "rust-wayland-client")
(version "0.23.6")
(source
@ -1992,7 +2024,6 @@ (define-public rust-wayland-client-0.23
(sha256
(base32
"1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@ -2006,14 +2037,7 @@ (define-public rust-wayland-client-0.23
("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
#:cargo-development-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis
"Rust bindings to the standard C implementation of the wayland protocol")
(description
"This package provides Rust bindings to the standard C implementation of
the wayland protocol, client side.")
(license license:expat)))
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-wayland-client-0.21
(package