summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:52:05 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:46 +0200
commit5524e7a3fa43e7cd22152b3090be4682a0ef92e4 (patch)
treed73b5c9fa758381a596ecba0ca97f80b7d3cfbb1
parentcb5cfc2f97c7ba1ba88b929607568290b6f7b9b1 (diff)
gnu: Add rust-cli-clipboard-0.4.
* gnu/packages/crates-io.scm (rust-cli-clipboard-0.4): New variable. Change-Id: Iec24066e9b3f050d9524fbcd8bd8882175ed56e2 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 12681403c7..2f565d3c1b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12319,6 +12319,34 @@ stream of tokens.")
"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
+ `(#:tests? #f ; Not all files included
+ #: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
+ "Library for getting and setting the contents of the OS-level clipboard")
+ (description
+ "@code{cli-clipboard} is a 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")