From c957d8407ede16e0234d9c1c85b01657b9b19303 Mon Sep 17 00:00:00 2001 From: Herman Rimm Date: Tue, 30 Jan 2024 16:25:07 +0100 Subject: gnu: Add rust-wayrs-scanner-0.13. * gnu/packages/crates-io.scm (rust-wayrs-scanner-0.13): Add variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-graphics.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 772b7b860e..8597aba300 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -4948,6 +4948,30 @@ crate @code{rust-wayland-client} for usable bindings.") xml files.") (license license:expat))) +(define-public rust-wayrs-scanner-0.13 + (package + (name "rust-wayrs-scanner") + (version "0.13.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayrs-scanner" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07xzg36rnnsb4z4rd82r2mk3y05vg1ssfwrry2kd4yz395sx91z3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-wayrs-proto-parser" ,rust-wayrs-proto-parser-2)))) + (home-page "https://github.com/MaxVerevkin/wayrs") + (synopsis "Generates code for wayrs-client from xml files") + (description "This package provides code generation for wayrs-client +from xml files.") + (license license:expat))) + (define-public rust-webp-0.2 (package (name "rust-webp") -- cgit v1.2.3