diff mbox series

[bug#69257,rust-team,v3,60/75] gnu: Add rust-gstreamer-pbutils-0.21.

Message ID 709719a352a61797136041f96776e134890eac06.1714820130.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:35 a.m. UTC
* gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-0.21): Add
variable.
---
 gnu/packages/crates-gtk.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 87f20ab6b1..a7c0ead88d 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2621,6 +2621,39 @@  (define-public rust-gstreamer-base-sys-0.18
        (("rust-shell-words" ,rust-shell-words-1)
         ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-gstreamer-pbutils-0.21
+  (package
+    (name "rust-gstreamer-pbutils")
+    (version "0.21.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-pbutils" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0idr354x9j77q8qrb99r6m6hrpa0z8j97jncqim5m08vhgbij9sb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+        ("rust-serde-json" ,rust-serde-json-1))
+       #:cargo-inputs
+       (("rust-glib" ,rust-glib-0.18)
+        ("rust-gstreamer" ,rust-gstreamer-0.21)
+        ("rust-gstreamer-audio" ,rust-gstreamer-audio-0.21)
+        ("rust-gstreamer-pbutils-sys" ,rust-gstreamer-pbutils-sys-0.21)
+        ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-thiserror" ,rust-thiserror-1))))
+    (native-inputs (list pkg-config))
+    (inputs (list gstreamer gst-plugins-base))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "Rust bindings for GStreamer Base Utils library")
+    (description
+     "This package provides Rust bindings for GStreamer Base Utils library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-pbutils-sys-0.21
   (package
     (name "rust-gstreamer-pbutils-sys")