diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 11:15:43 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:13 +0200 |
commit | 48d2afb377a9beb8f0d8b59aef11dd9ac36339d3 (patch) | |
tree | 9aaca10b529a254a06ecb7319200c93254119657 /gnu/packages | |
parent | c402d1035856f85a00e714c70db839888ad17112 (diff) | |
download | guix-48d2afb377a9beb8f0d8b59aef11dd9ac36339d3.tar.gz |
gnu: Add rust-wayland-backend-0.3.
* gnu/packages/crates-graphics.scm (rust-wayland-backend-0.3): New variable. (rust-wayland-backend-0.1): Inherit from rust-wayland-backend-0.3. Change-Id: I76efa4110b7eeaec2da8f7d5c78a7fed2d6ed6fd
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index c63c5603f2..32ee3bf90c 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -3326,8 +3326,39 @@ applications.") ("rust-num-derive" ,rust-num-derive-0.2) ("rust-num-traits" ,rust-num-traits-0.2)))))) +(define-public rust-wayland-backend-0.3 + (package + (name "rust-wayland-backend") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-backend" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r7vz56z6ixfbljraxl4q59g43jfb6i9qkaksi704pzlfgfjs58r")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `wayland_scanner` + #:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-downcast-rs" ,rust-downcast-rs-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.26) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-scoped-tls" ,rust-scoped-tls-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-wayland-sys" ,rust-wayland-sys-0.31)) + #:cargo-development-inputs (("rust-concat-idents" ,rust-concat-idents-1) + ("rust-env-logger" ,rust-env-logger-0.10)))) + (home-page "https://github.com/smithay/wayland-rs") + (synopsis "Low-level bindings to the Wayland protocol") + (description "This package provides low-level bindings to the Wayland +protocol.") + (license license:expat))) + (define-public rust-wayland-backend-0.1 (package + (inherit rust-wayland-backend-0.3) (name "rust-wayland-backend") (version "0.1.2") (source @@ -3337,7 +3368,6 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1n1yi6vna23wfkrpk1j46sx5qbsijh50viha4sra73by8lkqxd21")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Use of undeclared dependencies #:cargo-inputs @@ -3352,12 +3382,7 @@ applications.") ("rust-wayland-sys" ,rust-wayland-sys-0.30)) #:cargo-development-inputs (("rust-concat-idents" ,rust-concat-idents-1) - ("rust-env-logger" ,rust-env-logger-0.10)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Backend API for wayland crates") - (description "This package provides low-level bindings to the Wayland -protocol.") - (license license:expat))) + ("rust-env-logger" ,rust-env-logger-0.10)))))) (define-public rust-wayland-client-0.30 (package |