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

commit cf136b259ee57116a3f108b0f6d18888e6419bd2
Author: Giacomo Leidi <[email protected]>
AuthorDate: Thu Nov 7 23:21:46 2024 +0100

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

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index f14d9ca144..d2c7d12fcd 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -4093,6 +4093,32 @@ library.")
        (("rust-shell-words" ,rust-shell-words-1)
         ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-search-provider-0.8
+  (package
+    (name "rust-search-provider")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "search-provider" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1a683ndxh99sin4lr919wc8aakzgjiqlic1xglf4qs6gfpvs2prq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.19)
+                       ("rust-gdk4" ,rust-gdk4-0.8)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-zbus" ,rust-zbus-4))))
+    (home-page "https://gitlab.gnome.org/World/Rust/search-provider";)
+    (synopsis "Rust wrapper around the GNOME Shell search provider API")
+    (description
+     "This package provides a Rust wrapper around the GNOME Shell search
+provider API.")
+    (license license:gpl3+)))
+
 (define-public rust-soup-sys-0.10
   (package
     (name "rust-soup-sys")

Reply via email to