diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 11:21:54 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:13 +0200 |
commit | 74b0e79ee72ffa67d41cc93a70983ebefcc423dc (patch) | |
tree | 0b05243caba396b5cdf5939eb39924611576cf71 /gnu/packages/crates-graphics.scm | |
parent | 7e44968fe3155e8aef2db06b816f07f376378b3a (diff) | |
download | guix-74b0e79ee72ffa67d41cc93a70983ebefcc423dc.tar.gz guix-74b0e79ee72ffa67d41cc93a70983ebefcc423dc.zip |
gnu: Add rust-wayland-server-0.31.
* gnu/packages/crates-graphics.scm (rust-wayland-server-0.31): New
variable.
(rust-wayland-server-0.30): Inherit from rust-wayland-server-0.31.
Change-Id: I77144c46a7a85804650a06ef8822a55a41973696
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 39 |
1 files changed, 30 insertions, 9 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 08037cd22c..ca7f85b4ca 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -4166,8 +4166,37 @@ wayland-client crate for usable bindings.") (base32 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z")))))) +(define-public rust-wayland-server-0.31 + (package + (name "rust-wayland-server") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kmiii32hi7h3r9q923q628rrbglkjkg362c32hnr4s5li90qgrz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-downcast-rs" ,rust-downcast-rs-1) + ("rust-io-lifetimes" ,rust-io-lifetimes-2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.26) + ("rust-wayland-backend" ,rust-wayland-backend-0.3) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)))) + (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.30 (package + (inherit rust-wayland-server-0.31) (name "rust-wayland-server") (version "0.30.1") (source @@ -4178,7 +4207,6 @@ wayland-client crate for usable bindings.") (sha256 (base32 "0fnjhhcbnwgyplawc02v3b6nkxnhzl2981yiyzzlj7gyjs0c4hww")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -4187,14 +4215,7 @@ wayland-client crate for usable bindings.") ("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))) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.30)))))) (define-public rust-wayland-server-0.29 (package |