guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

27/40: gnu: Add rust-x11rb-0.12.


From: guix-commits
Subject: 27/40: gnu: Add rust-x11rb-0.12.
Date: Sun, 22 Oct 2023 09:40:35 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 62ca7463537a39d4e072de7ed1a9c876a33b8079
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:02:49 2023 +0300

    gnu: Add rust-x11rb-0.12.
    
    * gnu/packages/crates-io.scm (rust-x11rb-0.12): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 465bbac062..a1fa3a2734 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82741,6 +82741,40 @@ non-cryptographic hashing algorithm and random number 
generator.")
      "This package provides a collection of utility functions.")
     (license license:expat)))
 
+(define-public rust-x11rb-0.12
+  (package
+    (name "rust-x11rb")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "x11rb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "02h492k920mb1733cdmly138zfiwkspil6ssqcvi7inyshk1nr5i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t     ; Needs a newer version of rust-polling-2.
+       #:cargo-inputs
+       (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1)
+        ("rust-gethostname" ,rust-gethostname-0.3)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-libloading" ,rust-libloading-0.7)
+        ("rust-nix" ,rust-nix-0.26)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-winapi" ,rust-winapi-0.3)
+        ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1)
+        ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.12))
+       #:cargo-development-inputs
+       (("rust-polling" ,rust-polling-2)
+        ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+    (home-page "https://github.com/psychon/x11rb";)
+    (synopsis "Rust bindings to X11")
+    (description "This package provides Rust bindings to X11.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-x11rb-protocol-0.12
   (package
     (name "rust-x11rb-protocol")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]