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

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I88acd208110768adf1c44b681c203bdfe5432211
Diffstat (limited to 'gnu')
-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 7911e9c167..92e4ea9322 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-base-sys-0.18
+  (package
+    (name "rust-gstreamer-base-sys")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-base-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+                       ("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))
+    (home-page "https://gstreamer.freedesktop.org")
+    (synopsis "FFI bindings to libgstbase-1.0")
+    (description "FFI bindings to libgstbase-1.0, part of GStreamer.")
+    (license license:expat)))
+
 (define-public rust-gstreamer-sys-0.18
   (package
     (name "rust-gstreamer-sys")