diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-11-07 23:21:54 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:23 +0200 |
commit | a56d45e3ab5e8dd124256db124b9fecd935807fe (patch) | |
tree | 9b779754bfb146f76939de72c9a8126d558e2af4 /gnu/packages/crates-gtk.scm | |
parent | af10a7ef291a495d34ccd4a01d09fcde5cfc7f70 (diff) | |
download | guix-a56d45e3ab5e8dd124256db124b9fecd935807fe.tar.gz guix-a56d45e3ab5e8dd124256db124b9fecd935807fe.zip |
gnu: Add rust-gstreamer-base-0.21.
* gnu/packages/crates-gtk.scm (rust-gstreamer-base-0.21): New variable.
(rust-gstreamer-base-0.18): Inherit from rust-gstreamer-base-0.21.
Change-Id: Ic1e4b926f51df7f1e40638881b1ee86cb6b7a4de
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index b9da30abe5..64d3ef5cc1 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2967,27 +2967,28 @@ (description "FFI bindings to libgstaudio, part of Gstreamer.") (license license:expat))) -(define-public rust-gstreamer-base-0.18 +(define-public rust-gstreamer-base-0.21 (package (name "rust-gstreamer-base") - (version "0.18.0") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-base" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2")))) + (base32 "0zqnld0w2jqkz1m5xna3a3nnrpvrchpcrrzdgwim54540ilhn5fb")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768 - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + #:cargo-inputs (("rust-atomic-refcell" ,rust-atomic-refcell-0.1) ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-glib" ,rust-glib-0.15) - ("rust-gstreamer" ,rust-gstreamer-0.18) - ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-gstreamer" ,rust-gstreamer-0.21) + ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21) ("rust-libc" ,rust-libc-0.2)) - #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + #: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") @@ -2995,6 +2996,28 @@ (description "Rust bindings for GStreamer Base library.") (license (list license:expat license:asl2.0)))) +(define-public rust-gstreamer-base-0.18 + (package + (inherit rust-gstreamer-base-0.21) + (name "rust-gstreamer-base") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-base" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2")))) + (arguments + `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768 + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-glib" ,rust-glib-0.15) + ("rust-gstreamer" ,rust-gstreamer-0.18) + ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) + (define-public rust-gstreamer-base-sys-0.21 (package (name "rust-gstreamer-base-sys") |