summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6c660f9fb..0d160f5f3d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15165,6 +15165,29 @@ color in a Windows console.")
"Contains function definitions for the Windows API library ws2_32.")
(license license:expat)))
+(define-public rust-x11-2
+ (package
+ (name "rust-x11")
+ (version "2.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x11" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0dg2d0yrqmwg6prpxkw3vpmwzwxnaki2cn0v64ylh5gp4cqpws9r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (home-page "https://github.com/erlepereira/x11-rs.git")
+ (synopsis "X11 library bindings for Rust")
+ (description "X11 library bindings for Rust.")
+ (license license:cc0)))
+
(define-public rust-xattr-0.2
(package
(name "rust-xattr")