me
/
guix
Archived
1
0
Fork 0

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
Nicolas Goaziou 2020-12-04 16:09:35 +01:00
parent 0b1e39bb78
commit aca8767a3b
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 36 additions and 9 deletions

View File

@ -333,8 +333,43 @@
(description "File format checker in Rust.")
(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
(package
(inherit rust-glib-0.10)
(name "rust-glib")
(version "0.9.3")
(source
@ -346,7 +381,6 @@
(sha256
(base32
"1h3100mf7kdfxibjz5na0sqzbd2mcsyd8pzivn3666w414x5gys0"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@ -361,14 +395,7 @@
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
(("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)))
(("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-glib-0.8
(package