Subject: [bug#67515] [PATCH 53/91] gnu: Add rust-terminal-clipboard-0.3.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:31 +0100

* gnu/packages/crates-io.scm (rust-terminal-clipboard-0.3): New variable.

Change-Id: I251cd479072c80200da797c93082c0e4381391f7
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72cc4fcfd7..b2ac3b8784 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73485,6 +73485,29 @@ (define-public rust-termimad-0.20
     (description "Markdown Renderer for the Terminal.")
     (license license:expat)))
 
+(define-public rust-terminal-clipboard-0.3
+  (package
+    (name "rust-terminal-clipboard")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "terminal-clipboard" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pyiwysh3ibq3gfq86gri3kjyhy5qd5pfbnkqxri28p9506bv9sq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-4)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-termux-clipboard" ,rust-termux-clipboard-0.1)
+                       ("rust-x11-clipboard" ,rust-x11-clipboard-0.5.3))))
+    (inputs (list libxcb))
+    (home-page "https://github.com/Canop/terminal-clipboard")
+    (synopsis "a minimal cross-platform clipboard")
+    (description "a minimal cross-platform clipboard")
+    (license license:expat)))
+
 (define-public rust-terminal-size-0.2
   (package
     (name "rust-terminal-size")
-- 
2.41.0