diff mbox series

[bug#74233,PATCHv2,rust-team,12/40] gnu: Add rust-gstreamer-check-0.21.

Message ID d951f9df4a99b7a91baa5914ef25e9f822bc8070.1731018145.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74233,PATCHv2,rust-team,01/40] gnu: Add rust-search-provider-0.8. | expand

Commit Message

Giacomo Leidi Nov. 7, 2024, 10:21 p.m. UTC
* gnu/packages/crates-gtk.scm (rust-gstreamer-check-0.21): New variable.

Change-Id: Ifac9fd04ab3116a47d9acc4156810ca8b4c97d8b
---
 gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 069e12a038..4244324298 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3074,6 +3074,31 @@  (define-public rust-gstreamer-base-sys-0.18
        #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
                                    ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-gstreamer-check-0.21
+  (package
+    (name "rust-gstreamer-check")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-check" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1sf4jiykz4mc45ydlszggfn2ly9liqgvam1cmiiyxz9l58pascj2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-glib" ,rust-glib-0.20)
+                       ("rust-gstreamer" ,rust-gstreamer-0.21)
+                       ("rust-gstreamer-check-sys" ,rust-gstreamer-check-sys-0.21))
+       #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+    (native-inputs (list pkg-config))
+    (inputs (list glib gstreamer))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "Rust bindings for GStreamer Check library")
+    (description
+     "This package provides Rust bindings for GStreamer Check library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-check-sys-0.21
   (package
     (name "rust-gstreamer-check-sys")