Subject: [PATCH 30/64] gnu: Add rust-gstreamer-base-sys-0.18.

From: Steve George <[email-masked]>
Date: Mon, 23 Oct 2023 23:21:15 +0100

* gnu/packages/crates-io.scm (rust-gstreamer-base-sys-0.18): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5ba39826f1..73d585e413 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30240,6 +30240,33 @@ (define-public rust-groupable-0.2
      "This package aggregates groups of values from key-value iterators.")
     (license license:expat)))
 
+(define-public rust-gstreamer-base-sys-0.18
+  (package
+    (name "rust-gstreamer-base-sys")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-base-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+                       ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("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 gstreamer))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "FFI bindings to libgstbase-1.0")
+    (description "FFI bindings to libgstbase-1.0, part of GStreamer.")
+    (license license:expat)))
+
 (define-public rust-gstreamer-sys-0.18
   (package
     (name "rust-gstreamer-sys")
-- 
2.41.0