guix-commits
[Top][All Lists]
Advanced

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

03/14: gnu: Add rust-gstreamer-allocators-sys-0.21.


From: guix-commits
Subject: 03/14: gnu: Add rust-gstreamer-allocators-sys-0.21.
Date: Fri, 20 Dec 2024 09:06:08 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 22aaad00873febb7b20f993269300a0e1eef1533
Author: Giacomo Leidi <goodoldpaul@autistici.org>
AuthorDate: Thu Nov 7 23:22:13 2024 +0100

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

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index c24029cb9c..dbb265915c 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3069,6 +3069,36 @@
               ("rust-ron" ,rust-ron-0.7)
               ("rust-serde-json" ,rust-serde-json-1))))))
 
+(define-public rust-gstreamer-allocators-sys-0.21
+  (package
+    (name "rust-gstreamer-allocators-sys")
+    (version "0.21.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gstreamer-allocators-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1brps4xpzigavifcwr6hs6368nilc4l03ivnv13fxb2svdw885f1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--"
+                            "--skip=cross_validate_constants_with_c"
+                            "--skip=cross_validate_layout_with_c")
+       #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+                       ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+                       ("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 gst-plugins-base))
+    (home-page "https://gstreamer.freedesktop.org";)
+    (synopsis "FFI bindings to libgstallocators-1.0")
+    (description "This package provides FFI bindings to libgstallocators-1.0.")
+    (license license:expat)))
+
 (define-public rust-gstreamer-app-0.18
   (package
     (name "rust-gstreamer-app")



reply via email to

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