From eab9fdef8f21db04a6cbd1cec27f7f6a92c614bc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 14 Mar 2024 12:33:26 +0200 Subject: [PATCH] gnu: Add rust-wl-clipboard-rs-0.8. * gnu/packages/crates-io.scm (rust-wl-clipboard-rs-0.8): New variable. (rust-wl-clipboard-rs-0.7): Inherit from rust-wl-clipboard-rs-0.8. Change-Id: Ie6b2dec5350d629c450ed1493046924304b4829c --- gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a985c2ee0d..f148482d38 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -79116,8 +79116,47 @@ (define-public rust-watchexec-1 modifications.") (license license:asl2.0))) +(define-public rust-wl-clipboard-rs-0.8 + (package + (name "rust-wl-clipboard-rs") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "wl-clipboard-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nwa0bg6jpq5sd8x94xgkj0yk7zcz2m3sg2mm26b35qlj5rigd0j")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Failed to create a server socket. + #:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.28) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tree-magic-mini" ,rust-tree-magic-mini-3) + ("rust-wayland-backend" ,rust-wayland-backend-0.3) + ("rust-wayland-client" ,rust-wayland-client-0.31) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.31) + ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.2)) + #:cargo-development-inputs + (("rust-proptest" ,rust-proptest-1) + ("rust-proptest-derive" ,rust-proptest-derive-0.4) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.31) + ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.2) + ("rust-wayland-server" ,rust-wayland-server-0.31)))) + (home-page "https://github.com/YaLTeR/wl-clipboard-rs") + (synopsis "Access to the Wayland clipboard") + (description "This package provides access to the Wayland clipboard +for terminal and other window-less applications.") + (license (list license:expat license:asl2.0)))) + (define-public rust-wl-clipboard-rs-0.7 (package + (inherit rust-wl-clipboard-rs-0.8) (name "rust-wl-clipboard-rs") (version "0.7.0") (source @@ -79127,7 +79166,6 @@ (define-public rust-wl-clipboard-rs-0.7 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1n8sg981h3d08hnnlrsgs81w2qz3n8a5ml0jcsgnapdpzcyk06lq")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Failed to create a server socket. #:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.5) @@ -79142,12 +79180,7 @@ (define-public rust-wl-clipboard-rs-0.7 ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)) #:cargo-development-inputs (("rust-wayland-protocols" ,rust-wayland-protocols-0.29) - ("rust-wayland-server" ,rust-wayland-server-0.29)))) - (home-page "https://github.com/YaLTeR/wl-clipboard-rs") - (synopsis "Access to the Wayland clipboard") - (description "This package provides access to the Wayland clipboard -for terminal and other window-less applications.") - (license (list license:expat license:asl2.0)))) + ("rust-wayland-server" ,rust-wayland-server-0.29)))))) (define-public rust-wl-clipboard-rs-0.4 (package