aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-15 03:58:11 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-11 22:28:11 +0200
commitd506aabcb871b98247e4535eb6140b0f56955249 (patch)
tree1c83dc4fb88763ff4fab99c00a47b3a8f5b18f7c
parente30c38c227bbce188fa81be61a8aca8bda85f0df (diff)
downloadguix-d506aabcb871b98247e4535eb6140b0f56955249.tar.gz
guix-d506aabcb871b98247e4535eb6140b0f56955249.zip
gnu: Add rust-x11-2.
* gnu/packages/crates-io.scm (rust-x11-2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-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")