mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-wayland-scanner-0.28.
* gnu/packages/crates-graphics.scm (rust-wayland-scanner-0.28): New variable. (rust-wayland-scanner-0.23): Inherit from above.
This commit is contained in:
parent
224358df60
commit
ce42526ff4
1 changed files with 29 additions and 10 deletions
|
@ -2232,8 +2232,36 @@ extensions.")
|
||||||
("rust-wayland-sys" ,rust-wayland-sys-0.21)
|
("rust-wayland-sys" ,rust-wayland-sys-0.21)
|
||||||
("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
|
("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
|
||||||
|
|
||||||
|
(define-public rust-wayland-scanner-0.28
|
||||||
|
(package
|
||||||
|
(name "rust-wayland-scanner")
|
||||||
|
(version "0.28.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "wayland-scanner" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
|
("rust-quote" ,rust-quote-1)
|
||||||
|
("rust-xml-rs" ,rust-xml-rs-0.8))))
|
||||||
|
(home-page "https://github.com/smithay/wayland-rs")
|
||||||
|
(synopsis "Generate Rust APIs from XML Wayland protocol files")
|
||||||
|
(description
|
||||||
|
"Wayland Scanner generates Rust APIs from XML Wayland protocol files.
|
||||||
|
It is intended for use with wayland-sys. You should only need this crate if
|
||||||
|
you are working on custom Wayland protocol extensions. Look at the
|
||||||
|
wayland-client crate for usable bindings.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-wayland-scanner-0.23
|
(define-public rust-wayland-scanner-0.23
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-wayland-scanner-0.28)
|
||||||
(name "rust-wayland-scanner")
|
(name "rust-wayland-scanner")
|
||||||
(version "0.23.6")
|
(version "0.23.6")
|
||||||
(source
|
(source
|
||||||
|
@ -2245,20 +2273,11 @@ extensions.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
|
"0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-proc-macro2" ,rust-proc-macro2-0.4)
|
(("rust-proc-macro2" ,rust-proc-macro2-0.4)
|
||||||
("rust-quote" ,rust-quote-0.6)
|
("rust-quote" ,rust-quote-0.6)
|
||||||
("rust-xml-rs" ,rust-xml-rs-0.8))))
|
("rust-xml-rs" ,rust-xml-rs-0.8))))))
|
||||||
(home-page "https://github.com/smithay/wayland-rs")
|
|
||||||
(synopsis "Generate Rust APIs from XML Wayland protocol files")
|
|
||||||
(description
|
|
||||||
"Wayland Scanner generates Rust APIs from XML Wayland protocol files.
|
|
||||||
It is intended for use with wayland-sys. You should only need this crate if
|
|
||||||
you are working on custom Wayland protocol extensions.
|
|
||||||
Look at the wayland-client crate for usable bindings.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-wayland-scanner-0.21
|
(define-public rust-wayland-scanner-0.21
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue