gnu: rust-glib-macros: Add 0.15.
* gnu/packages/crates-gtk.scm (rust-glib-macros-0.15): New variable. (rust-glib-macros-0.14): Inherit from it.
This commit is contained in:
parent
633c4ca407
commit
ac393134e5
1 changed files with 30 additions and 5 deletions
|
@ -1080,8 +1080,37 @@
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-tempfile" ,rust-tempfile-3))))))
|
(("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
|
|
||||||
|
(define-public rust-glib-macros-0.15
|
||||||
|
(package
|
||||||
|
(name "rust-glib-macros")
|
||||||
|
(version "0.15.11")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "glib-macros" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0r3cr0c79rs91z0sps089nsf8ppnm8agp48qwwqlkc32lqqq39i5"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(;; XXX: Circular dependency on rust-glib??
|
||||||
|
#:tests? #f
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-anyhow" ,rust-anyhow-1)
|
||||||
|
("rust-heck" ,rust-heck-0.4)
|
||||||
|
("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.14
|
(define-public rust-glib-macros-0.14
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-glib-macros-0.15)
|
||||||
(name "rust-glib-macros")
|
(name "rust-glib-macros")
|
||||||
(version "0.14.1")
|
(version "0.14.1")
|
||||||
(source
|
(source
|
||||||
|
@ -1102,11 +1131,7 @@
|
||||||
("rust-proc-macro-error" ,rust-proc-macro-error-1)
|
("rust-proc-macro-error" ,rust-proc-macro-error-1)
|
||||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
("rust-quote" ,rust-quote-1)
|
("rust-quote" ,rust-quote-1)
|
||||||
("rust-syn" ,rust-syn-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
|
(define-public rust-glib-macros-0.10
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue