me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-wayland-server-0.30.

* gnu/packages/crates-graphics.scm (rust-wayland-server-0.30): New
variable.
(rust-wayland-server-0.29): Inherit from rust-wayland-server-0.30.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Aleksandr Vityazev 2023-10-07 03:02:30 +03:00 committed by Efraim Flashner
parent c6f6f339a5
commit abf5a04825
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 32 additions and 9 deletions

View File

@ -3224,8 +3224,39 @@ wayland-client crate for usable bindings.")
(base32
"17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
(define-public rust-wayland-server-0.30
(package
(name "rust-wayland-server")
(version "0.30.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-server" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0fnjhhcbnwgyplawc02v3b6nkxnhzl2981yiyzzlj7gyjs0c4hww"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-downcast-rs" ,rust-downcast-rs-1)
("rust-io-lifetimes" ,rust-io-lifetimes-1)
("rust-log" ,rust-log-0.4)
("rust-nix" ,rust-nix-0.26)
("rust-wayland-backend" ,rust-wayland-backend-0.1)
("rust-wayland-scanner" ,rust-wayland-scanner-0.30))))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis
"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, server side.")
(license license:expat)))
(define-public rust-wayland-server-0.29
(package
(inherit rust-wayland-server-0.30)
(name "rust-wayland-server")
(version "0.29.5")
(source
@ -3235,7 +3266,6 @@ wayland-client crate for usable bindings.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "11ickjbqpfs19wakf56l3j9asjcfw00d7wj48s3i99yvv1nq8q2k"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@ -3258,14 +3288,7 @@ wayland-client crate for usable bindings.")
rust-scoped-tls-1
rust-wayland-commons-0.29
rust-wayland-scanner-0.29
rust-wayland-sys-0.29))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis
"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, server side.")
(license license:expat)))
rust-wayland-sys-0.29))))
(define-public rust-wayland-server-0.28
(package