Subject: [PATCH v4 22/47] gnu: Add rust-gstreamer-pbutils-0.15.

From: Leo Prikler <[email-masked]>
Date: Thu, 11 Mar 2021 23:07:31 +0100

* gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-0.15): New variable.
---
 gnu/packages/crates-gtk.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 044de7671e..61dc047ac4 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1171,6 +1171,43 @@ GStreamer.")
     (description "This package provides FFI bindings to libgstbase-1.0.")
     (license license:expat)))
 
+(define-public rust-gstreamer-pbutils-0.15
+  (package
+    (name "rust-gstreamer-pbutils")
+    (version "0.15.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "gstreamer-pbutils" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1q8hv8i41mwhr84ydwlv7qspf49s5i7pz3lnjwl0l9gyp2anq97d"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-bitflags" ,rust-bitflags-1)
+         ("rust-glib" ,rust-glib-0.9)
+         ("rust-glib-sys" ,rust-glib-sys-0.9)
+         ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+         ("rust-gstreamer" ,rust-gstreamer-0.15)
+         ("rust-gstreamer-pbutils-sys"
+          ,rust-gstreamer-pbutils-sys-0.8)
+         ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8)
+         ("rust-libc" ,rust-libc-0.2)
+         ("rust-rustdoc-stripper"
+          ,rust-rustdoc-stripper-0.1))))
+    (inputs
+     `(("glib" ,glib)
+       ("gstreamer" ,gstreamer)
+       ("gst-plugins-base" ,gst-plugins-base)))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "Rust bindings for GStreamer base utils")
+    (description "This package provides Rust bindings for the pb_utils library
+of GStreamer.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-pbutils-sys-0.8
   (package
     (name "rust-gstreamer-pbutils-sys")
-- 
2.30.1