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:
Aleksandr Vityazev 2022-01-21 23:45:14 +01:00 committed by Nicolas Goaziou
parent 63cbc8e7d1
commit f344625d11
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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)))