summary refs log tree commit diff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:17 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:43 +0300
commit93d45b8a0747d247fcb7e5dfef4417d0d5b0a26a (patch)
tree2ce03acad5bc8cb57898fb9d62c5bac2e71b80b8 /gnu/packages/crates-gtk.scm
parentb39e6508b794e2c287dc86fba9830796b754db93 (diff)
downloadguix-93d45b8a0747d247fcb7e5dfef4417d0d5b0a26a.tar.gz
gnu: Add rust-gstreamer-app-sys-0.18.
* gnu/packages/crates-gtk.scm (rust-gstreamer-app-sys-0.18): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I65b08059a273efa35e6e8c5ad9fd7d1e0eaee79b
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 41233ab1d5..afa8c33f3d 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1755,6 +1755,33 @@
     (description "Rust bindings for GStreamer.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gstreamer-app-sys-0.18
+  (package
+    (name "rust-gstreamer-app-sys")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-app-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1fsgdb3b23s45xc7s06xw96x7avza0jpyj02x1fkw6vk3pr03d63"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+                       ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+                       ("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 gst-plugins-base))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "FFI bindings to libgstapp-1.0")
+    (description "FFI bindings to libgstapp-1.0, part of Gstreamer.")
+    (license license:expat)))
+
 (define-public rust-gstreamer-base-0.18
   (package
     (name "rust-gstreamer-base")