aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-10-27 11:28:51 +0000
committerChristopher Baines <mail@cbaines.net>2020-10-27 11:28:51 +0000
commit401560430bf9c28e9593bed0d18644c65783a025 (patch)
tree7362a93f42ac429a2fa6805f22d8ab153c98820e
parentc76a9be32e48c291a0ecf6737ba2ffb4343bc7b4 (diff)
downloadguix-401560430bf9c28e9593bed0d18644c65783a025.tar
guix-401560430bf9c28e9593bed0d18644c65783a025.tar.gz
gnu: Add rust-gstreamer-player-sys.
* gnu/packages/crates-io.scm (rust-gstreamer-player-sys): New variable.
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0d64f59bdd..bef1340d9d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34450,3 +34450,34 @@ division with overflow protection
(description
"Rust bindings for GStreamer Base Utils library")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-gstreamer-player-sys
+ (package
+ (name "rust-gstreamer-player-sys")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-player-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1idibbbjd5pfqdgz1qv0n1c6gsfhp2h7vnxqp4qpz5y8jqz8sq63"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.9)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys)
+ ("rust-gstreamer-video-sys"
+ ,rust-gstreamer-video-sys)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-system-deps" ,rust-system-deps)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstplayer-1.0")
+ (description "FFI bindings to libgstplayer-1.0")
+ (license license:expat)))