gnu: Add rust-gstreamer-sys-0.18.

* gnu/packages/crates-gtk.scm (rust-gstreamer-sys-0.18): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I33d08fa61935da9bdb9f4208f5e5b834f1b5f718
This commit is contained in:
Steve George 2023-10-23 23:21:13 +01:00 committed by Efraim Flashner
parent 069a5577e5
commit 3a0b15b829
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3,6 +3,7 @@
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -29,6 +30,7 @@ (define-module (gnu packages crates-gtk)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages webkit))
@ -1709,6 +1711,33 @@ (define-public rust-gobject-sys-0.9
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gstreamer-sys-0.18
(package
(name "rust-gstreamer-sys")
(version "0.18.0")
(source (origin
(method url-fetch)
(uri (crate-uri "gstreamer-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15)
("rust-gobject-sys" ,rust-gobject-sys-0.15)
("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 libgstreamer-1.0")
(description
"Foreign Function Interface (FFI) bindings to libgstreamer-1.0.")
(license license:expat)))
(define-public rust-gtk-0.14
(package
(name "rust-gtk")