summary refs log tree commit diff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-15 04:00:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-12 20:56:50 +0200
commit045cb382dea7d6879747408675d8b817a9a359e0 (patch)
treee305f39d0918dfe56d7573e9e04060ea91b98646
parent403d9fae791bd22b4e2da5e90ad273755de26dc5 (diff)
downloadguix-045cb382dea7d6879747408675d8b817a9a359e0.tar.gz
gnu: Add rust-x11-clipboard-0.4.
* gnu/packages/crates-io.scm (rust-x11-clipboard-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 788840ac6f..6e003860be 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15190,6 +15190,30 @@ color in a Windows console.")
     (description "X11 library bindings for Rust.")
     (license license:cc0)))
 
+(define-public rust-x11-clipboard-0.4
+  (package
+    (name "rust-x11-clipboard")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "x11-clipboard" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f  ; Tests require display server.
+       #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
+    (native-inputs
+     `(("python" ,python)))
+    (home-page "https://github.com/quininer/x11-clipboard")
+    (synopsis "x11 clipboard support for Rust")
+    (description "This package provides x11 clipboard support for Rust.")
+    (license license:expat)))
+
 (define-public rust-xattr-0.2
   (package
     (name "rust-xattr")