Subject: [PATCH 028/156] gnu: Add rust-clipboard-0.4.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:52:05 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f20d11808cc..d6b6866900b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12719,6 +12719,34 @@ (define-public rust-clearscreen-1
      "This crate provides cross-platform terminal screen clearing.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-cli-clipboard-0.4
+  (package
+    (name "rust-cli-clipboard")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cli-clipboard" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0g9y1w3ln5wn202mwxwhsilhifwww2p34fan99w5k8ia98fpq204"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-4)
+                       ("rust-objc" ,rust-objc-0.2)
+                       ("rust-objc-foundation" ,rust-objc-foundation-0.1)
+                       ("rust-objc-id" ,rust-objc-id-0.1)
+                       ("rust-wl-clipboard-rs" ,rust-wl-clipboard-rs-0.7)
+                       ("rust-x11-clipboard" ,rust-x11-clipboard-0.7))))
+    (home-page "https://github.com/actuallyallie/cli-clipboard")
+    (synopsis
+     "cli-clipboard is a cross-platform library for getting and setting the contents of the OS-level clipboard.")
+    (description
+     "cli-clipboard is a cross-platform library for getting and setting the contents
+of the OS-level clipboard.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-clicolors-control-1
   (package
     (name "rust-clicolors-control")
-- 
2.41.0