mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add rust-soup-sys-0.10.
* gnu/packages/crates-gtk.scm (rust-soup-sys-0.10): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
63cbc8e7d1
commit
f344625d11
1 changed files with 35 additions and 0 deletions
|
@ -28,6 +28,7 @@ (define-module (gnu packages crates-gtk)
|
|||
#:use-module (gnu packages crates-io)
|
||||
#:use-module (gnu packages crates-graphics)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages pkg-config))
|
||||
|
||||
|
@ -1757,3 +1758,37 @@ (define-public rust-pangocairo-sys-0.10
|
|||
(synopsis "FFI bindings to libgtk-3")
|
||||
(description "This package provides FFI bindings to libgtk-3.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-soup-sys-0.10
|
||||
(package
|
||||
(name "rust-soup-sys")
|
||||
(version "0.10.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "soup-sys" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0gm1b1dj6z3l94sklw6jvqblhik8i8gz2mgrf6xhnqv5hpqaviy3"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;tests FAILED
|
||||
#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
("rust-gio-sys" ,rust-gio-sys-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-pkg-config" ,rust-pkg-config-0.3)
|
||||
("rust-system-deps" ,rust-system-deps-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-shell-words" ,rust-shell-words-0.1)
|
||||
("rust-tempfile" ,rust-tempfile-3))))
|
||||
(native-inputs
|
||||
(list pkg-config))
|
||||
(inputs
|
||||
(list glib libsoup-minimal-2))
|
||||
(home-page "https://github.com/gtk-rs/soup-sys-rs")
|
||||
(synopsis "Soup FFI crate for Rust")
|
||||
(description "This crate provides Soup FFI for Rust.")
|
||||
(license license:expat)))
|
||||
|
|
Loading…
Reference in a new issue