diff mbox series

[bug#69257,rust-team,v3,34/75] gnu: Add rust-libshumate-0.4.

Message ID 43dbe53803f5a077f17e9fc9f820d0df40b78272.1714820130.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:35 a.m. UTC
* gnu/packages/crates-gtk.scm (rust-libshumate-0.4): Add variable.

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

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 94fbe4fb2c..fb5dc6040a 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2882,6 +2882,33 @@  (define-public rust-libadwaita-sys-0.5
     (description "FFI bindings for libadwaita.")
     (license license:expat)))
 
+(define-public rust-libshumate-0.4
+  (package
+    (name "rust-libshumate")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libshumate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0b8vxpbanfdxgry772rza202w3kgf3x73rr9fzli1gavyxzx4hxp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18)
+                       ("rust-gdk4" ,rust-gdk4-0.7)
+                       ("rust-gio" ,rust-gio-0.18)
+                       ("rust-glib" ,rust-glib-0.18)
+                       ("rust-gtk4" ,rust-gtk4-0.7)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-libshumate-sys" ,rust-libshumate-sys-0.4))))
+    (native-inputs (list pkg-config))
+    (inputs (list gtk libshumate))
+    (home-page "https://world.pages.gitlab.gnome.org/Rust/libshumate-rs/")
+    (synopsis "Rust bindings for libshumate")
+    (description "This package provides Rust bindings for libshumate.")
+    (license license:expat)))
+
 (define-public rust-libshumate-sys-0.4
   (package
     (name "rust-libshumate-sys")