guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32/66: gnu: Add rust-gstreamer-0.18.


From: guix-commits
Subject: 32/66: gnu: Add rust-gstreamer-0.18.
Date: Tue, 24 Oct 2023 07:54:57 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f15bfd49e68001f450a0198140dc422e15e2e4e5
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:21:14 2023 +0100

    gnu: Add rust-gstreamer-0.18.
    
    * gnu/packages/crates-gtk.scm (rust-gstreamer-0.18): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I55a2acaa97d5bc74c3adf48bfafb96b9d67d20c0
---
 gnu/packages/crates-gtk.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 90e8c1a6b7..7911e9c167 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1711,6 +1711,50 @@
        (("rust-shell-words" ,rust-shell-words-0.1)
         ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-gstreamer-0.18
+  (package
+    (name "rust-gstreamer")
+    (version "0.18.8")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "gstreamer" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0mjlnw9917j3wwij8225bjp54k7408lxqjjnh6r6wksyryx66qyn"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #: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-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.15)
+                            ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-muldiv" ,rust-muldiv-1)
+                            ("rust-num-integer" ,rust-num-integer-0.1)
+                            ("rust-num-rational" ,rust-num-rational-0.4)
+                            ("rust-once-cell" ,rust-once-cell-1)
+                            ("rust-option-operations" 
,rust-option-operations-0.4)
+                            ("rust-paste" ,rust-paste-1)
+                            ("rust-pretty-hex" ,rust-pretty-hex-0.3)
+                            ("rust-serde" ,rust-serde-1)
+                            ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+                            ("rust-thiserror" ,rust-thiserror-1))
+           #:cargo-development-inputs
+            `(("rust-futures-executor" ,rust-futures-executor-0.3)
+              ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+              ("rust-ron" ,rust-ron-0.7)
+              ("rust-serde-json" ,rust-serde-json-1))))
+    (native-inputs (list pkg-config))
+    (inputs (list glib gstreamer))
+    (home-page "https://gstreamer.freedesktop.org";)
+    (synopsis "Rust bindings for GStreamer")
+    (description "Rust bindings for GStreamer.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gstreamer-sys-0.18
   (package
     (name "rust-gstreamer-sys")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]