summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-29 23:46:02 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-31 09:50:45 +0100
commit36e8952f086b694654e3015cc7cd5a3ecdf43c1f (patch)
treedd41ab6aba75b13a2f960641ff6abc508261451d
parentecd46aeafc325b3d98b9fc44a655824a050bab3f (diff)
gnu: Add rust-copypasta-0.7.
* gnu/packages/crates-io.scm (rust-copypasta-0.7): New variable.
-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 dae719f335..287e2afb04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6874,6 +6874,34 @@ Split from the user_agent crate.")
the standard library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-copypasta-0.7
+ (package
+ (name "rust-copypasta")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "copypasta" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02zz6yndszmzr5yjhn11g1hsj0232jbzl8gch6mxksw3xngxf8s4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-clipboard-win" ,rust-clipboard-win-3)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-objc-foundation" ,rust-objc-foundation-0.1)
+ ("rust-objc-id" ,rust-objc-id-0.1)
+ ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.6)
+ ("rust-x11-clipboard" ,rust-x11-clipboard-0.5))))
+ (home-page "https://github.com/alacritty/copypasta")
+ (synopsis "Get and set the contents of the OS-level clipboard")
+ (description
+ "Copypasta 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-cordic-0.1
(package
(name "rust-cordic")