guix-commits
[Top][All Lists]
Advanced

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

26/40: gnu: Add rust-x11rb-protocol-0.12.


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

efraim pushed a commit to branch master
in repository guix.

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

    gnu: Add rust-x11rb-protocol-0.12.
    
    * gnu/packages/crates-io.scm (rust-x11rb-protocol-0.12): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 20159f41c5..465bbac062 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82741,6 +82741,30 @@ non-cryptographic hashing algorithm and random number 
generator.")
      "This package provides a collection of utility functions.")
     (license license:expat)))
 
+(define-public rust-x11rb-protocol-0.12
+  (package
+    (name "rust-x11rb-protocol")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "x11rb-protocol" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1g24qdvq0mbyl2npz7zqy5v6hpdxq2qakkpnp3x02rzvl3ww7ml2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-nix" ,rust-nix-0.26)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.4))))
+    (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-x25519-dalek-1
   (package
     (name "rust-x25519-dalek")



reply via email to

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