From 25d492f2e53bde8b1a14b43999d8ecd97d1a999f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Pastor=20P=C3=A9rez?= Date: Tue, 28 Nov 2023 22:11:48 +0100 Subject: [PATCH] gnu: Add rust-graphene-sys-0.18. * gnu/packages/crates-gtk.scm (rust-graphene-sys-0.18): New variable. Change-Id: I90fd74b62dc291454b47a606129bfd75508ff994 Signed-off-by: Efraim Flashner --- gnu/packages/crates-gtk.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index f7ecf92381..b0110886cf 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1910,6 +1910,32 @@ (define-public rust-gobject-sys-0.9 (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-graphene-sys-0.18 + (package + (name "rust-graphene-sys") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphene-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n8zlg7z26lwpnvlqp1hjlgrs671skqwagdpm7r8i1zwx3748hfc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib graphene)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libgraphene-1.0") + (description "FFI bindings to libgraphene-1.0.") + (license license:expat))) + (define-public rust-gstreamer-0.18 (package (name "rust-gstreamer")