Subject: [bug#44492] [PATCH v3 13/46] gnu: Add rust-gstreamer-0.15.

From: Leo Prikler <[email-masked]>
Date: Sun, 7 Mar 2021 18:34:25 +0100

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

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 41cbe597db..f6e1505ce5 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -998,6 +998,56 @@
 checking library.")
     (license license:gpl3+)))
 
+(define-public rust-gstreamer-0.15
+  (package
+    (name "rust-gstreamer")
+    (version "0.15.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0qx1fhr9ajms0128ixmi2ncr35llwppdb0z7ximw2vnd2jhn91nf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-futures-channel"
+         ,rust-futures-channel-0.3)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-glib" ,rust-glib-0.9)
+        ("rust-glib-sys" ,rust-glib-sys-0.9)
+        ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+        ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-muldiv" ,rust-muldiv-0.2)
+        ("rust-num-rational" ,rust-num-rational-0.2)
+        ("rust-paste" ,rust-paste-0.1)
+        ("rust-rustdoc-stripper"
+         ,rust-rustdoc-stripper-0.1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+        ("rust-serde-derive" ,rust-serde-derive-1))
+       #:cargo-development-inputs
+       (("rust-futures-executor"
+         ,rust-futures-executor-0.3)
+        ("rust-ron" ,rust-ron-0.5)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (inputs
+     `(("glib" ,glib)
+       ("gstreamer" ,gstreamer)
+       ("gst-plugins-base" ,gst-plugins-base)))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "Rust bindings for GStreamer")
+    (description "This package provides Rust bindings for GStreamer.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-sys-0.8
   (package
     (name "rust-gstreamer-sys")
-- 
2.30.1