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

commit 316ebb3ec1b4bfb858f4b5d92645c895e78490c4
Author: Giacomo Leidi <[email protected]>
AuthorDate: Thu Nov 7 23:22:25 2024 +0100

    gnu: Add rust-aperture-0.3.
    
    * gnu/packages/crates-gtk.scm (rust-aperture-0.3): New variable.
    
    Change-Id: I76c917be679fbb9b3e28b19bbf8cc1b6034211d7
    Signed-off-by: Efraim Flashner <[email protected]>
---
 gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 116ca40817..2551ba4a42 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -43,6 +43,35 @@
 ;;; Please: Try to add new module packages in alphabetic order.
 ;;;
 
+(define-public rust-aperture-0.3
+  (package
+    (name "rust-aperture")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aperture" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02bjzskxp91br91yvf5f32wakp1i9948sxbsy9hdrxs52w38hr61"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs (list rust-gst-plugin-gtk4-0.11
+                                rust-gstreamer-0.21
+                                rust-gstreamer-pbutils-0.21
+                                rust-gstreamer-video-0.21
+                                rust-gtk4-0.7
+                                rust-log-0.4
+                                rust-pkg-config-0.3)))
+    (native-inputs (list pkg-config))
+    (inputs (list gdk-pixbuf glib graphene gstreamer gst-plugins-base
+                  gst-plugins-bad gtk pango))
+    (home-page "https://gitlab.gnome.org/GNOME/snapshot";)
+    (synopsis "GTK Widget for cameras using gstreamer and pipewire")
+    (description
+     "This package provides GTK Widget for cameras using gstreamer and 
pipewire.")
+    (license license:gpl3+)))
+
 (define-public rust-atk-sys-0.18
   (package
     (name "rust-atk-sys")

Reply via email to