From f344625d110a202e572f454b3668c61e02bf2286 Mon Sep 17 00:00:00 2001 From: Aleksandr Vityazev Date: Fri, 21 Jan 2022 23:45:14 +0100 Subject: gnu: Add rust-soup-sys-0.10. * gnu/packages/crates-gtk.scm (rust-soup-sys-0.10): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-gtk.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index d46e21affc..78503c7c36 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -28,6 +28,7 @@ #: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 @@ library.") (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))) -- cgit 1.4.1