From patchwork Mon Jan 8 01:54:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilko Meyer X-Patchwork-Id: 58553 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 85BED27BBEA; Mon, 8 Jan 2024 01:58:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8B14927BBE2 for ; Mon, 8 Jan 2024 01:58:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMet0-00009U-H8; Sun, 07 Jan 2024 20:57:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMesv-0008Rx-Jv for guix-patches@gnu.org; Sun, 07 Jan 2024 20:57:01 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMesv-0004oW-2K for guix-patches@gnu.org; Sun, 07 Jan 2024 20:57:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMet0-0000QG-UM for guix-patches@gnu.org; Sun, 07 Jan 2024 20:57:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 149/156] gnu: Add rust-wl-clipboard-rs-0.7. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 01:57:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.17046790211507 (code B ref 68312); Mon, 08 Jan 2024 01:57:06 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 01:57:01 +0000 Received: from localhost ([127.0.0.1]:34575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMesv-0000O3-24 for submit@debbugs.gnu.org; Sun, 07 Jan 2024 20:57:01 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:48646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMerI-0008DR-9k for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 20:55:25 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678914; bh=mXkvqvJvPUlli+fYSwBM6jjojSAjYBTIm44F5sZPKIU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JveqYGJ2llhtkN0i4vBT/2MwL10vxAwdC5wDSYN7UVDZlkVhVEJWmjKgPkABUSDcZ 6aVT6hBHInQUzpXG7Lf5uqtmKwNVP5bD37YmdT/Gw30pJogvVz68aZcb8TcYYzaoN/ 2Xq+qdkEQdiAdj2z9xkRpkIOZACyCJ9u0E41XYNU= Date: Mon, 8 Jan 2024 02:54:06 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-wl-clipboard-rs-0.7): New variable. (rust-wl-clipboard-rs-0.4): Inherit from rust-wl-clipboard-rs-0.7. Change-Id: I13ea96f98b545afbd210336818564aa0d0ab4f0b --- gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e1e15021055..1e95012f5fd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -85219,8 +85219,39 @@ (define-public rust-watchexec-1 modifications.") (license license:asl2.0))) +(define-public rust-wl-clipboard-rs-0.7 + (package + (name "rust-wl-clipboard-rs") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wl-clipboard-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n8sg981h3d08hnnlrsgs81w2qz3n8a5ml0jcsgnapdpzcyk06lq")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.24) + ("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-client" ,rust-wayland-client-0.29) + ("rust-wayland-protocols" ,rust-wayland-protocols-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)))) + (define-public rust-wl-clipboard-rs-0.4 (package + (inherit rust-wl-clipboard-rs-0.7) (name "rust-wl-clipboard-rs") (version "0.4.1") (source @@ -85231,7 +85262,6 @@ (define-public rust-wl-clipboard-rs-0.4 (patches (search-patches "rust-wl-clipboard-rs-newer-wl.patch")) (sha256 (base32 "1252cm67pkrr6ik5ys2cdyfr2zzw6ds7v351i1cmyi94yiv01l13")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -85250,12 +85280,7 @@ (define-public rust-wl-clipboard-rs-0.4 ("rust-tree-magic" ,rust-tree-magic-0.2) ("rust-wayland-client" ,rust-wayland-client-0.28) ("rust-wayland-commons" ,rust-wayland-commons-0.28) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)))) - (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-protocols" ,rust-wayland-protocols-0.28)))))) (define-public rust-web-sys-0.3 (package