diff mbox series

[bug#74234,PATCHv2,rust-team,10/20] gnu: Add rust-search-provider-0.6.

Message ID 3f60b289ff9f067fb4f3246776feb43fb7f76f06.1731018436.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74234,PATCHv2,rust-team,01/20] gnu: Add rust-ashpd-0.6. | expand

Commit Message

Giacomo Leidi Nov. 7, 2024, 10:27 p.m. UTC
* gnu/packages/crates-gtk.scm (rust-search-provider-0.6): New variable.

Change-Id: Ic28d6ea2ee17b7a0b935ed4394f92b332f1ce8ec
---
 gnu/packages/crates-gtk.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index fd45be08b8..c66288351e 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -5099,6 +5099,26 @@  (define-public rust-search-provider-0.8
      "This package provides Rust wrapper around the GNOME Shell search provider API.")
     (license license:gpl3+)))
 
+(define-public rust-search-provider-0.6
+  (package
+    (inherit rust-search-provider-0.8)
+    (name "rust-search-provider")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "search-provider" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01jby7xq0dd9rafw5kgskpbxgppn4imzm71w1sdj8iy9ci4ghh9z"))))
+    (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.18)
+                       ("rust-gdk4" ,rust-gdk4-0.7)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-zbus" ,rust-zbus-3))))))
+
 (define-public rust-soup-sys-0.10
   (package
     (name "rust-soup-sys")