diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-04-23 16:43:53 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:35 +0300 |
commit | f46dabb185e339241f1acf66909233cb7c28fd20 (patch) | |
tree | 5aa6bcbbc63e29e1a70417de25a16c0e3bb8acb2 /gnu/packages/crates-graphics.scm | |
parent | 73c97a0a7719971f03802cbf1ccac9f13e306e5b (diff) | |
download | guix-f46dabb185e339241f1acf66909233cb7c28fd20.tar.gz guix-f46dabb185e339241f1acf66909233cb7c28fd20.zip |
gnu: Add rust-smithay-client-toolkit-0.16.
* gnu/packages/crates-graphics.scm (rust-smithay-client-toolkit-0.16):
New variable.
[rust-smithay-client-toolkit-0.15]: Inherit from
rust-smithay-client-toolkit-0.16.
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 41 |
1 files changed, 34 insertions, 7 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index d42843a43d..cee768e035 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -2239,8 +2239,41 @@ implements standard Rust traits to make `RGB`/`RGBA` pixels and slices first-class Rust objects.") (license license:expat))) +(define-public rust-smithay-client-toolkit-0.16 + (package + (name "rust-smithay-client-toolkit") + (version "0.16.0") + (source (origin + (method url-fetch) + (uri (crate-uri "smithay-client-toolkit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0m7l0zhl9s3321yj8z6hf1g0w3l2ay85irgcw2r5wwfj69yw81zk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-calloop" ,rust-calloop-0.10) + ("rust-dlib" ,rust-dlib-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-memmap2" ,rust-memmap2-0.5) + ("rust-nix" ,rust-nix-0.24) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-wayland-client" ,rust-wayland-client-0.29) + ("rust-wayland-cursor" ,rust-wayland-cursor-0.29) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)) + #:cargo-development-inputs (("rust-image" ,rust-image-0.24)))) + (home-page "https://github.com/smithay/client-toolkit") + (synopsis "Toolkit for making client Wayland applications") + (description + "This package provides a toolkit for making client Wayland applications.") + (license license:expat))) + (define-public rust-smithay-client-toolkit-0.15 (package + (inherit rust-smithay-client-toolkit-0.16) (name "rust-smithay-client-toolkit") (version "0.15.4") (source @@ -2250,7 +2283,6 @@ first-class Rust objects.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "18wxla80y6m4l3dwawi7bl1d9m9dfcg4sxxjcgjqq3psjxmg2a4a")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -2264,12 +2296,7 @@ first-class Rust objects.") ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-wayland-client" ,rust-wayland-client-0.29) ("rust-wayland-cursor" ,rust-wayland-cursor-0.29) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)))) - (home-page "https://github.com/smithay/client-toolkit") - (synopsis "Toolkit for making client Wayland applications") - (description - "This package provides a toolkit for making client Wayland applications.") - (license license:expat))) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)))))) (define-public rust-smithay-client-toolkit-0.12 (package |