diff options
author | Christopher Baines <mail@cbaines.net> | 2020-10-27 11:28:08 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-10-27 11:28:08 +0000 |
commit | 88294b129f698737dc411c37a490f0f54feb0c01 (patch) | |
tree | 0365d0aeb13106b5d8112fade57980153ffd846c | |
parent | 82969b4c113e9dacb4cb331d603f28a20255bcff (diff) | |
download | guix-88294b129f698737dc411c37a490f0f54feb0c01.tar guix-88294b129f698737dc411c37a490f0f54feb0c01.tar.gz |
gnu: Add rust-gstreamer.
* gnu/packages/crates-io.scm (rust-gstreamer): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7b0704727d..ce4ce4d9d0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34138,3 +34138,50 @@ division with overflow protection (description "LGPL-licensed docs for gstreamer-rs crates") (license license:lgpl2.0))) + +(define-public rust-gstreamer + (package + (name "rust-gstreamer") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04vnpfpgkddr126498b71p08j3x8k5j4dszkj48zbmiblch5iwiy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-glib" ,rust-glib-0.8) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer-sys" ,rust-gstreamer-sys) + ("rust-libc" ,rust-libc-0.2) + ("rust-muldiv" ,rust-muldiv) + ("rust-num-rational" ,rust-num-rational-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-paste" ,rust-paste-0.1) + ("rust-pretty-hex" ,rust-pretty-hex) + ("rust-serde" ,rust-serde-1) + ("rust-serde-pickle" ,rust-serde-pickle) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-gstreamer-rs-lgpl-docs" + ,rust-gstreamer-rs-lgpl-docs) + ("rust-ron" ,rust-ron-0.5) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer") + (description "Rust bindings for GStreamer") + (license (list license:expat license:asl2.0)))) |