diff options
author | Aleksandr Vityazev <avityazev@posteo.org> | 2022-01-21 23:45:14 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-22 13:10:04 +0100 |
commit | f344625d110a202e572f454b3668c61e02bf2286 (patch) | |
tree | ddd9182fc3554ddaf4e1405a1963eaa743ccb64f | |
parent | 63cbc8e7d19592a44435676632928e612188e4fb (diff) | |
download | guix-f344625d110a202e572f454b3668c61e02bf2286.tar.gz |
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>
-rw-r--r-- | gnu/packages/crates-gtk.scm | 35 |
1 files changed, 35 insertions, 0 deletions
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))) |