guix-commits
[Top][All Lists]
Advanced

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

32/60: gnu: Add rust-wayland-scanner-0.23.


From: guix-commits
Subject: 32/60: gnu: Add rust-wayland-scanner-0.23.
Date: Thu, 27 Feb 2020 14:00:54 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 7d28b64dd9a0591aa86ec0a4f1b0cdb1c57d4700
Author: Valentin Ignatev <address@hidden>
AuthorDate: Sun Feb 2 02:29:35 2020 +0300

    gnu: Add rust-wayland-scanner-0.23.
    
    * gnu/packages/crates-io.scm (rust-wayland-scanner-0.23): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a86e91c..41728bf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19674,6 +19674,35 @@ protocol extensions.  Look at the crate wayland-client 
for usable bindings.")
      "Common types and structures used by wayland-client and wayland-server.")
     (license license:expat)))
 
+(define-public rust-wayland-scanner-0.23
+  (package
+    (name "rust-wayland-scanner")
+    (version "0.23.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wayland-scanner" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+        ("rust-quote" ,rust-quote-0.6)
+        ("rust-xml-rs" ,rust-xml-rs-0.8))))
+    (home-page "https://github.com/smithay/wayland-rs";)
+    (synopsis
+     "Wayland Scanner for generating rust APIs from XML wayland protocol 
files")
+    (description
+     "Wayland Scanner for generating rust APIs from XML wayland protocol files.
+Intented for use with wayland-sys.  You should only need this crate if
+you are working on custom wayland protocol extensions.
+Look at the crate wayland-client for usable bindings.")
+    (license license:expat)))
+
 (define-public rust-web-sys-0.3
   (package
     (name "rust-web-sys")



reply via email to

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