gnu: Add rust-glib-macros-0.14.
* gnu/packages/crates-gtk.scm (rust-glib-macros-0.14): New variable. (rust-glib-macros-0.10): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
parent
b1ea612d7f
commit
6a54d63916
|
@ -749,8 +749,37 @@
|
|||
#:cargo-development-inputs
|
||||
(("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-glib-macros-0.14
|
||||
(package
|
||||
(name "rust-glib-macros")
|
||||
(version "0.14.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "glib-macros" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0675i7m7pksg4cd9kfpzjnw0x5r3y4gcac7mfgy6nyb63wv6db9a"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build?
|
||||
#t
|
||||
#:cargo-inputs
|
||||
(("rust-anyhow" ,rust-anyhow-1)
|
||||
("rust-heck" ,rust-heck-0.3)
|
||||
("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
|
||||
("rust-proc-macro-error" ,rust-proc-macro-error-1)
|
||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-1))))
|
||||
(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)))
|
||||
|
||||
(define-public rust-glib-macros-0.10
|
||||
(package
|
||||
(inherit rust-glib-macros-0.14)
|
||||
(name "rust-glib-macros")
|
||||
(version "0.10.1")
|
||||
(source
|
||||
|
@ -760,7 +789,6 @@
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0fa00s6gnj3hgri9z926199jidczlmjr1db0n4r80sins4k6lj21"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
|
@ -771,11 +799,7 @@
|
|||
("rust-proc-macro-error" ,rust-proc-macro-error-1)
|
||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-1))))
|
||||
(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-syn" ,rust-syn-1))))))
|
||||
|
||||
(define-public rust-glib-sys-0.10
|
||||
(package
|
||||
|
|
Reference in New Issue