guix-commits
[Top][All Lists]
Advanced

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

404/475: gnu: Add rust-x11rb-protocol-0.10.


From: guix-commits
Subject: 404/475: gnu: Add rust-x11rb-protocol-0.10.
Date: Sun, 7 May 2023 12:48:25 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit b5f6ad81fed3dcf7884fc764c4f6d4f1071cfe22
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 23 17:55:03 2023 +0300

    gnu: Add rust-x11rb-protocol-0.10.
    
    * gnu/packages/crates-graphics.scm (rust-x11rb-protocol-0.10): New
    variable.
---
 gnu/packages/crates-graphics.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 638069d624..2904a080cb 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3632,6 +3632,29 @@ the platform-specific getters provided by winit, or 
another library.")
          ("rust-winapi" ,rust-winapi-0.3)
          ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1))))))
 
+(define-public rust-x11rb-protocol-0.10
+  (package
+    (name "rust-x11rb-protocol")
+    (version "0.10.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "x11rb-protocol" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0rxcpsmgrziwqy9ml81h8r1lwy422h1i5j3d007dpj8a3islbcjn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-nix" ,rust-nix-0.24)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3))))
+    (home-page "https://github.com/psychon/x11rb";)
+    (synopsis "Rust bindings to X11")
+    (description "Rust bindings to X11")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-x11-clipboard-0.7
   (package
     (name "rust-x11-clipboard")



reply via email to

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