From 045cb382dea7d6879747408675d8b817a9a359e0 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Wed, 15 Jan 2020 04:00:58 +0300 Subject: gnu: Add rust-x11-clipboard-0.4. * gnu/packages/crates-io.scm (rust-x11-clipboard-0.4): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 @@ (define-public rust-x11-2 (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") -- cgit v1.2.3