mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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 @@
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-tempfile" ,rust-tempfile-3))))))
|
(("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
|
(define-public rust-glib-macros-0.18
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-glib-macros-0.19)
|
||||||
(name "rust-glib-macros")
|
(name "rust-glib-macros")
|
||||||
(version "0.18.5")
|
(version "0.18.5")
|
||||||
(source
|
(source
|
||||||
|
@ -1807,7 +1836,6 @@
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1p5cla53fcp195zp0hkqpmnn7iwmkdswhy7xh34002bw8y7j5c0b"))))
|
(base32 "1p5cla53fcp195zp0hkqpmnn7iwmkdswhy7xh34002bw8y7j5c0b"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-heck" ,rust-heck-0.4)
|
(("rust-heck" ,rust-heck-0.4)
|
||||||
|
@ -1819,13 +1847,7 @@
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-glib" ,rust-glib-0.18)
|
(("rust-glib" ,rust-glib-0.18)
|
||||||
("rust-once-cell" ,rust-once-cell-1)
|
("rust-once-cell" ,rust-once-cell-1)
|
||||||
("rust-trybuild2" ,rust-trybuild2-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)))
|
|
||||||
|
|
||||||
(define-public rust-glib-macros-0.17
|
(define-public rust-glib-macros-0.17
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue