mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 09:37:03 +01:00
gnu: Add rust-glib-macros-0.19.
* gnu/packages/crates-gtk.scm (rust-glib-macros-0.19): New variable. (rust-glib-macros-0.18): Inherit from rust-glib-macros-0.19. Change-Id: I8dcf545632581ac11550b69a0f169f3fb34a4572
This commit is contained in:
parent
bc65634d52
commit
f53b94bb0e
1 changed files with 30 additions and 8 deletions
|
@ -1796,8 +1796,37 @@ (define-public rust-glib-0.9
|
|||
#:cargo-development-inputs
|
||||
(("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-glib-macros-0.19
|
||||
(package
|
||||
(name "rust-glib-macros")
|
||||
(version "0.19.9")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "glib-macros" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1mzsh8jkg8vldvgvr9gsaidvn2myn5cbdn8a6m8rgbhlg8kv0aa4"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-heck" ,rust-heck-0.5)
|
||||
("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))
|
||||
#:cargo-development-inputs (("rust-glib" ,rust-glib-0.19)
|
||||
("rust-trybuild2" ,rust-trybuild2-1))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list glib))
|
||||
(home-page "https://gtk-rs.org/")
|
||||
(synopsis "Rust bindings for the GLib library, proc macros crate")
|
||||
(description
|
||||
"This package provides Rust bindings for the GLib library, proc macros crate.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-glib-macros-0.18
|
||||
(package
|
||||
(inherit rust-glib-macros-0.19)
|
||||
(name "rust-glib-macros")
|
||||
(version "0.18.5")
|
||||
(source
|
||||
|
@ -1807,7 +1836,6 @@ (define-public rust-glib-macros-0.18
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1p5cla53fcp195zp0hkqpmnn7iwmkdswhy7xh34002bw8y7j5c0b"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-heck" ,rust-heck-0.4)
|
||||
|
@ -1819,13 +1847,7 @@ (define-public rust-glib-macros-0.18
|
|||
#:cargo-development-inputs
|
||||
(("rust-glib" ,rust-glib-0.18)
|
||||
("rust-once-cell" ,rust-once-cell-1)
|
||||
("rust-trybuild2" ,rust-trybuild2-1))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list glib))
|
||||
(home-page "https://gtk-rs.org/")
|
||||
(synopsis "Rust bindings for the GLib library, proc macros crate")
|
||||
(description "Rust bindings for the GLib library, proc macros crate.")
|
||||
(license license:expat)))
|
||||
("rust-trybuild2" ,rust-trybuild2-1))))))
|
||||
|
||||
(define-public rust-glib-macros-0.17
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue