gnu: Add rust-glib-0.10.
* gnu/packages/crates-gtk.scm (rust-glib-0.10): New variable. (rust-glib-0.8): inherit from the above.master
parent
0b1e39bb78
commit
aca8767a3b
|
@ -333,8 +333,43 @@
|
||||||
(description "File format checker in Rust.")
|
(description "File format checker in Rust.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-glib-0.10
|
||||||
|
(package
|
||||||
|
(name "rust-glib")
|
||||||
|
(version "0.10.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "glib" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1ifh56nhvhcrssxqkad876qqrlnl16q6b8ap3f7ncpjinw9m0s0c"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
|
("rust-futures-channel" ,rust-futures-channel-0.3)
|
||||||
|
("rust-futures-core" ,rust-futures-core-0.3)
|
||||||
|
("rust-futures-executor" ,rust-futures-executor-0.3)
|
||||||
|
("rust-futures-preview" ,rust-futures-preview-0.3)
|
||||||
|
("rust-futures-task" ,rust-futures-task-0.3)
|
||||||
|
("rust-futures-util" ,rust-futures-util-0.3)
|
||||||
|
("rust-glib-macros" ,rust-glib-macros-0.10)
|
||||||
|
("rust-glib-sys" ,rust-glib-sys-0.10)
|
||||||
|
("rust-gobject-sys" ,rust-gobject-sys-0.10)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-once-cell" ,rust-once-cell-1))))
|
||||||
|
(inputs
|
||||||
|
`(("glib" ,glib)))
|
||||||
|
(home-page "http://gtk-rs.org/")
|
||||||
|
(synopsis "Rust bindings for the GLib library")
|
||||||
|
(description "Rust bindings for the GLib library")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-glib-0.9
|
(define-public rust-glib-0.9
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-glib-0.10)
|
||||||
(name "rust-glib")
|
(name "rust-glib")
|
||||||
(version "0.9.3")
|
(version "0.9.3")
|
||||||
(source
|
(source
|
||||||
|
@ -346,7 +381,6 @@
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1h3100mf7kdfxibjz5na0sqzbd2mcsyd8pzivn3666w414x5gys0"))))
|
"1h3100mf7kdfxibjz5na0sqzbd2mcsyd8pzivn3666w414x5gys0"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-bitflags" ,rust-bitflags-1)
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
|
@ -361,14 +395,7 @@
|
||||||
("rust-lazy-static" ,rust-lazy-static-1)
|
("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
("rust-libc" ,rust-libc-0.2))
|
("rust-libc" ,rust-libc-0.2))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-tempfile" ,rust-tempfile-3))))
|
(("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
(inputs
|
|
||||||
`(("glib" ,glib)))
|
|
||||||
(home-page "https://gtk-rs.org/")
|
|
||||||
(synopsis "Rust bindings for the GLib library")
|
|
||||||
(description
|
|
||||||
"Rust bindings for the GLib library.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-glib-0.8
|
(define-public rust-glib-0.8
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue